    :root {
        --bg: #f4f7fb;
        --card: #ffffff;
        --text: #101828;
        --muted: #667085;
        --primary: #6d5dfc;
        --primary-dark: #4f39f6;
        --sidebar-bg: #081738;
        --sidebar-soft: rgba(255, 255, 255, 0.08);
        --danger: #ff5d6c;
        --border: rgba(16, 24, 40, 0.08);
        --shadow: 0 20px 45px rgba(16, 24, 40, 0.08);
        --radius-xl: 28px;
        --radius-lg: 20px;
        --radius-md: 14px;
        --tl-primary: #6d5dfc;
        --tl-primary-dark: #4f39f6;
    }

    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        background:
            radial-gradient(circle at top left, rgba(109, 93, 252, 0.08), transparent 25%),
            linear-gradient(180deg, #f8faff 0%, var(--bg) 100%);
        color: var(--text);
        min-height: 100vh;
    }

    /* optional wrapper area */
    .woocommerce-MyAccount-content {
        padding: 28px;
        background:
            radial-gradient(circle at top left, rgba(109, 93, 252, 0.08), transparent 25%),
            linear-gradient(180deg, #f8faff 0%, var(--tl-bg) 100%);
        border-radius: 24px;
    }

    /* hero card */
    .tl-dashboard-hero-card {
        background: linear-gradient(135deg, #ffffff, #f8f7ff);
        border: 1px solid var(--tl-border);
        border-radius: var(--tl-radius-xl);
        padding: 28px;
        margin-bottom: 24px;
        box-shadow: 0 14px 35px rgba(16, 24, 40, 0.05);
    }

    .tl-dashboard-hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(109, 93, 252, 0.1);
        color: var(--tl-primary-dark);
        font-weight: 700;
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .tl-dashboard-hero-title {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        color: var(--tl-text);
        margin-bottom: 10px;
        line-height: 1.3;
    }

    .tl-dashboard-hero-text {
        color: var(--tl-muted);
        font-size: 1rem;
        margin-bottom: 22px;
        max-width: 700px;
        line-height: 1.7;
    }

    .tl-dashboard-quick-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    /* buttons */
    .tl-dashboard-btn-primary {
        background: linear-gradient(135deg, var(--tl-primary), #8a6bff);
        border: none;
        color: #fff;
        font-weight: 700;
        border-radius: 14px;
        padding: 12px 22px;
        box-shadow: 0 12px 24px rgba(109, 93, 252, 0.25);
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .tl-dashboard-btn-primary:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(109, 93, 252, 0.3);
    }

    .tl-dashboard-btn-soft {
        border: 1px solid rgba(109, 93, 252, 0.18);
        background: rgba(109, 93, 252, 0.08);
        color: var(--tl-primary-dark);
        font-weight: 700;
        border-radius: 14px;
        padding: 12px 22px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .tl-dashboard-btn-soft:hover {
        background: rgba(109, 93, 252, 0.14);
        color: var(--tl-primary-dark);
        transform: translateY(-2px);
    }

    /* stats grid */
    .tl-dashboard-stats-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 24px;
    }

    .tl-dashboard-stat-card {
        background: var(--tl-card);
        border: 1px solid var(--tl-border);
        border-radius: 22px;
        padding: 22px;
        box-shadow: 0 12px 28px rgba(16, 24, 40, 0.04);
        height: 100%;
        transition: all 0.3s ease;
    }

    .tl-dashboard-stat-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(16, 24, 40, 0.08);
    }

    .tl-dashboard-stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: rgba(109, 93, 252, 0.1);
        color: var(--tl-primary-dark);
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .tl-dashboard-stat-card h4 {
        font-size: 1.7rem;
        font-weight: 800;
        margin: 0 0 4px;
        color: var(--tl-text);
    }

    .tl-dashboard-stat-card p {
        color: var(--tl-muted);
        margin: 0;
        font-size: 0.95rem;
    }

    /* content cards */
    .tl-dashboard-content-card {
        background: var(--tl-card);
        border: 1px solid var(--tl-border);
        border-radius: 22px;
        padding: 22px;
        box-shadow: 0 12px 28px rgba(16, 24, 40, 0.04);
        height: 100%;
    }

    .tl-dashboard-card-full {
        height: 100%;
    }

    .tl-dashboard-section-title {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 16px;
        color: var(--tl-text);
    }

    /* order item / account row */
    .tl-dashboard-order-item,
    .tl-dashboard-account-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(16, 24, 40, 0.08);
        flex-wrap: wrap;
    }

    .tl-dashboard-order-item:last-child,
    .tl-dashboard-account-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .tl-dashboard-order-meta h6,
    .tl-dashboard-account-row h6 {
        margin: 0 0 4px;
        font-size: 1rem;
        font-weight: 700;
        color: var(--tl-text);
    }

    .tl-dashboard-order-meta p,
    .tl-dashboard-account-row small {
        margin: 0;
        color: var(--tl-muted);
        font-size: 0.92rem;
    }

    /* badges */
    .tl-dashboard-badge-success {
        background: rgba(18, 183, 106, 0.12);
        color: #027a48;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .tl-dashboard-badge-warning {
        background: rgba(247, 144, 9, 0.12);
        color: #b54708;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 700;
        white-space: nowrap;
    }

    /* change password link */
    .tl-dashboard-link-btn {
        text-decoration: none;
        font-weight: 700;
        color: var(--tl-primary-dark);
        transition: all 0.3s ease;
    }

    .tl-dashboard-link-btn:hover {
        color: var(--tl-primary);
    }

    /* empty text */
    .tl-dashboard-empty-text {
        color: var(--tl-muted);
        margin: 0;
        font-size: 0.95rem;
    }

    /* icons in account overview */
    .tl-dashboard-account-row i {
        font-size: 1.1rem;
        color: var(--tl-primary-dark);
    }

    /* responsive */
    @media (max-width: 991.98px) {
        .tl-dashboard-stats-grid {
            grid-template-columns: 1fr;
        }

        .woocommerce-MyAccount-content {
            padding: 22px;
        }
    }

    @media (max-width: 575.98px) {

        .woocommerce-MyAccount-content,
        .tl-dashboard-hero-card,
        .tl-dashboard-stat-card,
        .tl-dashboard-content-card {
            padding: 18px;
        }

        .tl-dashboard-quick-actions .btn,
        .tl-dashboard-quick-actions a {
            width: 100%;
            text-align: center;
        }

        .tl-dashboard-hero-title {
            font-size: 1.4rem;
        }
    }

    .page-wrapper {
        padding: 10px 0;
    }

    .page-title {
        font-size: clamp(2rem, 4vw, 2.9rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        margin-bottom: 1.5rem;
    }

    .account-shell {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.5);
        border-radius: 32px;
        box-shadow: var(--shadow);
        overflow: hidden;
    }

    .sidebar {
        background: linear-gradient(180deg, #081738 0%, #041126 100%);
        color: #fff;
        padding: 28px 22px;
        height: 100%;
        position: relative;
    }

    .sidebar::before {
        content: "";
        position: absolute;
        top: -60px;
        right: -60px;
        width: 180px;
        height: 180px;
        background: radial-gradient(circle, rgba(109, 93, 252, 0.35), transparent 70%);
        pointer-events: none;
    }

    .profile-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 24px;
        padding: 24px 20px;
        text-align: center;
        margin-bottom: 26px;
    }

    .profile-avatar {
        width: 96px;
        height: 96px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        margin: 0 auto 16px;
        font-size: 2.6rem;
        background: linear-gradient(135deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06));
        border: 1px solid rgba(255, 255, 255, .14);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
    }

    .profile-card h3 {
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .profile-card p {
        margin: 0;
        font-size: 0.95rem;
        color: rgba(255, 255, 255, .75);
        word-break: break-word;
    }

    .nav-pills .nav-link {
        color: rgba(255, 255, 255, .86);
        border-radius: 18px;
        padding: 15px 16px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 14px;
        margin-bottom: 10px;
        transition: all 0.3s ease;
    }

    .nav-pills .nav-link i {
        width: 22px;
        text-align: center;
        font-size: 1.05rem;
    }

    .nav-pills .nav-link:hover {
        background: var(--sidebar-soft);
        transform: translateX(4px);
    }

    .nav-pills .nav-link.active {
        background: linear-gradient(135deg, var(--primary), #8a6bff);
        box-shadow: 0 12px 30px rgba(109, 93, 252, 0.35);
        color: #fff;
    }

    .nav-pills .logout-link {
        color: #ff8089;
        margin-top: 14px;
    }

    .main-content-dash {
        padding: 28px;
    }

    .hero-card {
        background: linear-gradient(135deg, #ffffff, #f8f7ff);
        border: 1px solid var(--border);
        border-radius: var(--radius-xl);
        padding: 28px;
        margin-bottom: 24px;
        box-shadow: 0 14px 35px rgba(16, 24, 40, 0.05);
    }

    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        border-radius: 999px;
        background: rgba(109, 93, 252, 0.1);
        color: var(--primary-dark);
        font-weight: 700;
        font-size: 0.85rem;
        margin-bottom: 14px;
    }

    .hero-card h2 {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        font-weight: 800;
        letter-spacing: -0.02em;
        margin-bottom: 10px;
    }

    .hero-card p {
        color: var(--muted);
        font-size: 1rem;
        margin-bottom: 22px;
        max-width: 700px;
    }

    .quick-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .btn-soft {
        border: 1px solid rgba(109, 93, 252, 0.18);
        background: rgba(109, 93, 252, 0.08);
        color: var(--primary-dark);
        font-weight: 700;
        border-radius: 14px;
        padding: 11px 18px;
    }

    .btn-soft:hover {
        background: rgba(109, 93, 252, 0.14);
        color: var(--primary-dark);
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 24px;
    }

    .stat-card,
    .content-card {
        background: var(--card);
        border: 1px solid var(--border);
        border-radius: 22px;
        padding: 22px;
        box-shadow: 0 12px 28px rgba(16, 24, 40, 0.04);
        height: 100%;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        background: rgba(109, 93, 252, 0.1);
        color: var(--primary-dark);
        font-size: 1.15rem;
        margin-bottom: 14px;
    }

    .stat-card h4 {
        font-size: 1.7rem;
        font-weight: 800;
        margin-bottom: 4px;
    }

    .stat-card p,
    .content-card p,
    .info-list small {
        color: var(--muted);
        margin: 0;
    }

    .section-title {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 16px;
    }

    .order-item,
    .address-item,
    .download-item,
    .account-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        padding: 16px 0;
        border-bottom: 1px solid rgba(16, 24, 40, 0.08);
        flex-wrap: wrap;
    }

    .order-item:last-child,
    .address-item:last-child,
    .download-item:last-child,
    .account-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .order-meta h6,
    .address-item h6,
    .download-item h6,
    .account-row h6 {
        margin: 0 0 4px;
        font-size: 1rem;
        font-weight: 700;
    }

    .badge-soft {
        background: rgba(18, 183, 106, 0.12);
        color: #027a48;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 700;
    }

    .badge-warning-soft {
        background: rgba(247, 144, 9, 0.12);
        color: #b54708;
        padding: 8px 12px;
        border-radius: 999px;
        font-size: 0.82rem;
        font-weight: 700;
    }

    .link-btn {
        text-decoration: none;
        font-weight: 700;
        color: var(--primary-dark);
    }

    .tab-pane {
        animation: fadeIn 0.35s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .form-control-custom {
        border-radius: 14px;
        border: 1px solid rgba(16, 24, 40, 0.12);
        min-height: 50px;
        padding: 12px 14px;
        box-shadow: none;
    }

    .form-control-custom:focus {
        border-color: rgba(109, 93, 252, 0.45);
        box-shadow: 0 0 0 0.25rem rgba(109, 93, 252, 0.12);
    }

    .btn-primary-custom {
        background: linear-gradient(135deg, var(--primary), #8a6bff);
        border: none;
        color: white;
        font-weight: 700;
        border-radius: 14px;
        padding: 12px 22px;
        box-shadow: 0 12px 24px rgba(109, 93, 252, 0.25);
    }

    .btn-outline-custom {
        border: 1px solid rgba(16, 24, 40, 0.12);
        background: #fff;
        color: var(--text);
        font-weight: 700;
        border-radius: 14px;
        padding: 12px 22px;
    }

    @media (max-width: 991.98px) {
        .sidebar {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        .main-content-dash {
            padding: 22px;
        }

        .stats-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 575.98px) {
        .page-wrapper {
            padding: 18px 0;
        }

        .account-shell {
            border-radius: 22px;
        }

        .sidebar,
        .main-content-dash,
        .hero-card,
        .stat-card,
        .content-card {
            padding: 18px;
        }

        .quick-actions .btn,
        .quick-actions a {
            width: 100%;
        }
    }

    .edit-link {
        display: none !important;
    }
    .woocommerce-account .entry-title,
.woocommerce-account .page-title {
    display: none !important;
}