:root {
    --navy: #08165d;
    --blue: #0662f9;
    --blue2: #0d6efd;
    --green: #159447;
    --line: #dfe6f1;
    --soft: #f7f9fd;
    --text: #07165f;
    --muted: #47558c;
    --shadow: 0 2px 10px rgba(15, 38, 90, .05)
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--text);
    background: #fff;
    font-size: 14px
}

.app-shell {
    display: flex;
    min-height: 100vh
}

.sidebar {
    width: 220px;
    border-right: 1px solid #e5eaf2;
    flex: 0 0 220px;
    background: #fff;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 20
}

.brand {
    height: 78px;
    border-bottom: 1px solid #e8edf4;
    padding: 17px 20px 10px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: #0b1b61
}

.brand b {
    color: #22a43b
}

.brand small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px
}

.side-nav {
    padding: 18px 10px 10px
}

.side-nav a {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 14px;
    border-radius: 7px;
    color: #08165d;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    margin-bottom: 1px
}

.side-nav a svg {
    width: 19px;
    height: 19px;
    stroke-width: 1.8
}

.side-nav a.active {
    color: #0562fb;
    background: #edf4ff
}

.side-nav a.with-badge em {
    margin-left: auto;
    background: #ff3038;
    color: #fff;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: 12px
}

.motivation-card {
    margin: 18px 20px 24px;
    padding: 8px 12px 16px;
    border: 1px solid #d8e2f1;
    border-radius: 8px;
    text-align: center;
    background: #fbfdff
}

.motivation-card img {
    width: 122px;
    height: 102px;
    object-fit: cover;
    object-position: center;
    margin-top: -2px
}

.motivation-card h3 {
    font-size: 16px;
    margin: 5px 0 9px
}

.motivation-card p {
    font-size: 12px;
    line-height: 1.55;
    color: #40518c;
    margin: 0 0 15px
}

.motivation-card button,
.green-btn {
    border: 0;
    background: #0864f8;
    color: #fff;
    border-radius: 4px;
    height: 32px;
    width: 100%;
    font-weight: 600
}

.main-area {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column
}

.topbar {
    height: 78px;
    border-bottom: 1px solid #e6ebf3;
    display: flex;
    align-items: center;
    padding: 0 26px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 15
}

.menu-btn,
.bell-btn,
.profile-trigger {
    border: 0;
    background: none;
    color: var(--navy);
    cursor: pointer
}

.menu-btn svg {
    width: 25px;
    height: 25px
}

.search {
    width: 485px;
    height: 44px;
    border: 1px solid #d7deea;
    border-radius: 6px;
    margin-left: 245px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 14px
}

.search input {
    border: 0;
    outline: 0;
    flex: 1;
    color: #35427d;
    font-size: 13px
}

.search svg {
    width: 18px
}

.top-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative
}

.bell-btn {
    position: relative
}

.bell-btn span {
    position: absolute;
    top: -7px;
    right: -6px;
    background: #ff313a;
    color: #fff;
    border-radius: 20px;
    font-size: 10px;
    padding: 3px 6px
}

.top-avatar {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    flex-shrink: 0;
}

.top-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.top-avatar i {
    font-size: 18px;
    color: var(--blue);
}

.profile-trigger {
    font-weight: 600;
    font-size: 14px;
    display: flex;
    gap: 10px;
    align-items: center
}

.profile-trigger svg {
    width: 15px
}

.profile-menu {
    display: none;
    position: absolute;
    top: 56px;
    right: 0;
    width: 210px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 35px rgba(12, 31, 83, .15);
    border-radius: 9px;
    padding: 8px
}

.profile-menu.open {
    display: block
}

.profile-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    color: var(--navy)
}

.profile-menu a:hover {
    background: #f2f6ff
}

.profile-menu svg {
    width: 17px
}

.profile-menu hr {
    border: 0;
    border-top: 1px solid var(--line)
}

.profile-menu .danger {
    color: #d93035
}

.verification-badge {
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    font-family: inherit;
    cursor: pointer
}

.verification-badge:disabled{cursor:default}

.details-list .verification-badge.verified {
    color: #087a3d;
    background: #e8f8ef;
    border: 1px solid #bcebd0
}

.details-list .verification-badge.pending {
    color: #a15c05;
    background: #fff7e6;
    border: 1px solid #f3d59e
}

.content-wrap {
    padding: 20px 25px 12px;
    flex: 1
}

.page-heading h1 {
    font-size: 29px;
    margin: 0 0 6px
}

.page-heading p {
    margin: 0;
    color: #1c2b71
}

.tabs {
    margin-top: 18px;
    border: 1px solid #dce3ef;
    border-radius: 7px;
    height: 58px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #fff
}

.tab {
    border: 0;
    background: #fff;
    color: #102069;
    font: 500 14px Inter;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    cursor: pointer
}

.tab svg {
    width: 20px
}

.tab.active {
    color: #0563f9;
    font-weight: 600
}

.tab.active:after {
    content: "";
    height: 3px;
    background: #0865ff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1.14fr;
    gap: 12px 16px;
    margin-top: 16px
}

.card {
    border: 1px solid #e0e6ef;
    border-radius: 7px;
    box-shadow: var(--shadow);
    background: #fff;
    padding: 17px
}

.card-title {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 15px
}

.card-title h2 {
    font-size: 16px;
    margin: 2px 0 7px
}

.card-title p {
    font-size: 12px;
    color: #516098;
    margin: 0
}

.step {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: #0864f8;
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700
}

.outline {
    border: 1px solid #1469ff;
    background: #fff;
    color: #0562f8;
    border-radius: 5px;
    height: 34px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font: 500 12px Inter;
    cursor: pointer
}

.outline svg {
    width: 14px
}

.card-title .outline,
.card-title .status {
    margin-left: auto
}

.status {
    color: #138b37;
    background: #e5f7e8;
    padding: 6px 15px;
    border-radius: 8px;
    font-size: 12px
}

.profile-content {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 18px
}

.photo-block {
    text-align: center
}

.photo-block>img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    background: #cfe1ff
}

.photo-btn {
    margin-top: 8px
}

.photo-btn.disabled,
.photo-btn.uploading {
    opacity: 0.7;
    pointer-events: none;
    cursor: not-allowed;
}

.photo-block small {
    display: block;
    margin-top: 8px;
    line-height: 1.4;
    color: #42518a;
    font-size: 10px
}

.details-list>div {
    display: grid;
    grid-template-columns: 20px 115px 10px minmax(0,1fr) auto;
    align-items: center;
    min-height: 39px;
    border-bottom: 1px solid #e7ebf2;
    font-size: 12px
}

.details-list>div:last-child {
    border-bottom: 0
}

.details-list svg {
    width: 16px
}

.details-list span {
    color: #47558d
}

.details-list strong {
    font-weight: 600;
    color: #07165d;
    min-width: 0
}

.details-list strong[data-field="email"] {
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    font-size: 12px
}

.setting-row {
    width: 100%;
    height: 72px;
    border: 1px solid #dce3ed;
    background: #fff;
    border-radius: 6px;
    margin-bottom: 9px;
    display: grid;
    grid-template-columns: 52px 1fr auto auto;
    align-items: center;
    text-align: left;
    padding: 0 16px;
    cursor: pointer;
    color: #07165d
}

.setting-row:hover {
    border-color: #8ab2ff;
    background: #fbfdff
}

.setting-row>span:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.setting-row b {
    font-size: 14px
}

.setting-row small {
    font-size: 11px;
    color: #566398
}

.setting-row>svg {
    width: 18px
}

.setting-row em {
    font-style: normal;
    color: #138a36;
    background: #e6f7e8;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    margin-right: 12px
}

/* Account & Security: Dynamic Password Card */
.password-setting-row {
    height: auto !important;
    min-height: 74px;
    padding: 14px 16px !important;
    grid-template-columns: 42px 1fr auto !important;
    gap: 14px;
    cursor: default;
}
.password-setting-row .password-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}
.password-setting-row .password-meta-line {
    display: flex;
    align-items: center;
    gap: 10px;
}
.password-setting-row .password-meta-line b {
    font-size: 14px;
    color: #07165d;
}
.password-setting-row .password-details small {
    font-size: 12px;
    color: #566398;
    line-height: 1.45;
}
.password-badge {
    display: inline-flex !important;
    align-items: center;
    font-style: normal;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    line-height: 1.3;
}
.password-badge.active {
    color: #079455 !important;
    background: #e8f8ef !important;
    border: 1px solid #bbf0d0;
}
.password-badge.not-set {
    color: #b54708 !important;
    background: #fffaeb !important;
    border: 1px solid #fedf89;
}
.password-action-btn {
    background: #0d57de;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.password-action-btn:hover {
    background: #0843b2;
    transform: translateY(-1px);
}
.password-action-btn:active {
    transform: translateY(0);
}
.input-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.input-password-wrap input {
    width: 100%;
    padding-right: 42px !important;
}
.pwd-toggle-btn {
    position: absolute;
    right: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}
.pwd-toggle-btn:hover {
    color: #0f172a;
}
.pwd-toggle-btn svg {
    width: 17px;
    height: 17px;
    pointer-events: none;
}
@media (max-width: 620px) {
    .password-setting-row {
        grid-template-columns: 42px 1fr !important;
        grid-template-areas:
            "icon meta"
            "action action";
        row-gap: 12px;
    }
    .password-setting-row .icon-box {
        grid-area: icon;
    }
    .password-setting-row .password-details {
        grid-area: meta;
    }
    .password-setting-row .password-action-btn {
        grid-area: action;
        width: 100%;
    }
}


.icon-box {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: grid;
    place-items: center
}

.icon-box svg {
    width: 22px
}

.icon-box.blue {
    color: #0865ff;
    background: #eef4ff
}

.icon-box.green {
    color: #18a03d;
    background: #effaf1
}

.icon-box.google {
    font: bold 22px Arial;
    color: #4285f4;
    background: #fafafa
}

.preference-row {
    min-height: 49px;
    border: 1px solid #e2e7ef;
    border-radius: 5px;
    margin-bottom: 8px;
    padding: 0 13px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px
}

.preference-row svg {
    width: 21px;
    color: #0664fb
}

.preference-row b {
    min-width: 135px
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-left: auto
}

.chips span {
    background: #edf4ff;
    color: #1262dc;
    padding: 6px 10px;
    border-radius: 5px;
    font-size: 10px
}

.right-value {
    margin-left: auto;
    color: #445286
}

.package-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px
}

.plan-box {
    border: 1px solid #ffd99a;
    background: #fffdf8;
    border-radius: 6px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column
}

.plan-name {
    color: #ff7a00;
    display: grid;
    grid-template-columns: 25px 1fr;
    align-items: center;
    gap: 2px
}

.plan-name svg {
    grid-row: 1/3;
    width: 22px
}

.plan-name b {
    font-size: 14px
}

.plan-name small {
    font-size: 11px
}

.plan-box hr {
    border: 0;
    border-top: 1px solid #f0e2c7;
    width: 100%;
    margin: 15px 0
}

.plan-box>small {
    color: #4d5d91
}

.plan-box>strong {
    color: #13a13e;
    font-size: 17px;
    margin: 10px 0 13px
}

.plan-box>span {
    background: #e5f7e8;
    color: #138b37;
    text-align: center;
    border: 1px solid #bee8c7;
    padding: 8px;
    border-radius: 5px;
    font-size: 11px
}

.payment-box {
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    padding: 10px 12px
}

.payment-box>div:not(.package-buttons) {
    min-height: 36px;
    border-bottom: 1px solid #e7ebf1;
    display: grid;
    grid-template-columns: 20px 120px 10px 1fr;
    align-items: center;
    font-size: 11px
}

.payment-box svg {
    width: 15px
}

.package-buttons {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 12px;
    margin-top: 12px
}

.green-btn {
    background: #159b35;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.green-btn svg {
    width: 15px
}

/* Multiple purchased packages */
.profile-packages-list{display:grid;gap:16px}.purchased-package-card{position:relative;border:1px solid #dce5f2;border-radius:14px;background:#fff;padding:18px;box-shadow:0 8px 24px rgba(16,45,91,.055)}.purchased-package-heading{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;align-items:center}.purchased-package-icon{width:44px;height:44px;border-radius:12px;background:#eef4ff;color:#1265f3;display:grid;place-items:center}.purchased-package-icon svg{width:21px}.purchased-package-heading small{font-size:10px;font-weight:800;letter-spacing:.08em;color:#77849b}.purchased-package-heading h3{margin:3px 0 4px;font-size:16px;color:#071d49}.purchased-package-heading p{margin:0;color:#68758a;font-size:12px}.active-package-badge{display:inline-flex;align-items:center;gap:5px;border:1px solid #bce8ca;background:#ebf9f0;color:#12813a;border-radius:999px;padding:6px 10px;font-size:11px;font-weight:700}.active-package-badge svg{width:13px}.purchased-package-validity{margin:16px 0 14px;padding:13px 15px;border-radius:11px;background:linear-gradient(135deg,#f5f9ff,#f8fbff);border:1px solid #dce8fa;display:flex;align-items:center;justify-content:space-between;gap:12px}.purchased-package-validity div{display:flex;flex-direction:column;gap:4px}.purchased-package-validity small{font-size:9px;font-weight:800;letter-spacing:.08em;color:#708099}.purchased-package-validity strong{font-size:15px;color:#0b3275}.purchased-package-validity>span{border-radius:999px;background:#e7f8ed;color:#118139;padding:7px 11px;font-size:11px;font-weight:700}.purchased-package-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.purchased-package-meta>div{min-width:0;display:flex;gap:9px;align-items:center;padding:10px;border:1px solid #e7ebf2;border-radius:10px;background:#fbfcfe}.purchased-package-meta svg{width:16px;color:#1769ed;flex:none}.purchased-package-meta span{min-width:0;font-size:10px;color:#718097}.purchased-package-meta small{display:block;margin-top:3px;color:#152c56;font-weight:700;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.open-package-link{margin-top:14px;height:36px;border-radius:9px;background:#1265ef;color:#fff;display:flex;align-items:center;justify-content:center;gap:7px;font-size:12px;font-weight:700;text-decoration:none}.open-package-link:hover{background:#0757d9}.open-package-link svg{width:14px}.package-footer-actions{max-width:470px;margin:18px 0 0 auto}.package-loading-card{height:238px;border:1px solid #e1e7f0;border-radius:14px;padding:22px;background:#fff}.package-loading-line{display:block;width:54%;height:15px;margin-bottom:15px;border-radius:7px;background:linear-gradient(100deg,#eef2f7 30%,#fafcff 48%,#eef2f7 66%);background-size:220% 100%;animation:profilePackageLoading 1.1s ease-in-out infinite}.package-loading-line.wide{width:76%;height:22px}.package-loading-line.short{width:36%}@keyframes profilePackageLoading{to{background-position-x:-220%}}.package-empty-state,.package-load-error{border:1px dashed #ccd8e9;border-radius:14px;padding:25px;display:flex;align-items:center;gap:14px;color:#60708a}.package-empty-state>span{width:45px;height:45px;border-radius:12px;background:#eef4ff;color:#1769ed;display:grid;place-items:center}.package-empty-state b,.package-load-error b{color:#102750}.package-empty-state p,.package-load-error p{margin:4px 0 0;font-size:12px}.package-empty-state>a{margin-left:auto;color:#0d60ea;font-weight:700;font-size:12px}.package-load-error>svg{color:#e37a13}@media(max-width:900px){.purchased-package-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.purchased-package-heading{grid-template-columns:40px minmax(0,1fr)}.active-package-badge{grid-column:1/-1;width:max-content}.purchased-package-validity{align-items:flex-start;flex-direction:column}.purchased-package-meta{grid-template-columns:1fr}.package-footer-actions{max-width:none}.package-empty-state{align-items:flex-start;flex-wrap:wrap}.package-empty-state>a{margin-left:59px}}

.secure-note {
    text-align: center;
    padding: 19px 0 3px;
    color: #2a3b79;
    font-size: 12px
}

.secure-note svg {
    width: 15px;
    vertical-align: middle;
    margin-right: 8px
}

footer {
    height: 51px;
    border-top: 1px solid #e4e9f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    font-size: 11px;
    color: #1d2e72
}

footer nav {
    display: flex;
    gap: 14px;
    align-items: center
}

footer a {
    color: #1d2e72;
    text-decoration: none
}

footer i {
    height: 14px;
    width: 1px;
    background: #283a75
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 14, 49, .45);
    display: none;
    place-items: center;
    z-index: 100
}

.modal.open {
    display: grid
}

.modal-card {
    width: min(560px, 92vw);
    max-height: 85vh;
    overflow: auto;
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .25)
}

.modal-card h3 {
    margin: 0 0 20px;
    font-size: 20px
}

.profile-form-error{min-height:18px;margin:10px 0 0;color:#c62828;font-size:11px;font-weight:600;line-height:1.45}.profile-verification-prompt{text-align:center;padding:2px 4px}.verification-prompt-icon{width:48px;height:48px;margin:0 auto 13px;border-radius:14px;display:grid;place-items:center;color:#087a3d;background:#e9f9f0}.verification-prompt-icon svg{width:24px}.profile-verification-prompt h4{margin:0;color:#0b245b;font-size:18px}.profile-verification-prompt>p{margin:9px auto 0;max-width:410px;color:#52617b;font-size:13px;line-height:1.55}.verification-prompt-note{margin:16px 0 4px;padding:11px 13px;border:1px solid #dbe6f5;border-radius:9px;background:#f7faff;color:#54647e;font-size:11px;line-height:1.45}
.inline-verification-field{height:46px;margin:17px auto 0;display:flex;align-items:center;border:1px solid #cbd8ea;border-radius:9px;overflow:hidden;text-align:left}.inline-verification-field>span{height:100%;padding:0 13px;display:flex;align-items:center;border-right:1px solid #dbe4f0;background:#f7f9fc;color:#17396f;font-size:13px;font-weight:700}.inline-verification-field input,.inline-otp-row input{flex:1;min-width:0;height:100%;padding:0 13px;border:0;outline:0;font:500 13px Inter;color:#132b55}.inline-otp-row{height:46px;margin-top:15px;display:flex;border:1px solid #cbd8ea;border-radius:9px;overflow:hidden}.inline-otp-row[hidden]{display:none}.inline-otp-row button{border-radius:0;padding:0 17px}.profile-inline-status{min-height:17px!important;margin:9px 0 0!important;color:#bd2d2d!important;font-size:11px!important;font-weight:600}.profile-inline-status.success{color:#087a3d!important}

.modal-close {
    position: absolute;
    right: 15px;
    top: 12px;
    border: 0;
    background: none;
    font-size: 28px;
    color: #334274;
    cursor: pointer
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.field label {
    display: block;
    font-size: 12px;
    margin-bottom: 6px
}

.field input,
.field select {
    width: 100%;
    height: 40px;
    border: 1px solid #d5ddea;
    border-radius: 6px;
    padding: 0 11px;
    font: 13px Inter
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px
}

.primary {
    height: 38px;
    border: 0;
    border-radius: 6px;
    background: #0864f8;
    color: #fff;
    padding: 0 20px;
    font-weight: 600
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #0e8d3d;
    color: #fff;
    padding: 12px 18px;
    border-radius: 7px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
    opacity: 0;
    transform: translateY(15px);
    transition: .25s;
    z-index: 99999;
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: none
}

@media(max-width:1150px) {
    .search {
        margin-left: 80px
    }

    .dashboard-grid {
        grid-template-columns: 1fr
    }

    .sidebar {
        width: 205px;
        flex-basis: 205px
    }

    .package-card {
        grid-column: auto
    }
}

@media(max-width:800px) {
    .sidebar {
        position: fixed;
        left: -230px;
        transition: .25s
    }

    .sidebar.open {
        left: 0
    }

    .topbar {
        padding: 0 14px
    }

    .search {
        margin-left: 18px;
        width: auto;
        flex: 1
    }

    .search svg:last-child {
        display: none
    }

    .profile-trigger {
        display: none
    }

    .content-wrap {
        padding: 16px 12px
    }

    .tabs {
        overflow-x: auto;
        display: flex
    }

    .tab {
        min-width: 190px
    }

    .dashboard-grid {
        grid-template-columns: 1fr
    }

    .profile-content,
    .package-layout {
        grid-template-columns: 1fr
    }

    .photo-block {
        text-align: left
    }

    .photo-block>img {
        width: 110px;
        height: 110px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    footer {
        display: none
    }
}

@media(max-width:520px) {
    .top-avatar {
        display: none
    }

    .page-heading h1 {
        font-size: 24px
    }

    .card {
        padding: 13px
    }

    .details-list>div {
        grid-template-columns: 18px 100px 8px 1fr
    }

    .package-buttons {
        grid-template-columns: 1fr
    }

    .setting-row {
        grid-template-columns: 45px 1fr auto
    }

    .setting-row em {
        display: none
    }
}

/* Common ExamTier student shell */
.sidebar{position:fixed;inset:0 auto 0 0;width:258px;flex-basis:auto;height:100vh;padding:22px 18px;background:#fff;overflow-y:auto;overflow-x:hidden;transition:width .25s ease;scrollbar-width:thin;scrollbar-color:#b8c2d2 transparent}
.sidebar::-webkit-scrollbar{width:6px}.sidebar::-webkit-scrollbar-thumb{background:#b8c2d2;border-radius:20px}
.brand{height:auto;min-height:78px;padding:2px 6px 18px;border:0;display:flex;align-items:center}.brand a{display:inline-flex;align-items:center;max-width:100%}.brand-logo{display:block;width:175px;max-width:100%;height:auto}.brand-mark{display:none}
.side-nav{padding:0;display:flex;flex-direction:column;gap:6px}.side-nav a{height:auto;min-height:0;margin:0;padding:12px;border-radius:7px;gap:15px;font-size:14px}.side-nav a>i{width:19px;text-align:center;font-size:17px;color:#071b52;flex:0 0 19px}.side-nav a.active{background:#edf5ff;color:#0d57de;font-weight:600}.side-nav a.active::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:3px;border-radius:0 3px 3px 0;background:#1467f3}.side-nav a.active>i{color:#0d57de}.side-nav hr{width:100%;height:1px;border:0;background:#dfe6f1;margin:8px 5px}.side-nav a.with-badge em{margin-left:auto;width:22px;height:22px;font-size:11px}
.main-area{margin-left:258px;width:calc(100% - 258px);transition:margin-left .25s ease,width .25s ease}.topbar{height:74px;padding:0 30px;gap:28px}.search{margin:auto;width:min(540px,50vw);height:42px;border-radius:8px}.top-actions{gap:15px}.bell-btn{display:grid;place-items:center;text-decoration:none;width:34px;height:38px}.bell-btn svg{width:20px}.profile-trigger{padding:5px 7px;border-radius:9px;gap:10px;text-align:left}.profile-trigger:hover{background:#f2f6ff}.top-avatar{width:39px;height:39px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#2268f5,#3d8cff);color:#fff;overflow:hidden;flex:none}.top-avatar img{display:none;width:100%;height:100%;object-fit:cover}.top-avatar>i{font-size:17px}.header-profile-copy{display:flex;flex-direction:column;line-height:1.25;min-width:80px}.header-profile-copy strong{font-size:14px}.header-profile-copy small{color:#5d6b8a;margin-top:3px;font-size:11px}.profile-menu{top:calc(100% + 10px);z-index:100}.profile-menu svg{width:22px;height:22px;stroke-width:2.2}.content-wrap{padding:28px 30px 18px}
.sidebar.collapsed{width:78px;padding:12px;overflow:visible}.sidebar.collapsed .brand{justify-content:center;min-height:58px;padding:0 0 12px}.sidebar.collapsed .brand a{display:grid;place-items:center;width:44px;height:44px}.sidebar.collapsed .brand-logo{display:none}.sidebar.collapsed .brand-mark{display:block;width:38px;height:38px}.sidebar.collapsed .side-nav{gap:4px}.sidebar.collapsed .side-nav a{justify-content:center;gap:0;padding:10px}.sidebar.collapsed .side-nav a span,.sidebar.collapsed .side-nav a em{display:none}.sidebar.collapsed .side-nav a>i{width:22px;flex-basis:22px}.sidebar.collapsed .side-nav hr{margin:8px 5px}.sidebar.collapsed .side-nav a::after{content:attr(data-tooltip);position:absolute;left:calc(100% + 13px);top:50%;z-index:200;transform:translate(6px,-50%);padding:8px 11px;border-radius:6px;background:#0b1f5e;color:#fff;font-size:12px;font-weight:600;line-height:1;white-space:nowrap;box-shadow:0 6px 18px rgba(11,31,94,.2);opacity:0;visibility:hidden;pointer-events:none;transition:.15s}.sidebar.collapsed .side-nav a:hover::after,.sidebar.collapsed .side-nav a:focus-visible::after{opacity:1;visibility:visible;transform:translate(0,-50%)}.main-area.sidebar-collapsed{margin-left:78px;width:calc(100% - 78px)}
@media(max-width:820px){.sidebar{left:0;transform:translateX(-100%);width:258px}.sidebar.open{transform:translateX(0)}.main-area,.main-area.sidebar-collapsed{margin-left:0;width:100%}.search{margin-left:18px}.profile-trigger{display:flex}.header-profile-copy{display:none}}
@media(max-width:560px){.search{display:none}.top-actions{margin-left:auto}.top-avatar{display:grid}}

/* Match the Dashboard notification badge */
.bell-btn{position:relative;color:var(--navy);padding:8px;font-size:19px}
.bell-btn span{position:absolute;right:-2px;top:-2px;width:18px;height:18px;padding:0;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;background:#ef3030;color:#fff;font-size:10px;font-weight:700;line-height:1}

/* Match the expanded sidebar vertical spacing used on the other pages */
@media (min-width:821px){
  .sidebar:not(.collapsed) .brand{
    min-height:106px;
    padding:2px 6px 18px;
  }
}
/* Shared header notification control */
.bell,.bell-button,.notification-button,.notification-btn,.bell-btn{position:relative;width:38px;height:38px;padding:8px;border:0;border-radius:8px;background:transparent;color:#0b1f5e;text-decoration:none;display:grid;place-items:center;flex:0 0 38px}
.bell:hover,.bell-button:hover,.notification-button:hover,.notification-btn:hover,.bell-btn:hover{background:#f2f6ff}
.bell>i,.bell-button>i,.notification-button>i,.notification-btn>i,.bell-btn>i{font-size:19px;line-height:1;color:#0b1f5e}
.bell>svg,.bell-button>svg,.notification-button>svg,.notification-btn>svg,.bell-btn>svg{width:19px;height:19px;stroke-width:2}
.bell>b,.bell-button>b,.notification-button>span,.notification-btn>.notification-dot,.notification-btn>.top-badge,.bell-btn>span{position:absolute;right:-2px;top:-2px;width:18px;min-width:18px;height:18px;padding:0;border:2px solid #fff;border-radius:50%;background:#ef3030;color:#fff;font-size:10px;font-weight:700;line-height:14px;display:grid;place-items:center}
/* Shared secondary-page breadcrumb */
.page-breadcrumb{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#687696;font-size:12px;font-weight:500;line-height:1.2}
.page-breadcrumb a{color:#1769ff;text-decoration:none}
.page-breadcrumb a:hover{text-decoration:underline}
.page-breadcrumb>span:first-of-type{color:#9aa7bd;font-size:16px;line-height:12px}
.page-breadcrumb>span:last-child{color:#687696}


/* =========================================================
   Shared student top-right profile standard
========================================================= */
.profile-trigger{
  gap:10px !important;
  padding:5px 7px !important;
  border-radius:9px !important;
  background:transparent !important;
  text-align:left !important;
  transition:background .18s ease !important;
}
.profile-trigger:hover,
.profile-trigger:focus-visible{
  background:#f2f6ff !important;
  outline:none !important;
}
.top-avatar{
  width:39px !important;
  height:39px !important;
  min-width:39px !important;
  flex:0 0 39px !important;
  border-radius:50% !important;
}
.header-profile-copy{
  min-width:104px !important;
  max-width:180px !important;
  line-height:1.25 !important;
}
.header-profile-copy strong{
  display:block !important;
  max-width:180px !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
}
.header-profile-copy small{
  margin-top:3px !important;
  font-size:11px !important;
  line-height:1.2 !important;
}
.profile-trigger > i:last-child,
.profile-trigger > svg:last-child{
  width:14px !important;
  height:14px !important;
  min-width:14px !important;
  flex:none !important;
}

/* Professional profile settings layout */
.tb-profile-pro{--pp-navy:#071b52;--pp-blue:#1769ff;--pp-green:#16a34a;--pp-ink:#101828;--pp-text:#344054;--pp-muted:#667085;--pp-bg:#f6f8fc;--pp-line:#e5eaf1;--pp-shadow:0 8px 24px rgba(16,24,40,.05);background:var(--pp-bg);color:var(--pp-ink)}
.tb-profile-pro .content-wrap{padding:26px 30px 28px;background:var(--pp-bg)}
.tb-profile-pro .page-heading{margin-bottom:22px}.tb-profile-pro .page-heading h1{font-size:27px;letter-spacing:-.45px;color:var(--pp-ink)}.tb-profile-pro .page-heading p{color:var(--pp-muted);font-size:13.5px}
.tb-profile-pro .tabs{position:absolute;width:250px;height:auto;margin:0;padding:10px;display:flex;flex-direction:column;gap:5px;border:1px solid var(--pp-line);border-radius:14px;background:#fff;box-shadow:var(--pp-shadow)}
.tb-profile-pro .tabs:before{content:"Profile Settings";padding:8px 10px 11px;margin-bottom:3px;border-bottom:1px solid #edf0f4;color:var(--pp-ink);font-size:12px;font-weight:700}
.tb-profile-pro .tab{width:100%;min-height:50px;height:auto;padding:0 12px;justify-content:flex-start;gap:12px;border-radius:10px;color:#475467;font:600 13px Inter,sans-serif}.tb-profile-pro .tab svg{width:18px;height:18px}.tb-profile-pro .tab:hover{background:#f6f8fc;color:var(--pp-navy)}.tb-profile-pro .tab.active{color:#0d57de;background:#edf4ff;font-weight:700}.tb-profile-pro .tab.active:after{width:3px;height:28px;left:0;right:auto;top:50%;bottom:auto;transform:translateY(-50%);border-radius:0 3px 3px 0}
.tb-profile-pro .dashboard-grid{display:block;margin:0 0 0 270px;min-height:560px}.tb-profile-pro .dashboard-grid>.card{width:100%;min-height:560px}.tb-profile-pro .dashboard-grid>.card[hidden]{display:none!important}.tb-profile-pro .dashboard-grid>.card.active-panel{display:block}
.tb-profile-pro .card{padding:25px 26px;border:1px solid var(--pp-line);border-radius:14px;box-shadow:var(--pp-shadow)}.tb-profile-pro .card-title{align-items:center;padding-bottom:18px;margin-bottom:22px;border-bottom:1px solid #edf0f4}.tb-profile-pro .card-title .step{width:38px;height:38px;border-radius:10px;background:#eef4ff;color:var(--pp-blue)}.tb-profile-pro .card-title .step svg{width:18px}.tb-profile-pro .card-title h2{font-size:17px;color:var(--pp-ink)}.tb-profile-pro .card-title p{font-size:12px;color:var(--pp-muted)}
.tb-profile-pro .profile-content{grid-template-columns:190px minmax(0,1fr);gap:28px}.tb-profile-pro .photo-block{padding:22px 16px;border:1px solid #edf0f4;border-radius:12px;background:#fafbfc}.tb-profile-pro .photo-block>img{width:126px;height:126px;border:4px solid #fff;box-shadow:0 8px 22px rgba(7,27,82,.1)}.tb-profile-pro .details-list{border:1px solid #edf0f4;border-radius:12px;overflow:hidden}.tb-profile-pro .details-list>div{min-height:51px;padding:0 15px;grid-template-columns:20px 135px 10px minmax(0,1fr) auto;font-size:12.5px}.tb-profile-pro .details-list>div:hover{background:#fafcff}
.tb-profile-pro .setting-row{min-height:76px;height:auto;padding:12px 14px;border-radius:11px;border-color:var(--pp-line)}.tb-profile-pro .setting-row:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(16,24,40,.045)}.tb-profile-pro .icon-box{width:38px;height:38px;border-radius:9px}
.tb-profile-pro .preference-row{min-height:64px;padding:10px 14px;border-radius:10px}.tb-profile-pro .chips span{border-radius:999px;font-size:10.5px;font-weight:600}
.tb-profile-pro .package-layout{grid-template-columns:260px minmax(0,1fr);gap:16px}.tb-profile-pro .plan-box,.tb-profile-pro .payment-box{border-radius:12px}.tb-profile-pro .plan-box{background:linear-gradient(145deg,#fbfdff,#f5f8ff);border-color:#dce6f4}
.tb-profile-pro .secure-note{margin-left:270px;color:var(--pp-muted)}
@media(max-width:1050px){.tb-profile-pro .tabs{position:static;width:100%;flex-direction:row;overflow-x:auto;padding:6px}.tb-profile-pro .tabs:before{display:none}.tb-profile-pro .tab{min-width:180px;justify-content:center}.tb-profile-pro .tab.active:after{width:auto;height:3px;left:18px;right:18px;top:auto;bottom:0;transform:none}.tb-profile-pro .dashboard-grid{margin:14px 0 0}.tb-profile-pro .secure-note{margin-left:0}}
@media(max-width:800px){.tb-profile-pro .content-wrap{padding:18px 14px}.tb-profile-pro .dashboard-grid>.card{min-height:auto}.tb-profile-pro .profile-content,.tb-profile-pro .package-layout{grid-template-columns:1fr}.tb-profile-pro .photo-block{text-align:center}}
@media(max-width:520px){.tb-profile-pro .card{padding:17px 14px}.tb-profile-pro .tab{min-width:165px}.tb-profile-pro .package-buttons{grid-template-columns:1fr}}

/* Profile Package Details: Separation of Purchased and Included Packages */
.profile-packages-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.packages-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 2px 8px;
  border-bottom: 1px solid #e7ecf4;
  margin-bottom: 2px;
}
.packages-group-header h3 {
  margin: 0 0 3px;
  font-size: 15px;
  color: #0b2257;
  font-weight: 700;
}
.packages-group-header p {
  margin: 0;
  font-size: 11px;
  color: #5c6b84;
}
.group-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #eef4ff;
  color: #1265f3;
  border: 1px solid #d5e4fb;
  white-space: nowrap;
}
.group-count-badge.included {
  background: #f0fdf4;
  color: #15803d;
  border-color: #bbf7d0;
}
.included-package-card {
  border-color: #e0e9f6;
  background: #fbfdff;
}
.included-package-icon {
  background: #edf7ed !important;
  color: #16a34a !important;
}
.included-kicker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669 !important;
  font-size: 9.5px !important;
  font-weight: 800 !important;
  letter-spacing: .06em !important;
}
.included-kicker svg {
  width: 12px;
  height: 12px;
}
.included-badge {
  background: #e6f7ed !important;
  border-color: #bce8ca !important;
  color: #0a7b3c !important;
}
.included-package-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e3ebf7;
}
.included-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.included-info-item svg {
  width: 18px;
  height: 18px;
  color: #1769ed;
  flex: none;
}
.included-info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.included-info-item small {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .07em;
  color: #708099;
}
.included-info-item strong {
  font-size: 12px;
  color: #0b2c65;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.days-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: #eaf8ee;
  color: #15803d;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 5px;
}
@media (max-width: 768px) {
  .included-package-info {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Compact account dropdown matching the approved dashboard visual. */
.profile-menu{width:220px;padding:7px;border:1px solid #dfe6f2;border-radius:10px;background:#fff;box-shadow:0 12px 36px rgba(29,48,85,.13)}.profile-menu a,.profile-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:11px 10px;border-radius:6px;font-size:13px;font-weight:400;text-align:left;color:#14204a;background:transparent;text-decoration:none}.profile-menu a:hover,.profile-menu button:hover{background:#f0f5fe}.profile-menu svg{width:17px;height:17px;stroke-width:1.8;color:#0b1f5e}.profile-menu .danger{color:#14204a}.profile-menu hr{height:1px;border:0;background:#dfe6f2;margin:7px 6px}.profile-trigger[aria-expanded="true"]>svg:last-child{transform:rotate(180deg)}
