.elementor-635 .elementor-element.elementor-element-95c6cf2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-635 .elementor-element.elementor-element-f7e75b5{--display:flex;}.elementor-635 .elementor-element.elementor-element-53e2db6{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-635 .elementor-element.elementor-element-dae7482{--display:flex;}.elementor-635 .elementor-element.elementor-element-8997843{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-635 .elementor-element.elementor-element-68f64a0{--display:flex;}.elementor-635 .elementor-element.elementor-element-7d81dbd{--display:flex;}.elementor-635 .elementor-element.elementor-element-9cd3479{--n-tabs-direction:column;--n-tabs-heading-direction:row;--n-tabs-heading-width:initial;--n-tabs-title-flex-basis:content;--n-tabs-title-flex-shrink:0;--n-tabs-heading-justify-content:center;--n-tabs-title-width:initial;--n-tabs-title-height:initial;--n-tabs-title-align-items:center;--n-tabs-title-flex-grow:0;--n-tabs-heading-wrap:wrap;--n-tabs-heading-overflow-x:initial;--n-tabs-title-white-space:initial;--n-tabs-title-border-radius:7px 7px 7px 7px;--n-tabs-title-padding-top:10px;--n-tabs-title-padding-right:14px;--n-tabs-title-padding-bottom:10px;--n-tabs-title-padding-left:14px;}.elementor-635 .elementor-element.elementor-element-9cd3479.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs[data-touch-mode='false'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:#0EA5E9;}.elementor-635 .elementor-element.elementor-element-9cd3479.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs > .e-n-tabs-heading > .e-n-tab-title[aria-selected="true"], .elementor-635 .elementor-element.elementor-element-9cd3479.elementor-widget-n-tabs > .elementor-widget-container > .e-n-tabs[data-touch-mode='true'] > .e-n-tabs-heading > .e-n-tab-title[aria-selected="false"]:hover{background:#0EA5E9;}/* Start custom CSS for nested-tabs, class: .elementor-element-9cd3479 *//* --- Global Variables (Highly Recommended for Theming) --- */
:root {
    --primary-color: #0ea5e9; /* Sky Blue - A modern, friendly blue */
    --secondary-color: #0c5460; /* Dark Teal - For headings/strong text */
    --text-dark: #333;
    --text-muted: #666;
    --background-light: #f8fafd; /* Very light subtle background */
    --border-color: #e0e7ee; /* Soft grey blue border */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --box-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.03);
    --box-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* --- Referral Statistics Section Styling --- */

/* The main container for referral stats content */
.elementor-shortcode > div[style*="border: 1px solid #d1ecf1;"] {
    padding: 25px !important; /* Override inline padding */
    border-radius: var(--border-radius-md) !important; /* Consistent radius */
    box-shadow: var(--box-shadow-md) !important; /* More pronounced shadow */
    background-color: var(--background-light) !important; /* Consistent background */
    border: none !important; /* Remove individual border if box-shadow is enough */
}

.elementor-shortcode h3 {
    font-size: 1.8em !important; /* Larger heading */
    color: var(--secondary-color) !important;
    text-align: center !important;
    margin-bottom: 25px !important;
    letter-spacing: -0.02em; /* Slightly tighter text */
}

/* Referral Stats List */
.referral-stats {
    list-style-type: none;
    padding: 0;
    margin-top: 0; /* Adjust margin if needed */
    display: flex;
    flex-direction: column;
    gap: 15px; /* More space between stat items */
    margin-bottom: 30px; /* Space before referral link box */
}

.referral-stats li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px; /* More padding for a premium feel */
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-sm);
    transition: all 0.2s ease-in-out;
}

.referral-stats li:hover {
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* More noticeable shadow on hover */
}

.stat-label {
    font-weight: 500; /* Slightly less bold than value */
    color: var(--text-dark);
    font-size: 1.05em;
    flex-grow: 1;
    margin-right: 15px; /* Space between label and value */
}

.stat-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5em; /* Larger value for emphasis */
    min-width: 60px; /* Ensure values align consistently */
    text-align: right;
    font-family: 'Roboto Mono', monospace; /* Monospaced font for numbers */
}

/* Referral Info Box */
.referral-info-box {
    background-color: #f0f8ff; /* Light blue background for this section */
    border: 1px solid #b0e0e6; /* Slightly darker blue border */
    padding: 20px;
    border-radius: var(--border-radius-md);
    text-align: center;
}

.referral-info-box h4 {
    color: var(--secondary-color) !important;
    margin-bottom: 15px !important;
    font-size: 1.4em !important;
}

.referral-link-container {
    display: flex;
    gap: 10px; /* Space between input and button */
    margin-bottom: 15px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
}

.referral-link-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 0.95em;
    color: var(--text-dark);
    background-color: #ffffff;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    max-width: 100%; /* Ensure it doesn't overflow */
}

.referral-link-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2); /* Focus ring */
}

.copy-link-button {
    background-color: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0; /* Prevent button from shrinking */
}

.copy-link-button:hover {
    background-color: #0d8dc2; /* Slightly darker blue on hover */
    transform: translateY(-1px); /* Subtle press effect */
}

.copy-link-button:active {
    transform: translateY(0); /* Reset on click */
}

.referral-points-info {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-top: 15px;
    line-height: 1.5;
}

.referral-points-info strong {
    color: var(--primary-color); /* Highlight numbers within the text */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .elementor-shortcode > div[style*="border: 1px solid #d1ecf1;"] {
        padding: 20px !important;
    }

    .elementor-shortcode h3 {
        font-size: 1.5em !important;
        margin-bottom: 20px !important;
    }

    .referral-stats li {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 15px;
        gap: 5px; /* Smaller gap when stacked */
    }

    .stat-label {
        font-size: 1em;
        margin-right: 0;
    }

    .stat-value {
        text-align: left;
        font-size: 1.3em;
        width: 100%; /* Take full width below label */
    }

    .referral-link-container {
        flex-direction: column; /* Stack input and button vertically */
        align-items: stretch; /* Stretch items to full width */
        gap: 15px;
    }

    .copy-link-button {
        width: 100%; /* Make button full width */
    }
}

/* Optional: General clean-up for shortcode wrappers */
.elementor-shortcode > div {
    /* Ensures any direct shortcode wrapper divs get consistent box-sizing */
    box-sizing: border-box;
}

/* --- Common Card Styling (for Balance & Package) --- */
.info-card {
    background-color: var(--background-light); /* Consistent light background */
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    padding: 30px; /* Generous padding */
    text-align: center; /* Center content for these cards */
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    gap: 15px; /* Space between elements */
    transition: all 0.2s ease-in-out;
}

.info-card:hover {
    transform: translateY(-3px); /* Subtle lift on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
}

.card-heading {
    font-size: 1.8em !important; /* Consistent with referral heading */
    color: var(--secondary-color) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important; /* Managed by gap */
    letter-spacing: -0.02em;
}

/* --- My Balance Specific Styling --- */
.balance-value {
    font-size: 3.5em; /* Very large for immediate impact */
    font-weight: 700;
    color: var(--primary-color);
    margin: 0; /* Remove default paragraph margins */
    line-height: 1; /* Tighten line height */
    font-family: 'Roboto Mono', monospace; /* Monospaced for numbers */
}

.balance-subtext {
    font-size: 1em;
    color: var(--text-muted);
    margin: 0;
}

/* --- Package Specific Styling --- */
.package-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.package-name {
    font-size: 2.5em; /* Large and prominent */
    font-weight: 700;
    color: var(--primary-color); /* Highlight package name */
    line-height: 1;
    margin-top: 5px; /* Small space from heading */
    font-family: 'Roboto Mono', monospace; /* Monospaced for names (optional, depends on rank names) */
}

.package-description {
    font-size: 1em;
    color: var(--text-muted);
    margin: 0;
    max-width: 300px; /* Prevent description from getting too wide */
}

/* --- Responsive Adjustments for Balance & Package --- */
@media (max-width: 768px) {
    .info-card {
        padding: 20px;
    }

    .card-heading {
        font-size: 1.5em !important;
    }

    .balance-value {
        font-size: 2.8em;
    }

    .package-name {
        font-size: 2em;
    }
}

/* --- Common Card Styling (Existing, but including here for reference) --- */
.info-card {
    background-color: var(--background-light); /* Consistent light background */
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow-md);
    padding: 30px; /* Generous padding */
    text-align: center; /* Center content for these cards by default */
    display: flex; /* Use flexbox for internal layout */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    gap: 15px; /* Space between elements */
    transition: all 0.2s ease-in-out;
}

.info-card:hover {
    transform: translateY(-3px); /* Subtle lift on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
}

.card-heading {
    font-size: 1.8em !important; /* Consistent with referral heading */
    color: var(--secondary-color) !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important; /* Managed by gap */
    letter-spacing: -0.02em;
}

/* --- Recent Activity Specific Styling --- */
.activity-card {
    text-align: left; /* Override center alignment for activity card */
    align-items: stretch; /* Stretch items to full width */
}

.activity-history-wrapper {
    width: 100%; /* Ensure wrapper takes full width of card */
    max-height: 350px; /* Max height for scrollable area */
    overflow-y: auto; /* Enable scrolling for long lists */
    border: 1px solid var(--border-color); /* Soft border around the table */
    border-radius: var(--border-radius-sm); /* Slightly less rounded than card */
    background-color: #ffffff; /* White background for table area */
    padding: 10px; /* Internal padding for table content */
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05); /* Subtle inner shadow */
}

/* Styling for the myCRED table elements within the shortcode output */
.mycred-history-wrapper .table { /* Target the table if it comes with this class */
    width: 100%;
    border-collapse: collapse; /* Remove space between table cells */
    margin-bottom: 0; /* Remove default table margin */
    font-size: 0.9em;
}

.mycred-history-wrapper .table thead th {
    background-color: var(--table-header-bg); /* Light blue header */
    color: var(--secondary-color);
    padding: 12px 15px;
    text-align: left;
    border-bottom: 2px solid var(--table-border); /* Stronger border below header */
    font-weight: 600;
}

.mycred-history-wrapper .table tbody tr {
    border-bottom: 1px solid var(--table-border); /* Light border between rows */
}

.mycred-history-wrapper .table tbody tr:last-child {
    border-bottom: none; /* No border for the last row */
}

.mycred-history-wrapper .table tbody tr:nth-child(even) {
    background-color: #fcfdff; /* Very subtle zebra striping */
}

.mycred-history-wrapper .table tbody td {
    padding: 10px 15px;
    color: var(--text-dark);
    vertical-align: middle; /* Align content nicely */
}

.mycred-history-wrapper .table tbody td.column-creds {
    font-weight: 600;
    color: var(--primary-color); /* Highlight points value */
    font-size: 1.1em;
    font-family: 'Roboto Mono', monospace;
    text-align: right; /* Align points to the right */
    min-width: 60px;
}

/* Responsive adjustments for the table */
@media (max-width: 600px) {
    .mycred-history-wrapper {
        padding: 5px;
        overflow-x: auto; /* Allow horizontal scrolling for table */
    }

    .mycred-history-wrapper .table {
        min-width: 450px; /* Ensure table doesn't get too narrow */
    }

    .mycred-history-wrapper .table thead th,
    .mycred-history-wrapper .table tbody td {
        padding: 8px 10px;
        font-size: 0.85em;
    }
}

.activity-note {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-top: 15px; /* Space from the table */
    text-align: center;
}/* End custom CSS */