.elementor-11 .elementor-element.elementor-element-dca8f8d{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:center;--overflow:hidden;--overlay-opacity:0.8;--padding-top:5em;--padding-bottom:5em;--padding-left:1em;--padding-right:1em;}.elementor-11 .elementor-element.elementor-element-dca8f8d:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-dca8f8d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://thedtctools.com/wp-content/uploads/2025/12/investment-stockbroker-stock-trading.jpg");background-position:0px 40%;background-repeat:no-repeat;background-size:cover;}.elementor-11 .elementor-element.elementor-element-dca8f8d::before, .elementor-11 .elementor-element.elementor-element-dca8f8d > .elementor-background-video-container::before, .elementor-11 .elementor-element.elementor-element-dca8f8d > .e-con-inner > .elementor-background-video-container::before, .elementor-11 .elementor-element.elementor-element-dca8f8d > .elementor-background-slideshow::before, .elementor-11 .elementor-element.elementor-element-dca8f8d > .e-con-inner > .elementor-background-slideshow::before, .elementor-11 .elementor-element.elementor-element-dca8f8d > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(120deg, var( --e-global-color-text ) 0%, #7E8C9C78 100%);}.elementor-11 .elementor-element.elementor-element-b4b6cbe{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-aa57b38{text-align:start;}.elementor-11 .elementor-element.elementor-element-aa57b38 .elementor-heading-title{font-family:"Oxygen", Sans-serif;font-size:65px;font-weight:bold;text-transform:capitalize;line-height:90px;color:var( --e-global-color-a291686 );}.elementor-11 .elementor-element.elementor-element-6862dae{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-cfad16f{--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:32px 32px;--row-gap:32px;--column-gap:32px;--padding-top:64px;--padding-bottom:96px;--padding-left:0px;--padding-right:0px;}.elementor-11 .elementor-element.elementor-element-cfad16f:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-cfad16f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-518acf9 );}.elementor-11 .elementor-element.elementor-element-8a0bc68{--tabs-normal-color:#0C243C;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}@media(max-width:1024px){.elementor-11 .elementor-element.elementor-element-dca8f8d:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-dca8f8d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:0px 40%;}.elementor-11 .elementor-element.elementor-element-dca8f8d{--padding-top:4em;--padding-bottom:4em;--padding-left:2em;--padding-right:2em;}.elementor-11 .elementor-element.elementor-element-aa57b38 .elementor-heading-title{font-size:43px;}.elementor-11 .elementor-element.elementor-element-cfad16f{--padding-top:64px;--padding-bottom:64px;--padding-left:24px;--padding-right:24px;}}@media(max-width:767px){.elementor-11 .elementor-element.elementor-element-dca8f8d:not(.elementor-motion-effects-element-type-background), .elementor-11 .elementor-element.elementor-element-dca8f8d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:center center;}.elementor-11 .elementor-element.elementor-element-dca8f8d{--padding-top:4em;--padding-bottom:4em;--padding-left:1em;--padding-right:1em;}.elementor-11 .elementor-element.elementor-element-aa57b38 .elementor-heading-title{font-size:33px;}.elementor-11 .elementor-element.elementor-element-cfad16f{--padding-top:64px;--padding-bottom:64px;--padding-left:16px;--padding-right:16px;}}@media(min-width:768px){.elementor-11 .elementor-element.elementor-element-b4b6cbe{--width:100%;}.elementor-11 .elementor-element.elementor-element-6862dae{--width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-11 .elementor-element.elementor-element-b4b6cbe{--width:100%;}.elementor-11 .elementor-element.elementor-element-6862dae{--width:0px;}}/* Start custom CSS *//* WooCommerce My Account Page Styling - Dark Blue Focus */

/* Color Palette:
   Primary Accent: #0C243C (Dark Blue)
   Secondary Accent: #55C2C3 (Teal)
   Least Used: #A93D2F (Subtle Highlight)
   Backgrounds: #FCFCFC, #FBFBF9, #FDFEFD
*/
.woocommerce-MyAccount-content{
    padding: 30px !important;
}
.woocommerce-MyAccount-content-wrapper{
    border:none !important;
}
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;
    padding: 40px;
    background-color: #FBFBF9;
    font-family: "Poppins", sans-serif;
    color: #0C243C;
}

.yith-wcaf.yith-wcaf-link-generator.woocommerce {
    flex-direction: column !important;
}

/* Sidebar Menu */
#my-account-menu {
    width: 20% !important;
    background: #FCFCFC;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px 0;
    position: sticky;
    top: 20px;
    border-top: 4px solid #55C2C3;
    margin-right: 0 !important;
}

/* User Profile Section */
#my-account-menu .user-profile {
    text-align: center;
    padding: 0 20px 25px;
    border-bottom: 1px solid #eee;
    background-color: #FDFEFD;
    overflow: hidden !important;
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
}

.user-avatar img {
    border-radius: 50%;
    border: 3px solid #0C243C;
    transition: transform 0.3s ease;
}

.user-avatar img:hover {
    transform: scale(1.05);
}

.user-info {
    margin-top: 15px;
}

.user-info .username {
    display: block;
    font-weight: 600;
    font-size: 18px;
    color: #0C243C;
}

.user-info .user-email {
    display: block;
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}

.user-info .logout a {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #A93D2F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-info .logout a:hover {
    color: #0C243C;
}

/* Menu Items */
.myaccount-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.myaccount-menu li {
    border-bottom: 1px solid #f0f0f0;
}

.myaccount-menu li:last-child {
    border-bottom: none;
}

.myaccount-menu a {
    display: flex;
    align-items: center;
    padding: 14px 20px !important;
    color: #0C243C;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #FCFCFC;
}

.myaccount-menu a:hover {
    background-color: #FDFEFD;
    color: #0C243C;
    border-left: 4px solid #0C243C;
}

.myaccount-menu li.active a {
    background-color: #0C243C !important;
    color: #55C2C3 !important;
    font-weight: 600;
}

/* Main Content Area */
.woocommerce-MyAccount-content {
    flex: 1;
    background: #FCFCFC;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #55C2C3;
}

/* Affiliate Dashboard Navigation */
.yith-wcaf-dashboard-navigation {
    display: flex;
    gap: 15px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.yith-wcaf-dashboard-navigation-item a {
    color: #0C243C;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.yith-wcaf-dashboard-navigation-item.is-active a,
.yith-wcaf-dashboard-navigation-item a:hover {
    background-color: #0C243C;
    color: #55C2C3;
}

/* Buttons and Links */
.woocommerce a.button,
.woocommerce button.button {
    background-color: #0C243C;
    color: #55C2C3;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background-color: #55C2C3;
    color: #0C243C;
}

/* Notices and Highlights */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
    border-left: 4px solid #0C243C;
    background-color: #FDFEFD;
    color: #0C243C;
    padding: 15px 20px;
    border-radius: 5px;
}

/* Subtle Accent Use */
a,
.woocommerce a {
    color: #0C243C;
    transition: color 0.3s ease;
}

a:hover,
.woocommerce a:hover {
    color: #A93D2F;
}

/* --- General Responsive Design --- */
@media (max-width: 992px) {
    .woocommerce {
        flex-direction: column;
    }

    #my-account-menu {
        width: 100% !important;
        position: relative;
    }

    .woocommerce-MyAccount-content {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .woocommerce {
        padding: 20px;
        gap: 15px;
    }

    .woocommerce-MyAccount-content {
        padding: 30px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce {
        padding: 10px;
    }

    .woocommerce-MyAccount-content {
        padding: 20px !important;
    }

    .user-profile {
        padding-bottom: 15px !important;
    }

    .user-info .username {
        font-size: 16px;
    }
}


/* Affiliate Dashboard Styling - Brand Consistent */

/* Color Palette:
   Main: #0C243C (Dark Blue)
   Secondary: #55C2C3 (Teal)
   Least Used: #A93D2F (Accent Red)
   Backgrounds: #FCFCFC, #FBFBF9, #FDFEFD
*/

.yith-wcaf.yith-wcaf-dashboard.woocommerce {
    flex-direction: column !important;
    padding: 0 !important;
}

/* Dashboard Container */
.yith-wcaf-dashboard {
    background-color: #FCFCFC;
    border-radius: 10px;
    color: #0C243C;
}

/* Navigation Bar */
.yith-wcaf-dashboard-navigation {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    background-color: #FDFEFD;
    border: none !important;
    border-radius: 8px;
    padding: 10px 15px;
    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: 10px 18px;
    border-radius: 6px;
    font-weight: 500;
    color: #0C243C;
    text-decoration: none;
    background-color: #FCFCFC;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.yith-wcaf-dashboard-navigation-item a:hover {
    background-color: #55C2C3;
    color: #0C243C !important;
    border: none !important;
}

.yith-wcaf-dashboard-navigation-item.is-active {
    border: none !important;
}

.yith-wcaf-dashboard-navigation-item.is-active a {
    background-color: #0C243C !important;
    color: #55C2C3 !important;
    border: none !important;
    font-weight: 600;
}

/* 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: #FDFEFD;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.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: #0C243C !important;
    opacity: 0.8;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 18px;
    font-weight: 600;
    color: #0C243C;
}

.stat-value .woocommerce-Price-amount {
    color: #0C243C;
}

/* Dashboard Title */
.dashboard-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0C243C;
    border-left: 4px solid #55C2C3;
    padding-left: 10px;
    margin-bottom: 20px;
}

/* Table Styling */
.yith-wcaf-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #FCFCFC;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.yith-wcaf-table th {
    background-color: #0C243C;
    color: #55C2C3;
    text-align: left;
    padding: 12px 15px;
    font-weight: 500;
    font-size: 14px;
}

.yith-wcaf-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #0C243C;
    font-size: 14px;
}

.yith-wcaf-table tr:nth-child(even) {
    background-color: #FDFEFD;
}

.yith-wcaf-table tr:hover {
    background-color: #EAFBFB;
}

.yith-wcaf-table .empty-table td {
    text-align: center;
    color: #777;
    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 */