.elementor-22 .elementor-element.elementor-element-731a1ea4{--display:flex;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-22 .elementor-element.elementor-element-f1ce2b3{--spacer-size:50px;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-22 .elementor-element.elementor-element-8c7a0d9 .elementor-heading-title{color:#5178F8;}.elementor-22 .elementor-element.elementor-element-33d6145{--display:flex;}.elementor-22 .elementor-element.elementor-element-f3ff99d{--spacer-size:50px;}:root{--page-title-display:none;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for heading, class: .elementor-element-8c7a0d9 */.elementor-22 .elementor-element.elementor-element-8c7a0d9 .elementor-heading-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

.elementor-22 .elementor-element.elementor-element-8c7a0d9 .elementor-heading-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    border-radius: 2px;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-2404030 *//* Container Utama */
.ec-dashboard-container {
    display: flex;
    gap: 20px;
    font-family: 'Poppins', sans-serif;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Pastikan semua elemen dalam dashboard ikut box sizing */
.ec-dashboard-container,
.ec-dashboard-container * {
    box-sizing: border-box;
}

/* Sorokkan menu asal WooCommerce supaya tidak bertindih dengan sidebar custom kita */
.ec-woo-content-wrapper .woocommerce-MyAccount-navigation {
    display: none !important;
}

.ec-woo-content-wrapper .woocommerce-MyAccount-content {
    width: 100% !important;
    float: none !important;
}

/* Sidebar */
.ec-dashboard-sidebar {
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    flex-shrink: 0;
}

.ec-user-welcome {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 20px;
}

.ec-user-welcome h4 {
    margin: 10px 0 5px 0;
    color: #1a1a1a;
    font-size: 16px;
}

.ec-user-welcome h5 {
    margin: 0 0 6px 0;
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

.ec-user-welcome p {
    font-size: 12px;
    color: #777;
    margin: 0;
}

/* Menu List */
.ec-dashboard-menu {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ec-dashboard-menu .menu-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    margin: 20px 0 10px 10px;
    font-weight: 600;
}

.ec-dashboard-menu li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #4a4a4a !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-bottom: 4px;
}

.ec-dashboard-menu li a:hover, 
.ec-dashboard-menu li.active a {
    background-color: #f4f6f9;
    color: #0066cc !important; 
    font-weight: 500;
}

.ec-dashboard-menu li.logout-item a {
    color: #dc3545 !important;
    margin-top: 20px;
}

.ec-dashboard-menu li.logout-item a:hover {
    background-color: #fff5f5;
}

.ec-dashboard-menu .icon {
    margin-right: 12px;
    font-size: 16px;
}

/* Content Area */
.ec-dashboard-content {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* NOTIS PROFIL EASTELCORE */
.ec-profile-warning {
    width: 100%;
    margin-bottom: 20px;
}

.ec-profile-warning:empty {
    display: none;
}

/* Styling tambahan jika shortcode [ec_notis_profil_eastel] keluarkan div inline */
.ec-profile-warning > div {
    margin-top: 0 !important;
}

/* Banner utama */
.ec-notice-banner {
    background: linear-gradient(135deg, #0066cc, #004499);
    color: #fff;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.ec-notice-banner h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 20px;
}

.ec-woo-content-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    min-height: 400px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Responsif untuk Telefon */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden !important;
    }

    .ec-dashboard-container {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;
        gap: 14px;
        margin: 10px 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .ec-dashboard-sidebar {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px;
        padding: 15px;
        border-radius: 12px;
    }

    .ec-dashboard-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .ec-profile-warning {
        margin-bottom: 14px;
    }

    .ec-notice-banner {
        padding: 18px;
        border-radius: 12px;
        margin-bottom: 14px;
    }

    .ec-notice-banner h3 {
        font-size: 17px;
        line-height: 1.35;
    }

    .ec-woo-content-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 8px !important;
        border-radius: 12px;
        overflow-x: hidden !important;
    }

    .ec-woo-content-wrapper .woocommerce,
    .ec-woo-content-wrapper .woocommerce-MyAccount-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden !important;
    }

    .ec-dashboard-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ec-dashboard-menu .menu-title {
        grid-column: span 2;
        margin-top: 15px;
        margin-bottom: 5px;
        font-size: 12px;
    }

    .ec-dashboard-menu .logout-item {
        grid-column: span 2;
    }

    .ec-dashboard-menu li a {
        flex-direction: column; 
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 12px 8px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        font-size: 13px;
    }

    .ec-dashboard-menu li a .icon {
        font-size: 20px;
        margin-bottom: 5px;
        margin-right: 0 !important;
    }

    .ec-dashboard-menu li.active a {
        background: #0066cc;
        color: #fff !important;
        border-color: #0066cc;
    }
}

/* Phone kecil */
@media (max-width: 420px) {
    .ec-dashboard-container {
        margin: 6px 0 !important;
    }

    .ec-dashboard-sidebar {
        padding: 12px;
    }

    .ec-woo-content-wrapper {
        padding: 4px !important;
        border-radius: 10px;
        box-shadow: none;
    }

    .ec-notice-banner {
        padding: 15px;
    }
}

/* Logik Sorok Sidebar Apabila Halaman Lost Password Dibuka */
.ec-dashboard-container.ec-lost-password-view .ec-dashboard-sidebar,
.ec-dashboard-container.ec-lost-password-view .ec-notice-banner,
.ec-dashboard-container.ec-lost-password-view .ec-profile-warning {
    display: none !important;
}

.ec-dashboard-container.ec-lost-password-view .ec-dashboard-content {
    width: 100% !important;
    max-width: 600px;
    margin: 0 auto;
}

.ec-dashboard-container.ec-lost-password-view .ec-woo-content-wrapper {
    padding: 40px 30px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
}

/* Sembunyikan sidebar menu apabila guest melawat halaman my-account */
.ec-guest-access-view .ec-dashboard-sidebar,
.ec-guest-access-view .ec-profile-warning {
    display: none !important;
}

/* Lebarkan kawasan kandungan supaya form login & register muat bersebelahan */
.ec-guest-access-view .ec-dashboard-content {
    width: 100% !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

/* Memastikan susunan asal borang WooCommerce 2 kolum berfungsi semula */
.ec-guest-access-view .u-columns.col2-set {
    display: flex !important;
    gap: 30px;
}

.ec-guest-access-view .u-column1, 
.ec-guest-access-view .u-column2 {
    flex: 1;
    width: 50% !important;
}

@media (max-width: 768px) {
    .ec-guest-access-view .u-columns.col2-set {
        flex-direction: column;
        gap: 18px;
    }

    .ec-guest-access-view .u-column1, 
    .ec-guest-access-view .u-column2 {
        width: 100% !important;
    }
}

/* Alert Banner Lama - dikekalkan jika masih ada elemen lama di page lain */
.ec-alert-banner {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    color: #856404;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
}

.ec-alert-icon {
    font-size: 20px;
}

.ec-alert-text a {
    color: #533f03;
    text-decoration: underline;
    font-weight: bold;
}

.ec-alert-text a:hover {
    color: #000;
}

/* Tambahan khas untuk ruangan URL Affiliate supaya tidak sempit di mobile */
@media (max-width: 768px) {
    .ec-aff-links-container {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 10px !important;
        border-radius: 12px !important;
        box-shadow: none !important;
    }

    .ec-aff-list {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ec-aff-row {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 420px) {
    .ec-aff-links-container {
        padding: 4px !important;
    }
}
.ec-profile-warning {
    width: 100%;
    margin-bottom: 20px;
}

.ec-profile-warning:empty {
    display: none;
}

.ec-profile-alert {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff7e6;
    border: 1px solid #ffd28a;
    border-left: 5px solid #f59e0b;
    color: #5c3600;
    padding: 16px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.08);
}

.ec-profile-alert-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: #fff0c2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ec-profile-alert-content strong {
    display: block;
    font-size: 15px;
    color: #4a2a00;
    margin-bottom: 5px;
}

.ec-profile-alert-content p {
    margin: 0 0 10px 0;
    font-size: 13px;
    line-height: 1.5;
    color: #6b4500;
}

.ec-profile-alert-content ul {
    margin: 0 0 12px 18px;
    padding: 0;
}

.ec-profile-alert-content li {
    font-size: 13px;
    margin-bottom: 4px;
}

.ec-profile-alert-button {
    display: inline-block;
    background: #6d28d9;
    color: #ffffff !important;
    padding: 9px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 600;
}

.ec-profile-alert-button:hover {
    background: #5b21b6;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .ec-profile-alert {
        padding: 14px;
        gap: 10px;
        border-radius: 10px;
    }

    .ec-profile-alert-icon {
        width: 30px;
        height: 30px;
        min-width: 30px;
        font-size: 16px;
    }

    .ec-profile-alert-content strong {
        font-size: 14px;
    }

    .ec-profile-alert-content p,
    .ec-profile-alert-content li {
        font-size: 12.5px;
    }
}/* End custom CSS */