/* ===== profile/profile-view ===== */
    .pf-main {
        overflow-x: hidden;
        font-family: 'Hind Siliguri', sans-serif;
        padding-bottom: 80px;
    }

    .pf-container {
    }

    /* ---- Card ---- */
    .pf-card {
        background: var(--surface-1);
        color: var(--text-dark);
    }

    /* ---- User Info ---- */
    .pf-avatar {
        width: 72px;
        height: 72px;
        border-radius: 8px;
        object-fit: cover;
        background: var(--hero-blue-btn);
        flex: 0 0 72px;
    }

    .pf-name {
        font-size: 22px;
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.25;
    }

    .pf-phone {
        font-size: 18px;
        color: var(--text-dark);
        line-height: 1.35;
    }

    .pf-edit-btn .material-symbols-outlined {
        font-size: 28px;
        line-height: 1;
        color: var(--hero-blue-btn);
    }

    /* ---- Premium Card ---- */
    .pf-premium-card {
        background: #3ea23a;
        color: #ffffff;
    }

    html[data-theme="dark"] .pf-premium-card {
        background: #2f7d2c;
    }

    .pf-premium-title {
        font-size: 17px;
        font-weight: 500;
        color: #ffffff;
        line-height: 1.35;
        margin-bottom: 8px;
    }

    .pf-premium-date-wrap {
        display: flex;
    }

    .pf-premium-date {
        background: #ffffff;
        color: #222;
        border-radius: 4px;
        padding: 3px 10px;
        font-size: 15px;
        font-weight: 500;
    }

    .pf-btn-details {
        background: var(--hero-orange);
        color: #ffffff;
        font-size: 16px;
        padding: 10px 24px;
        border-radius: 6px;
        border: none;
        flex: 0 0 auto;
    }

    .pf-btn-details:hover {
        background: var(--hero-orange-hover);
        color: #ffffff;
    }

    /* ---- Points Card ---- */
    .pf-points-label {
        font-size: 17px;
        color: var(--text-dark);
    }

    .pf-points-icon {
        font-size: 32px;
        line-height: 1;
        color: var(--hero-blue-btn);
    }

    .pf-points-value {
        font-size: 38px;
        font-weight: 600;
        color: var(--hero-blue-btn);
        line-height: 1;
    }

    .pf-btn-points {
        background: var(--hero-blue-btn);
        color: #ffffff;
        font-size: 16px;
        padding: 10px 22px;
        border-radius: 6px;
        border: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .pf-btn-points:hover {
        background: var(--hero-blue-btn-hover);
        color: #ffffff;
    }

    .pf-btn-points-icon {
        font-size: 20px;
        line-height: 1;
    }

    .pf-points-desc {
        font-size: 15px;
        color: var(--text-light);
        line-height: 1.5;
    }

    /* ---- Section Title ---- */
    .pf-section-title {
        font-family: 'Noto Serif Bengali', serif;
        font-size: 22px;
        font-weight: 600;
        color: var(--text-dark);
        margin: 0;
    }

    /* ---- Stat Card ---- */
    .pf-stat-card {
        background: var(--surface-1);
        color: var(--text-dark);
        height: 100%;
    }

    .pf-stat-label {
        font-size: 15px;
        color: var(--text-light);
        line-height: 1.3;
        margin-bottom: 4px;
    }

    .pf-stat-value {
        font-size: 24px;
        font-weight: 600;
        color: var(--text-dark);
        line-height: 1.2;
    }

    /* ---- Menu List ---- */
    .pf-menu-item {
        border-bottom: 1px solid var(--border-color);
        transition: background .15s;
    }

    .pf-menu-item:last-child {
        border-bottom: none;
    }

    .pf-menu-item:hover {
        background: var(--hover-bg);
    }

    .pf-menu-icon {
        font-size: 26px;
        line-height: 1;
        color: var(--hero-blue-btn);
        margin-right: 14px;
        flex: 0 0 auto;
    }

    .pf-menu-label {
        font-size: 17px;
        font-weight: 500;
        color: var(--text-dark);
        line-height: 1.4;
    }

    .pf-menu-arrow {
        font-size: 24px;
        line-height: 1;
        color: var(--hero-blue-btn);
        flex: 0 0 auto;
    }

    /* ============================================================
       মোবাইল ভিউ
       ============================================================ */
    @media (max-width: 575.98px) {

        .pf-avatar {
            width: 64px;
            height: 64px;
            flex-basis: 64px;
        }

        .pf-name { font-size: 20px; }
        .pf-phone { font-size: 16px; }

        .pf-edit-btn .material-symbols-outlined { font-size: 26px; }

        .pf-premium-title { font-size: 16px; }
        .pf-premium-date { font-size: 14px; }

        .pf-btn-details {
            font-size: 15px;
            padding: 9px 18px;
        }

        .pf-points-label { font-size: 16px; }
        .pf-points-icon { font-size: 28px; }
        .pf-points-value { font-size: 34px; }

        .pf-btn-points {
            font-size: 15px;
            padding: 9px 18px;
        }

        .pf-points-desc { font-size: 14px; }

        .pf-section-title { font-size: 20px; }

        .pf-stat-label { font-size: 14px; }
        .pf-stat-value { font-size: 22px; }

        .pf-menu-icon { font-size: 24px; margin-right: 12px; }
        .pf-menu-label { font-size: 16px; }
        .pf-menu-arrow { font-size: 22px; }
    }

    /* ============================================================
       ট্যাবলেট / ডেস্কটপ
       ============================================================ */
    @media (min-width: 576px) {

        .pf-name { font-size: 24px; }
        .pf-phone { font-size: 19px; }

        .pf-points-value { font-size: 42px; }

        .pf-stat-value { font-size: 28px; }

        .pf-menu-label { font-size: 18px; }
    }

/* ===== profile/progress ===== */
        .viz-root {
            color-scheme: light;
            --surface-1: #fcfcfb;
            --text-primary: #0b0b0b;
            --text-secondary: #52514e;
            --text-muted: #77756f;
            --grid: #e6e5e1;
            --series-exam: #2a78d6;
            --series-pass: #eb6834;
        }
        @media (prefers-color-scheme: dark) {
            :root:where(:not([data-theme="light"])) .viz-root {
                color-scheme: dark;
                --surface-1: #1a1a19;
                --text-primary: #f0efec;
                --text-secondary: #c3c2b7;
                --text-muted: #96948b;
                --grid: #2e2e2c;
                --series-exam: #3987e5;
                --series-pass: #d95926;
            }
        }
        :root[data-theme="dark"] .viz-root {
            color-scheme: dark;
            --surface-1: #1a1a19;
            --text-primary: #f0efec;
            --text-secondary: #c3c2b7;
            --text-muted: #96948b;
            --grid: #2e2e2c;
            --series-exam: #3987e5;
            --series-pass: #d95926;
        }

        .pg-card { background: var(--surface-1); color: var(--text-primary); position: relative; }
        .pg-title { font-size: 18px; font-weight: 600; color: var(--text-primary); }
        .pg-subtitle { font-size: 13px; color: var(--text-secondary); }

        .pg-toggle {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            border: 1px solid var(--grid);
            color: var(--text-secondary);
            background: transparent;
            font-size: 13px;
        }
        .pg-toggle .material-symbols-outlined { font-size: 18px; }
        .pg-toggle[aria-pressed="true"] { color: var(--text-primary); background: var(--grid); }

        .pg-legend {
            display: flex;
            flex-wrap: wrap;
            gap: 4px 16px;
            margin: 10px 0 6px;
            font-size: 13px;
            color: var(--text-secondary);
        }
        .pg-legend b { color: var(--text-primary); font-weight: 600; margin-left: 4px; }
        .pg-swatch {
            display: inline-block;
            width: 10px;
            height: 10px;
            border-radius: 2px;
            margin-right: 6px;
            vertical-align: baseline;
        }
        .pg-swatch-exam { background: var(--series-exam); }
        .pg-swatch-pass { background: var(--series-pass); }

        .pg-chart { width: 100%; }
        .pg-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
        .pg-chart text { fill: var(--text-muted); font-size: 12px; font-family: inherit; }
        .pg-chart .pg-grid { stroke: var(--grid); stroke-width: 1; }
        .pg-chart .pg-bar-exam { fill: var(--series-exam); }
        .pg-chart .pg-bar-pass { fill: var(--series-pass); }
        .pg-chart .pg-val { fill: var(--text-secondary); font-size: 11px; font-weight: 600; }
        .pg-chart .pg-hit { fill: transparent; cursor: pointer; }
        .pg-chart .pg-col.is-active .pg-hit { fill: var(--grid); opacity: .45; }

        .pg-tooltip {
            position: absolute;
            z-index: 5;
            pointer-events: none;
            background: var(--surface-1);
            color: var(--text-primary);
            border: 1px solid var(--grid);
            border-radius: 6px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, .15);
            padding: 8px 10px;
            font-size: 13px;
            line-height: 1.5;
            white-space: nowrap;
        }
        .pg-tooltip .pg-tt-day { font-weight: 600; margin-bottom: 2px; }
        .pg-tooltip .pg-tt-row { display: flex; align-items: center; gap: 6px; }
        .pg-tooltip .pg-tt-row b { margin-left: auto; padding-left: 14px; }

        .pg-table-wrap { margin-top: 8px; }
        .pg-table { --bs-table-bg: transparent; --bs-table-color: var(--text-primary); }
        .pg-table th { color: var(--text-secondary); font-weight: 500; font-size: 13px; }

        .pg-state { padding: 24px 8px; text-align: center; color: var(--text-secondary); font-size: 14px; }

/* ===== profile/exams-taken ===== */
        .exam-tabs {
            position: sticky;
            top: 0;
            z-index: 9;
            display: flex;
            flex-wrap: nowrap;
            overflow-x: auto;
            overflow-y: hidden;
            gap: 6px;
            margin: 10px 0 4px;
            padding: 4px;
            background: var(--surface-1);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
            scrollbar-width: none;
        }
        .exam-tabs::-webkit-scrollbar { display: none; }
        .exam-tabs .nav-item { flex: 1 0 auto; display: flex; }
        .exam-tabs .nav-link {
            flex: 1 1 auto;
            width: 100%;
            white-space: nowrap;
            text-align: center;
            border: 0;
            border-radius: 11px;
            background: transparent;
            color: var(--text-light);
            font-weight: 600;
            padding: 9px 16px;
            transition: background .2s, color .2s, box-shadow .2s;
        }
        .exam-tabs .nav-link:hover { background: var(--hover-bg); color: var(--text-dark); }
        .exam-tabs .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, #129ae8, #7c3aed);
            box-shadow: 0 6px 14px rgba(18, 154, 232, .3);
        }

        .exam-history-list { padding-bottom: 24px; }

        .eh-tone-0 { --tone: #2563eb; --tone-2: #60a5fa; }
        .eh-tone-1 { --tone: #7c3aed; --tone-2: #a78bfa; }
        .eh-tone-2 { --tone: #059669; --tone-2: #34d399; }
        .eh-tone-3 { --tone: #ea580c; --tone-2: #fb923c; }
        .eh-tone-4 { --tone: #db2777; --tone-2: #f472b6; }
        .eh-tone-5 { --tone: #0891b2; --tone-2: #22d3ee; }

        .eh-card {
            position: relative;
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px 12px 18px;
            background: var(--surface-1);
            color: var(--text-dark);
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, .05);
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
            cursor: pointer;
            transition: transform .18s ease, box-shadow .18s ease;
        }
        .eh-card::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            background: linear-gradient(180deg, var(--tone), var(--tone-2));
        }
        .eh-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .14); }
        .eh-icon {
            flex: 0 0 auto;
            width: 44px;
            height: 44px;
            display: grid;
            place-items: center;
            border-radius: 13px;
            background: linear-gradient(135deg, var(--tone), var(--tone-2));
            box-shadow: 0 5px 12px color-mix(in srgb, var(--tone) 32%, transparent);
        }
        .eh-icon .material-symbols-outlined { color: #fff; font-size: 24px; font-variation-settings: 'FILL' 1; }
        .eh-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
        .eh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .78rem; color: var(--text-light); }
        .eh-count {
            padding: 1px 9px;
            border-radius: 999px;
            font-weight: 700;
            color: var(--tone);
            background: color-mix(in srgb, var(--tone) 13%, transparent);
        }
        .eh-subtitle { font-size: .82rem; color: var(--text-light); }
        .eh-title { font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
        .eh-go {
            flex: 0 0 auto;
            width: 34px;
            height: 34px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            font-size: 20px;
            color: var(--tone);
            background: color-mix(in srgb, var(--tone) 12%, transparent);
            transition: background .18s, color .18s;
        }
        .eh-card:hover .eh-go { background: var(--tone); color: #fff; }
        .eh-card .eh-view { font-weight: 600; color: var(--tone); }

        .eh-empty { text-align: center; padding: 40px 16px; color: var(--text-light); }
        .eh-empty .material-symbols-outlined { display: block; font-size: 48px; opacity: .5; margin-bottom: 6px; }

/* ===== profile/profile-view: redesign ===== */
    .pf-container .pf-tone-0 { --tone: #2563eb; --tone-2: #60a5fa; }
    .pf-container .pf-tone-1 { --tone: #7c3aed; --tone-2: #a78bfa; }
    .pf-container .pf-tone-2 { --tone: #059669; --tone-2: #34d399; }
    .pf-container .pf-tone-3 { --tone: #ea580c; --tone-2: #fb923c; }
    .pf-container .pf-tone-4 { --tone: #db2777; --tone-2: #f472b6; }
    .pf-container .pf-tone-5 { --tone: #0891b2; --tone-2: #22d3ee; }

    .pf-container .pf-card,
    .pf-container .pf-stat-card {
        border: 1px solid rgba(0, 0, 0, .05) !important;
        border-radius: 18px !important;
        box-shadow: 0 6px 18px rgba(0, 0, 0, .1) !important;
        overflow: hidden;
    }

    /* user hero */
    .pf-container .pf-hero {
        position: relative;
        color: #fff;
        background: linear-gradient(135deg, #129ae8 0%, #7c3aed 100%);
    }
    .pf-container .pf-hero::before,
    .pf-container .pf-hero::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        pointer-events: none;
    }
    .pf-container .pf-hero::before { width: 150px; height: 150px; right: -40px; top: -60px; }
    .pf-container .pf-hero::after  { width: 90px; height: 90px; left: 40%; bottom: -55px; }
    .pf-container .pf-hero .card-body { position: relative; z-index: 1; padding: 18px !important; }
    .pf-container .pf-avatar {
        width: 76px;
        height: 76px;
        flex: 0 0 76px;
        border-radius: 50%;
        border: 3px solid rgba(255, 255, 255, .9);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
    }
    .pf-container .pf-hero .pf-name { color: #fff; font-weight: 700; }
    .pf-container .pf-hero .pf-phone {
        display: inline-block;
        margin-top: 4px;
        padding: 1px 12px;
        border-radius: 999px;
        font-size: 15px;
        color: #fff;
        background: rgba(255, 255, 255, .2);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
    }
    .pf-container .pf-phone:empty { display: none; }
    .pf-container .pf-hero .pf-edit-btn {
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        background: rgba(255, 255, 255, .2);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
        transition: background .18s, transform .18s;
    }
    .pf-container .pf-hero .pf-edit-btn:hover { background: rgba(255, 255, 255, .32); transform: rotate(-8deg); }
    .pf-container .pf-hero .pf-edit-btn .material-symbols-outlined { color: #fff; font-size: 24px; }

    /* premium */
    .pf-container .pf-premium-card {
        position: relative;
        overflow: hidden;
        border-radius: 18px !important;
        background: linear-gradient(135deg, #3ea23a 0%, #1f7a3d 100%);
        box-shadow: 0 8px 20px rgba(62, 162, 58, .3) !important;
    }
    .pf-container .pf-premium-card::before {
        content: "";
        position: absolute;
        width: 120px; height: 120px;
        right: -30px; top: -50px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .1);
        pointer-events: none;
    }
    .pf-container .pf-premium-card .card-body { position: relative; z-index: 1; }
    .pf-container .pf-premium-title { font-weight: 700; }
    .pf-container .pf-premium-date {
        border-radius: 999px;
        padding: 3px 12px;
        font-size: 13px;
        color: #fff;
        background: rgba(255, 255, 255, .2);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
    }
    .pf-container .pf-btn-details {
        background: #fff;
        color: #1f7a3d;
        font-weight: 700;
        border-radius: 999px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
        transition: transform .18s, box-shadow .18s;
    }
    .pf-container .pf-btn-details:hover { background: #fff; color: #1f7a3d; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0, 0, 0, .2); }

    /* points */
    .pf-container .pf-points-label { font-weight: 600; color: var(--text-light); font-size: 15px; }
    .pf-container .pf-points-icon-wrap {
        width: 50px;
        height: 50px;
        display: grid;
        place-items: center;
        border-radius: 15px;
        background: linear-gradient(135deg, #f59e0b, #fcd34d);
        box-shadow: 0 6px 14px rgba(245, 158, 11, .35);
    }
    .pf-container .pf-points-icon { color: #fff; font-size: 28px; font-variation-settings: 'FILL' 1; }
    .pf-container .pf-points-value { font-weight: 800; color: var(--text-dark); }
    .pf-container .pf-btn-points {
        background: linear-gradient(135deg, #129ae8, #7c3aed);
        border-radius: 999px;
        font-weight: 700;
        box-shadow: 0 6px 14px rgba(18, 154, 232, .3);
        transition: transform .18s, box-shadow .18s;
    }
    .pf-container .pf-btn-points:hover { background: linear-gradient(135deg, #0f8bd1, #6d28d9); transform: translateY(-2px); box-shadow: 0 10px 18px rgba(18, 154, 232, .35); }
    .pf-container .pf-points-desc {
        padding: 10px 12px;
        border-radius: 12px;
        background: color-mix(in srgb, #f59e0b 10%, transparent);
    }

    /* activity */
    .pf-container .pf-section-title {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
    }
    .pf-container .pf-section-title::before {
        content: "";
        width: 5px;
        height: 24px;
        border-radius: 4px;
        background: linear-gradient(180deg, #129ae8, #7c3aed);
    }
    .pf-container .pf-stat-card { position: relative; }
    .pf-container .pf-stat-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg, var(--tone), var(--tone-2));
    }
    .pf-container .pf-stat-card .card-body { padding-top: 16px !important; }
    .pf-container .pf-stat-icon {
        width: 38px;
        height: 38px;
        margin: 0 auto 6px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        background: linear-gradient(135deg, var(--tone), var(--tone-2));
        box-shadow: 0 5px 12px color-mix(in srgb, var(--tone) 35%, transparent);
    }
    .pf-container .pf-stat-icon .material-symbols-outlined { font-size: 22px; color: #fff; font-variation-settings: 'FILL' 1; }
    .pf-container .pf-stat-label { font-size: 13px; }
    .pf-container .pf-stat-value { font-weight: 800; color: var(--tone); }

    /* menu */
    .pf-container .pf-menu-item { position: relative; gap: 0; padding: 12px 16px !important; }
    .pf-container .pf-menu-icon-wrap {
        flex: 0 0 auto;
        width: 42px;
        height: 42px;
        margin-right: 14px;
        display: grid;
        place-items: center;
        border-radius: 13px;
        background: linear-gradient(135deg, var(--tone), var(--tone-2));
        box-shadow: 0 5px 12px color-mix(in srgb, var(--tone) 32%, transparent);
    }
    .pf-container .pf-menu-icon { margin: 0; font-size: 24px; color: #fff; font-variation-settings: 'FILL' 1; }
    .pf-container .pf-menu-label { font-weight: 600; font-size: 16px; }
    .pf-container .pf-menu-arrow {
        width: 30px;
        height: 30px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        font-size: 20px;
        color: var(--tone);
        background: color-mix(in srgb, var(--tone) 12%, transparent);
        transition: background .18s, color .18s, transform .18s;
    }
    .pf-container .pf-menu-item:hover .pf-menu-arrow { background: var(--tone); color: #fff; transform: translateX(3px); }

/* ===== profile/profile-edit ===== */
    .pf-main {
        background-color: var(--light-bg);
        min-height: 100vh;
    }

    .pf-form-card {
        background-color: var(--card-bg);
        color: var(--text-dark);
        border: 1px solid rgba(0, 0, 0, .05) !important;
        border-radius: 20px !important;
        overflow: hidden;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .1) !important;
    }

    .pf-form-head {
        position: relative;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 18px 20px;
        color: #fff;
        overflow: hidden;
        background: linear-gradient(135deg, #129ae8 0%, #7c3aed 100%);
    }
    .pf-form-head::after {
        content: "";
        position: absolute;
        right: -40px; top: -50px;
        width: 140px; height: 140px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        pointer-events: none;
    }
    .pf-form-head-icon {
        position: relative;
        z-index: 1;
        flex: 0 0 auto;
        width: 48px;
        height: 48px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: rgba(255, 255, 255, .2);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
    }
    .pf-form-head-icon .material-symbols-outlined { font-size: 26px; font-variation-settings: 'FILL' 1; }
    .pf-form-head > div { position: relative; z-index: 1; }
    .pf-form-head-title { font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
    .pf-form-head-sub { font-size: 13px; opacity: .9; }

    .pf-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 6px;
    }
    .pf-label-icon {
        width: 26px;
        height: 26px;
        display: grid;
        place-items: center;
        border-radius: 8px;
        font-size: 17px;
        color: #129ae8;
        background: color-mix(in srgb, #129ae8 12%, transparent);
        font-variation-settings: 'FILL' 1;
    }

    .pf-input {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background-color: color-mix(in srgb, var(--text-dark) 3%, var(--card-bg));
        color: var(--text-dark);
        transition: border-color .18s, box-shadow .18s, background-color .18s;
    }

    .pf-input:focus {
        border-color: #129ae8;
        background-color: var(--card-bg);
        box-shadow: 0 0 0 0.2rem rgba(18, 154, 232, 0.2);
    }

    .pf-input::placeholder {
        color: var(--text-light);
        opacity: 0.7;
    }

    .select2-container--default .select2-selection--single {
        height: 50px;
        padding: 0 14px;
        font-size: 16px;
        border-radius: 12px;
        border: 1px solid var(--border-color);
        background-color: color-mix(in srgb, var(--text-dark) 3%, var(--card-bg));
    }

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 48px;
        padding: 0 20px 0 0;
        color: var(--text-dark);
    }

    .select2-container--default .select2-selection--single .select2-selection__placeholder {
        color: var(--text-light);
        opacity: 0.7;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 48px;
        right: 12px;
    }

    .select2-container--default.select2-container--focus .select2-selection--single,
    .select2-container--default.select2-container--open .select2-selection--single {
        border-color: #129ae8;
        box-shadow: 0 0 0 0.2rem rgba(18, 154, 232, 0.2);
    }

    .pf-submit-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: linear-gradient(135deg, #129ae8, #7c3aed);
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
        padding: 13px;
        border: none;
        border-radius: 999px;
        box-shadow: 0 8px 18px rgba(18, 154, 232, 0.35);
        transition: transform .18s ease, box-shadow .18s ease;
    }
    .pf-submit-btn .material-symbols-outlined { font-size: 22px; font-variation-settings: 'FILL' 1; }

    .pf-submit-btn:hover,
    .pf-submit-btn:focus {
        background: linear-gradient(135deg, #0f8bd1, #6d28d9);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 12px 22px rgba(18, 154, 232, 0.4);
    }

    @media (max-width: 575.98px) {
        .pf-form-card .card-body {
            padding: 20px !important;
        }
    }

/* ===== profile/purchased-plans ===== */
    .pp-main { font-family: 'Hind Siliguri', sans-serif; padding-bottom: 80px; }
    .pp-container { display: grid; gap: 12px; }

    .pp-tone-0 { --tone: #2563eb; --tone-2: #60a5fa; }
    .pp-tone-1 { --tone: #7c3aed; --tone-2: #a78bfa; }
    .pp-tone-2 { --tone: #059669; --tone-2: #34d399; }
    .pp-tone-3 { --tone: #ea580c; --tone-2: #fb923c; }
    .pp-tone-4 { --tone: #db2777; --tone-2: #f472b6; }
    .pp-tone-5 { --tone: #0891b2; --tone-2: #22d3ee; }

    .pp-card {
        position: relative;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 14px 14px 14px 20px;
        background: var(--surface-1);
        color: var(--text-dark);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, .05);
        border-radius: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
    }
    .pp-card::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: linear-gradient(180deg, var(--tone), var(--tone-2));
    }
    .pp-icon {
        flex: 0 0 auto;
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--tone), var(--tone-2));
        box-shadow: 0 5px 12px color-mix(in srgb, var(--tone) 32%, transparent);
    }
    .pp-icon .material-symbols-outlined { font-size: 26px; color: #fff; font-variation-settings: 'FILL' 1; }
    .pp-info { flex: 1 1 auto; min-width: 0; }
    .pp-title { font-size: 16px; font-weight: 700; color: var(--text-dark); line-height: 1.45; overflow-wrap: anywhere; }
    .pp-meta { margin-top: 3px; font-size: 13px; color: var(--text-light); }
    .pp-date { display: inline-flex; align-items: center; gap: 4px; }
    .pp-date .material-symbols-outlined { font-size: 16px; }
    .pp-amount {
        flex: 0 0 auto;
        padding: 6px 12px;
        border-radius: 999px;
        font-weight: 800;
        white-space: nowrap;
        color: var(--tone);
        background: color-mix(in srgb, var(--tone) 12%, transparent);
    }
    .pp-empty { text-align: center; padding: 48px 16px; color: var(--text-light); font-size: 16px; }
    .pp-empty .material-symbols-outlined { display: block; font-size: 52px; opacity: .5; margin-bottom: 6px; }

    @media (max-width: 480px) {
        .pp-card { flex-wrap: wrap; }
        .pp-info { flex-basis: calc(100% - 70px); }
        .pp-amount { margin-left: 58px; }
    }

/* ===== profile/wrong-skipped ===== */
        /* the question card itself is the shared .sol-* card in mcq.css */
        .ws-tabs {
            position: sticky;
            top: 0;
            z-index: 9;
            display: flex;
            gap: 6px;
            margin: 10px 8px 4px;
            padding: 4px;
            background: var(--surface-1);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
        }
        .ws-tabs .nav-link {
            border: 0;
            border-radius: 11px;
            background: transparent;
            color: var(--text-light);
            font-weight: 600;
            padding: 9px 16px;
            transition: background .2s, color .2s, box-shadow .2s;
        }
        .ws-tabs .nav-link:hover { background: var(--hover-bg); color: var(--text-dark); }
        .ws-tabs .nav-link.active {
            color: #fff;
            background: linear-gradient(135deg, #129ae8, #7c3aed);
            box-shadow: 0 6px 14px rgba(18, 154, 232, .3);
        }
        #wsTabs .nav-item:nth-child(2) .nav-link.active {
            background: linear-gradient(135deg, #f5a623, #ea580c);
            box-shadow: 0 6px 14px rgba(234, 88, 12, .3);
        }
        #bookmark_toggle { padding: 4px 6px 0; }
        #wsTabContent.bm-only .sol-mcq:not(.bookmarked) { display: none; }
        .ws-empty { text-align: center; padding: 48px 16px; color: var(--text-light); }
        .ws-empty .material-symbols-outlined { display: block; font-size: 52px; opacity: .5; margin-bottom: 6px; }

/* ===== profile/points ===== */
        .pt-card { background: var(--surface-1); color: var(--text-dark); border-radius: 20px !important; }
        .pt-hero {
            position: relative;
            overflow: hidden;
            color: #fff;
            background: linear-gradient(135deg, #8a5cf6 0%, #2b1de0 100%);
            box-shadow: 0 10px 24px rgba(43, 29, 224, .3) !important;
        }
        .pt-hero::before,
        .pt-hero::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            background: rgba(255, 255, 255, .1);
            pointer-events: none;
        }
        .pt-hero::before { width: 160px; height: 160px; right: -50px; top: -70px; }
        .pt-hero::after  { width: 100px; height: 100px; left: -30px; bottom: -50px; }
        .pt-hero .card-body { position: relative; z-index: 1; padding: 24px 20px; }
        .pt-coin {
            width: 64px;
            height: 64px;
            margin: 0 auto 10px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: linear-gradient(135deg, #f59e0b, #fcd34d);
            box-shadow: 0 8px 18px rgba(245, 158, 11, .45), inset 0 0 0 3px rgba(255, 255, 255, .35);
        }
        .pt-coin .material-symbols-outlined { font-size: 36px; color: #fff; font-variation-settings: 'FILL' 1; }
        .pt-balance-label { font-size: 15px; opacity: .9; }
        .pt-balance {
            display: flex;
            align-items: baseline;
            justify-content: center;
            gap: 8px;
            margin-top: 4px;
            font-size: 46px;
            font-weight: 800;
            line-height: 1.1;
            color: #fff;
        }
        .pt-balance-unit { font-size: 16px; font-weight: 600; opacity: .9; }
        .pt-desc { font-size: 13px; color: rgba(255, 255, 255, .85); min-height: 1.5em; line-height: 1.5; }
        .pt-offer-btn {
            padding: 8px 20px;
            border: 0;
            border-radius: 999px;
            font-weight: 700;
            color: #2b1de0;
            background: #fff;
            box-shadow: 0 6px 14px rgba(0, 0, 0, .2);
            transition: transform .18s, box-shadow .18s;
        }
        .pt-offer-btn:hover { color: #2b1de0; background: #fff; transform: translateY(-2px); box-shadow: 0 10px 18px rgba(0, 0, 0, .25); }

        .pt-section-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 17px;
            font-weight: 700;
            color: var(--text-dark);
        }
        .pt-section-title::before {
            content: "";
            width: 5px;
            height: 22px;
            border-radius: 4px;
            background: linear-gradient(180deg, #129ae8, #7c3aed);
        }
        .pt-list > div {
            display: flex;
            align-items: center;
            gap: 12px;
            line-height: 1.5;
            margin-bottom: 10px;
            padding: 12px 14px;
            border: 1px solid rgba(0, 0, 0, .05);
            border-radius: 16px;
            background: var(--surface-1);
            color: var(--text-dark);
            box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
        }
        .pt-check {
            flex: 0 0 auto;
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 12px;
            background: linear-gradient(135deg, #059669, #34d399);
            box-shadow: 0 5px 12px rgba(5, 150, 105, .3);
        }
        .pt-check .material-symbols-outlined { font-size: 22px; color: #fff; font-variation-settings: 'FILL' 1; }
        .pt-item-text { font-size: 14px; }
        .pt-note {
            padding: 10px 14px;
            border-radius: 14px;
            font-size: 12px;
            line-height: 1.5;
            color: var(--text-light);
            background: color-mix(in srgb, #dc2626 8%, transparent);
            border: 1px dashed color-mix(in srgb, #dc2626 35%, transparent);
        }

/* ===== profile/point-offers ===== */
        .po-hero {
            position: relative;
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 18px;
            margin-bottom: 14px;
            overflow: hidden;
            color: #fff;
            border-radius: 20px;
            background: linear-gradient(135deg, #129ae8 0%, #7c3aed 100%);
            box-shadow: 0 10px 24px rgba(18, 154, 232, .3);
        }
        .po-hero::after {
            content: "";
            position: absolute;
            right: -40px; top: -50px;
            width: 140px; height: 140px;
            border-radius: 50%;
            background: rgba(255, 255, 255, .12);
            pointer-events: none;
        }
        .po-hero-icon {
            position: relative;
            z-index: 1;
            flex: 0 0 auto;
            width: 52px;
            height: 52px;
            display: grid;
            place-items: center;
            border-radius: 15px;
            background: rgba(255, 255, 255, .2);
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
        }
        .po-hero-icon .material-symbols-outlined { font-size: 28px; font-variation-settings: 'FILL' 1; }
        .po-hero-text { position: relative; z-index: 1; min-width: 0; }
        .po-hero h5 { font-weight: 700; }
        .po-hero h6 { font-size: 13px; opacity: .92; line-height: 1.5; }

        .po-tone-0 { --tone: #2563eb; --tone-2: #60a5fa; }
        .po-tone-1 { --tone: #7c3aed; --tone-2: #a78bfa; }
        .po-tone-2 { --tone: #059669; --tone-2: #34d399; }
        .po-tone-3 { --tone: #ea580c; --tone-2: #fb923c; }
        .po-tone-4 { --tone: #db2777; --tone-2: #f472b6; }
        .po-tone-5 { --tone: #0891b2; --tone-2: #22d3ee; }

        .po-card {
            position: relative;
            overflow: hidden;
            background: var(--surface-1);
            color: var(--text-dark);
            margin: 0 0 12px;
            border: 1px solid rgba(0, 0, 0, .05) !important;
            border-radius: 18px !important;
            box-shadow: 0 6px 16px rgba(0, 0, 0, .1) !important;
        }
        .po-card::before {
            content: "";
            position: absolute;
            inset: 0 auto 0 0;
            width: 4px;
            background: linear-gradient(180deg, var(--tone), var(--tone-2));
        }
        .po-top { display: flex; align-items: center; gap: 12px; padding: 14px 14px 6px 20px; }
        .po-icon {
            flex: 0 0 auto;
            width: 48px;
            height: 48px;
            display: grid;
            place-items: center;
            border-radius: 14px;
            background: linear-gradient(135deg, var(--tone), var(--tone-2));
            box-shadow: 0 6px 14px color-mix(in srgb, var(--tone) 35%, transparent);
        }
        .po-icon .material-symbols-outlined { font-size: 26px; color: #fff; font-variation-settings: 'FILL' 1; }
        .po-info { min-width: 0; }
        .po-title { font-size: 17px; font-weight: 700; line-height: 1.35; }
        .po-subtitle { font-size: 13px; color: var(--text-light); line-height: 1.4; }
        .po-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 8px 14px 14px 20px;
        }
        .po-points-wrap {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 14px 4px 8px;
            border-radius: 999px;
            color: #b45309;
            background: color-mix(in srgb, #f59e0b 14%, transparent);
        }
        .po-points-wrap .material-symbols-outlined { font-size: 22px; color: #f59e0b; font-variation-settings: 'FILL' 1; }
        .po-points { font-size: 17px; font-weight: 800; }
        .po-btn {
            flex: 0 0 auto;
            padding: 8px 22px;
            border: 0;
            border-radius: 999px;
            font-weight: 700;
            color: #fff;
            background: linear-gradient(135deg, #f5a623, #ea580c);
            box-shadow: 0 6px 14px rgba(234, 88, 12, .3);
            transition: transform .18s, box-shadow .18s;
        }
        .po-btn:hover { color: #fff; background: linear-gradient(135deg, #e0951a, #d9480f); transform: translateY(-2px); box-shadow: 0 10px 18px rgba(234, 88, 12, .35); }
