.elementor-107 .elementor-element.elementor-element-712cce1{--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;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--padding-top:7%;--padding-bottom:7%;--padding-left:7%;--padding-right:7%;}.elementor-107 .elementor-element.elementor-element-712cce1:not(.elementor-motion-effects-element-type-background), .elementor-107 .elementor-element.elementor-element-712cce1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-primary );}/* Start custom CSS *//* WooCommerce My Account Page Styling - Premium Dark Glassmorphism Theme */

/* Color Palette:
   Primary Accent: #FF0000 (Bright Red)
   Background: #000000 (Black)
   Text: #FFFFFF (White)
   Glass: rgba(255, 255, 255, 0.05) + Blur
*/
fieldset {
    border: none !important;
}

.empty-table {
    margin: 5px !important;
}

.woocommerce-info::before {
    display: none !important;
}

.woocommerce-message::before {
    display: none !important;
}

.woocommerce-message {
    border-top: none !important;
}

.woocommerce-info {
    border-top-color: #FFFFFF00 !important;
}

/* General Layout */
.woocommerce {
    display: flex;
    gap: 30px;
    background-color: #000000;
    font-family: "Poppins", sans-serif;
    color: #FFFFFF;
}

.yith-wcaf.yith-wcaf-link-generator.woocommerce {
    flex-direction: column !important;
}

/* Sidebar Menu */
.woocommerce-MyAccount-navigation {
    width: 25% !important;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(255, 0, 0, 0.1);
    padding: 20px 0;
    position: sticky;
    top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #FF0000;
    margin-right: 0 !important;
    height: fit-content;
}

/* Remove default list bullets and margins */
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* User Profile Section (if present inside nav) */
.woocommerce-MyAccount-navigation .user-profile {
    text-align: center;
    padding: 0 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background-color: transparent;
    overflow: hidden !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
}

.user-avatar img {
    border-radius: 50%;
    border: 3px solid #FF0000;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.user-avatar img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.4);
}

.user-info {
    margin-top: 15px;
}

.user-info .username {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #FFFFFF;
}

.user-info .user-email {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

.user-info .logout a {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #FF0000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-info .logout a:hover {
    color: #FFFFFF;
}

/* Menu Items */
.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li:last-child {
    border-bottom: none;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    padding: 15px 25px !important;
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: rgba(255, 0, 0, 0.1);
    color: #FFFFFF;
    border-left-color: #FF0000;
    padding-left: 30px !important;
    /* Subtle slide effect */
}

.woocommerce-MyAccount-navigation ul li.is-active a {
    background-color: #FF0000 !important;
    color: #FFFFFF !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
    border-left-color: #FF0000;
}

/* Main Content Area */
.woocommerce-MyAccount-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #FF0000;
}

/* Affiliate Dashboard Navigation */
.yith-wcaf-dashboard-navigation {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.yith-wcaf-dashboard-navigation-item a {
    color: #FFFFFF;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.yith-wcaf-dashboard-navigation-item.is-active a,
.yith-wcaf-dashboard-navigation-item a:hover {
    background-color: #FF0000;
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
}

/* Buttons and Links */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #place_order,
.woocommerce .woocommerce-Button--alt {
    background-color: #FF0000 !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 6px;
    padding: 14px 30px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
    cursor: pointer;
    line-height: 1.5;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce #place_order:hover,
.woocommerce .woocommerce-Button--alt:hover {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* Notices and Highlights */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-left: 4px solid #FF0000;
    background-color: rgba(255, 0, 0, 0.05);
    color: #FFFFFF;
    padding: 15px 20px;
    border-radius: 5px;
}

/* Subtle Accent Use */
a,
.woocommerce a {
    color: #FFFFFF;
    transition: color 0.3s ease;
}

a:hover,
.woocommerce a:hover {
    color: #FF0000;
}

/* --- General Responsive Design --- */
@media (max-width: 992px) {
    .woocommerce {
        flex-direction: column;
    }

    .woocommerce-MyAccount-navigation {
        width: 100% !important;
        position: relative;
        margin-bottom: 30px;
    }

    .woocommerce-MyAccount-content {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .woocommerce {
        padding: 20px;
        gap: 15px;
    }

    .woocommerce-MyAccount-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .woocommerce {
        padding: 10px;
    }

    .woocommerce-MyAccount-content {
        padding: 15px;
    }

    .user-profile {
        padding-bottom: 15px !important;
    }

    .user-info .username {
        font-size: 16px;
    }
}

/* Affiliate Dashboard Styling - Black & Red Theme */

/* Color Palette:
   Main: #FF0000 (Bright Red)
   Background: #000000 (Black)
   Text: #FFFFFF (White)
*/

.yith-wcaf.yith-wcaf-dashboard.woocommerce {
    flex-direction: column !important;
    padding: 0 !important;
}

/* Dashboard Container */
.yith-wcaf-dashboard {
    background-color: transparent;
    border-radius: 10px;
    color: #FFFFFF;
}

/* Navigation Bar */
.yith-wcaf-dashboard-navigation {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    background-color: transparent;
    border: none !important;
    border-radius: 8px;
    padding: 10px 0;
    margin-bottom: 30px;
}

.yith-wcaf-dashboard ul.yith-wcaf-dashboard-navigation:after {
    border: none !important;
}

.yith-wcaf-dashboard-navigation-item {
    list-style: none;
}

.yith-wcaf-dashboard-navigation-item:hover {
    border: none !important;
}

.yith-wcaf-dashboard-navigation-item a {
    display: block;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.yith-wcaf-dashboard-navigation-item a:hover {
    background-color: #FF0000;
    color: #FFFFFF !important;
    border: 1px solid #FF0000 !important;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
    transform: translateY(-2px);
}

.yith-wcaf-dashboard-navigation-item.is-active {
    border: none !important;
}

.yith-wcaf-dashboard-navigation-item.is-active a {
    background-color: #FF0000 !important;
    color: #FFFFFF !important;
    border: 1px solid #FF0000 !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

/* Affiliate Stats Section */
.affiliate-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px !important;
    margin-bottom: 40px;
}

.stat-box {
    flex: 1;
    min-width: 250px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
    border-color: rgba(255, 0, 0, 0.3);
}

.stat-item {
    margin-bottom: 15px;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: nowrap !important;
}

.stat-item.large {
    font-size: 16px;
    flex-direction: column !important;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #FFFFFF !important;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
}

.stat-value .woocommerce-Price-amount {
    color: #FF0000;
}

/* Dashboard Title */
.dashboard-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    border-left: 4px solid #FF0000;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Table Styling */
.yith-wcaf-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.yith-wcaf-table th {
    background-color: rgba(255, 0, 0, 0.9);
    color: #FFFFFF;
    text-align: left;
    padding: 15px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.yith-wcaf-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.yith-wcaf-table tr:last-child td {
    border-bottom: none;
}

.yith-wcaf-table tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.02);
}

.yith-wcaf-table tr:hover td {
    background-color: rgba(255, 0, 0, 0.15);
    color: #FFFFFF;
}

.yith-wcaf-table .empty-table td {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 25px;
}

/* Table Top Bar */
.yith-wcaf-table-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

/* --- Affiliate Responsive Design --- */
@media (max-width: 992px) {
    .affiliate-stats {
        flex-direction: column;
    }

    .yith-wcaf-dashboard-navigation {
        flex-direction: column;
    }

    .yith-wcaf-dashboard-navigation-item a {
        text-align: center;
    }
}

@media (max-width: 768px) {

    /* Make tables scrollable on mobile */
    .yith-wcaf-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .yith-wcaf-table th,
    .yith-wcaf-table td {
        white-space: nowrap;
        padding: 10px;
    }

    /* Ensure stats look good */
    .stat-box {
        min-width: 100%;
    }

    #yith_wcaf_dashboard_commissions_table tbody {
        width: 100% !important;
    }
}

@media (max-width: 480px) {

    /* Stack stat item contents */
    .stat-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }

    .stat-label {
        font-size: 13px;
    }

    .stat-value {
        font-size: 16px;
    }

    /* Full width buttons */
    .yith-wcaf-dashboard-navigation-item a {
        padding: 12px;
    }
}/* End custom CSS */