:root {
    --account-ink: #002362;
    --account-muted: #64748b;
    --account-blue: #5ACF89;
    --account-navy: #002362;
    --account-line: rgba(90, 207, 137, 0.35);
    --account-green: #5ACF89;
    --account-red: #b93842;
}

.account-page {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 8% 5%, rgba(90, 207, 137, 0.16), transparent 19.51rem),
        radial-gradient(circle at 90% 8%, rgba(0, 35, 98, 0.14), transparent 21.68rem),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 52%, #f1f5f9 100%);
    color: var(--account-ink);
    font-family: "Open Sans", sans-serif;
}

.account-page *,
.account-page *::before,
.account-page *::after {
    box-sizing: border-box;
}

.account-shell {
    width: min(1320px, calc(100% - 48px));
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px 0 48px;
}

.account-back {
    display: inline-flex;
    align-items: center;
    gap: 5.12px;
    min-height: 30.35px;
    padding: 5.76px 10.24px;
    border: 1px solid #e2e8f0;
    border-radius: 721.78px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--account-ink);
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 7.22px 20.23px rgba(0, 35, 98, 0.08);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.account-back i {
    display: inline-block;
    -webkit-text-stroke: 1px;
    transition: transform 0.2s ease;
}

.account-back:hover,
.account-back:focus {
    color: var(--account-blue);
    border-color: var(--account-blue);
    background: #ffffff;
    outline: none;
}

.account-back:hover i,
.account-back:focus i {
    transform: translateX(-3px);
}



.account-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180.62px;
    align-items: center;
    gap: 32px;
    padding: 38.4px 14.08px 26.88px;
}

.account-kicker {
    display: inline-flex;
    align-items: center;
    gap: 5.12px;
    margin-bottom: 10.24px;
    padding: 4.48px 7.04px;
    border: 1px solid #bbf2d0;
    border-radius: 721.78px;
    background: rgba(255, 255, 255, 0.72);
    color: #5ACF89;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-hero h1 {
    margin: 0;
    color: var(--account-ink);
    font-family: "Dela Gothic One", sans-serif;
    font-size: clamp(27.45px, 5.06vw, 52.02px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
}

.account-hero h1 span {
    color: var(--account-blue);
}

.account-hero > div > p {
    max-width: 680px;
    margin: 12.8px 0 0;
    color: var(--account-muted);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.75;
}

.account-hero__mark {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    width: 166.17px;
    aspect-ratio: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 35% 65% 60% 40% / 43% 39% 61% 57%;
    background: linear-gradient(140deg, #002362 0%, #093485 50%, #5ACF89 100%);
    color: #ffffff;
    box-shadow: 0 20px 42px rgba(0, 35, 98, 0.26), 0 8px 24px rgba(90, 207, 137, 0.35);
    transform: rotate(3deg);
    animation: blob-float 8s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    overflow: hidden;
}

.account-hero__mark::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.28) 0%, transparent 55%);
    pointer-events: none;
}

.account-hero__mark:hover {
    transform: rotate(6deg) scale(1.05);
    box-shadow: 0 26px 52px rgba(0, 35, 98, 0.32), 0 12px 32px rgba(90, 207, 137, 0.48);
}

@keyframes blob-float {
    0%, 100% {
        transform: rotate(3deg) translateY(0);
        border-radius: 35% 65% 60% 40% / 43% 39% 61% 57%;
    }
    50% {
        transform: rotate(0deg) translateY(-6px);
        border-radius: 46% 54% 52% 48% / 54% 44% 56% 46%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .account-hero__mark {
        animation: none;
    }
}

.account-hero__mark i {
    position: relative;
    z-index: 1;
    font-size: 50.57px;
    filter: drop-shadow(0 2px 8px rgba(0, 35, 98, 0.3));
}

.account-hero__mark span {
    position: relative;
    z-index: 1;
    margin-top: 6.4px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 35, 98, 0.3);
}

.account-card,
.admin-panel {
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 18.79px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18.79px 50.57px rgba(0, 35, 98, 0.1);
    backdrop-filter: blur(13.01px);
}

.account-card__heading {
    margin-bottom: 12.8px;
    text-align: center;
}

.account-card__heading p,
.future-panel div > p:first-child,
.admin-heading p,
.member-card p {
    margin: 0 0 3px;
    color: #5ACF89;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.account-card__heading h2,
.future-panel h2,
.admin-heading h2,
.member-card h2 {
    margin: 0;
    color: var(--account-ink);
    font-size: 15.89px !important;
    font-weight: 900;
}

.account-card__heading span {
    display: block;
    margin-top: 4.48px;
    color: var(--account-muted);
    font-size: 10px;
    font-weight: 650;
}

.auth-tabs {
    display: flex;
    width: min(346.8px, 100%);
    gap: 4.48px;
    margin: 0 auto 11.52px;
    padding: 3.2px;
    border: 1px solid var(--account-line);
    border-radius: 10.12px;
    background: #f8fafc;
}

.auth-tab {
    flex: 1;
    min-height: 28.9px;
    border: 0;
    border-radius: 7.22px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
}

.auth-tab.is-active {
    background: #ffffff;
    color: var(--account-blue);
    box-shadow: 0 5.06px 13.01px rgba(0, 35, 98, 0.1);
}

.auth-form {
    display: grid;
    width: min(404.6px, 100%);
    gap: 8.32px;
    margin: 0 auto;
}

.signup-name-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8.96px;
}

.auth-form label,
.settings-form label {
    display: grid;
    gap: 4.48px;
}

.auth-form label span,
.settings-form label span {
    color: #475569;
    font-size: 10px;
    font-weight: 800;
}

.auth-form input:not([type="checkbox"]),
.settings-form input:not([type="checkbox"]),
.settings-form select {
    width: 100%;
    min-height: 36.12px;
    padding: 0 8.96px;
    border: 1px solid var(--account-line);
    border-radius: 9.39px;
    background: #fbfdff;
    color: var(--account-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    outline: 0;
}

.auth-form input:not([type="checkbox"]):focus,
.settings-form input:not([type="checkbox"]):focus,
.settings-form select:focus {
    border-color: #5ACF89;
    box-shadow: 0 0 0 3px rgba(90, 207, 137, 0.2);
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 30.72px;
}

.password-toggle {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 30.35px;
    height: 30.35px;
    border: 0;
    background: transparent;
    color: var(--account-muted);
    font-size: 11.56px;
    cursor: pointer;
    border-radius: 6.5px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.password-toggle:hover {
    color: var(--account-blue);
    background-color: rgba(90, 207, 137, 0.08);
}

.password-toggle:focus {
    outline: 0;
    color: var(--account-blue);
}

/* Custom Switch Toggle */
.custom-toggle {
    position: relative;
    display: inline-block;
    width: 31.79px;
    height: 17.34px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.custom-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    min-height: 0 !important;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--account-line);
    transition: 0.3s;
    border-radius: 17.34px;
}

.toggle-slider::before {
    position: absolute;
    content: "";
    height: 13.01px;
    width: 13.01px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 3px rgba(16, 27, 53, 0.15);
}

.custom-toggle input:checked + .toggle-slider {
    background-color: var(--account-blue);
}

.custom-toggle input:focus + .toggle-slider {
    box-shadow: 0 0 0 3px rgba(90, 207, 137, 0.25);
}

.custom-toggle input:checked + .toggle-slider::before {
    transform: translateX(14.45px);
}

.auth-helper-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -3px;
    margin-bottom: 3.84px;
}

.forgot-password-btn {
    border: 0;
    background: transparent;
    color: var(--account-blue);
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.forgot-password-btn:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.account-primary-btn,
.account-secondary-btn,
.admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5.12px;
    min-height: 34.68px;
    border-radius: 9.39px;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.account-primary-btn {
    border: 1px solid #002362;
    background: linear-gradient(135deg, #002362, #5ACF89);
    color: #ffffff;
    box-shadow: 0 10.12px 20.23px rgba(90, 207, 137, 0.25);
}

.auth-user {
    display: grid;
    gap: 10.24px;
}

.member-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 9.6px;
    padding: 10.88px;
    border: 1px solid var(--account-line);
    border-radius: 13.01px;
    background: #f8fbff;
}

.member-avatar {
    display: grid;
    place-items: center;
    width: 39.02px;
    height: 39.02px;
    border-radius: 13.01px;
    background: linear-gradient(135deg, #002362, #5ACF89);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
}

.member-card div > span {
    display: block;
    margin-top: 3px;
    color: var(--account-muted);
    font-size: 10px;
    font-weight: 650;
}

.member-name-row {
    display: inline-flex;
    align-items: center;
    gap: 5.12px;
    max-width: 100%;
}

.edit-profile-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20.23px;
    height: 20.23px;
    padding: 0;
    border: 1px solid #bbf2d0;
    border-radius: 5.78px;
    background: #ffffff;
    color: var(--account-blue);
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4.33px rgba(0, 35, 98, 0.05);
}

.edit-profile-trigger:hover {
    background: #e6f9ef;
    color: #5ACF89;
    border-color: #bbf2d0;
    transform: translateY(-1px);
    box-shadow: 0 3px 7.22px rgba(0, 35, 98, 0.1);
}

.edit-profile-trigger:active {
    transform: translateY(0);
}

.edit-profile-trigger:focus {
    outline: 0;
    border-color: #5ACF89;
    box-shadow: 0 0 0 3px rgba(90, 207, 137, 0.2);
}

.member-role {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    padding: 4.48px 6.4px;
    border: 1px solid #bbf2d0;
    border-radius: 721.78px;
    background: #e6f9ef;
    color: #5ACF89;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

.member-role.is-admin {
    border-color: #ffc3c9;
    background: #fff0f2;
    color: #bd3443;
}

.account-secondary-btn {
    min-height: 30.35px;
    padding: 0 8.32px;
    border: 1px solid var(--account-line);
    background: #ffffff;
    color: #455571;
}

.future-panel {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 9.6px;
    padding: 12.8px;
    border: 1px dashed #e2e8f0;
    border-radius: 13.01px;
    background: linear-gradient(135deg, #f1f7ff, #f8fffd);
}

.future-panel > span {
    display: grid;
    place-items: center;
    width: 39.74px;
    height: 39.74px;
    border-radius: 13.01px;
    background: #ffffff;
    color: #5ACF89;
    font-size: 17.34px;
    box-shadow: 0 7.22px 17.34px rgba(0, 35, 98, 0.1);
}

.future-panel div > p:last-child {
    margin: 4.48px 0 0;
    color: var(--account-muted);
    font-size: 10px;
    font-weight: 650;
    line-height: 1.65;
    text-transform: none;
    letter-spacing: 0;
}

.account-status {
    display: none;
    align-items: center;
    gap: 5.12px;
    margin-top: 8.96px;
    padding: 7.04px 8.32px;
    border-radius: 8.67px;
    font-size: 10px;
    font-weight: 750;
}

.account-status.is-visible {
    display: flex;
}

.account-status.is-error {
    border: 1px solid #efb9bf;
    background: #fff2f3;
    color: #9f303d;
}

.account-status.is-success {
    border: 1px solid #acdcca;
    background: #effcf7;
    color: #087153;
}

.admin-panel {
    margin-top: 12.8px;
    background:
        radial-gradient(circle at 100% 0%, rgba(204, 55, 73, 0.1), transparent 13.73rem),
        rgba(255, 255, 255, 0.9);
}

.admin-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12.8px;
    margin-bottom: 11.52px;
}

.admin-heading div > span {
    display: block;
    margin-top: 4.48px;
    color: var(--account-muted);
    font-size: 10px;
    font-weight: 650;
}

.admin-count {
    flex: 0 0 auto;
    padding: 6.4px 8.96px;
    border: 1px solid #f0c5ca;
    border-radius: 9.39px;
    background: #fff1f3;
    color: #a13b46;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.admin-count strong {
    display: block;
    color: #bd3443;
    font-size: 13.01px;
    font-weight: 900;
}

.admin-list {
    display: grid;
    gap: 7.04px;
}

.admin-empty {
    padding: 19.2px;
    border: 1px dashed #e2e8f0;
    border-radius: 11.56px;
    color: var(--account-muted);
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}

.admin-payment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 11.52px;
    padding: 11.52px;
    border: 1px solid var(--account-line);
    border-radius: 12.28px;
    background: rgba(251, 253, 255, 0.94);
}

.admin-payment__top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5.76px;
}

.admin-payment h3 {
    margin: 0;
    color: var(--account-ink);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.6;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.admin-payment__amount {
    color: #5ACF89;
    font-size: 11px;
    font-weight: 900;
}

.admin-payment__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4.48px 8.32px;
    margin-top: 5.76px;
    color: var(--account-muted);
    font-size: 9px;
    font-weight: 700;
}

.admin-payment__meta code {
    color: #002362;
    font: inherit;
    font-weight: 900;
    user-select: all;
}

.admin-payment__message {
    margin: 5.76px 0 0;
    color: #64748b;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.55;
}

.admin-payment__actions {
    display: flex;
    align-items: center;
    gap: 4.48px;
}

.admin-action {
    min-height: 30.35px;
    padding: 0 8.32px;
    border: 1px solid transparent;
}

.admin-action--approve {
    border-color: var(--account-green);
    background: var(--account-green);
    color: #ffffff;
}

.admin-action--reject {
    border-color: #edb8be;
    background: #fff2f3;
    color: var(--account-red);
}

.admin-action:disabled,
.account-primary-btn:disabled {
    cursor: wait;
    opacity: 0.55;
}

.account-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 11.52px;
    padding: 16px 3.84px 0;
    color: #718099;
    font-size: 10px;
    font-weight: 700;
}

.account-footer a {
    color: #5ACF89;
    font-weight: 900;
    text-decoration: none;
}

.account-footer__links {
    display: flex;
    align-items: center;
    gap: 10.24px;
}

[hidden] {
    display: none !important;
}

@media (max-width: 760px) {
    .account-hero {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 21.76px;
        padding: 28.8px 5.12px 21.76px;
        text-align: center;
    }

    .account-hero__mark {
        width: 137.28px;
    }

    .member-card {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .member-card .member-role,
    .member-card .account-secondary-btn {
        grid-column: 1 / -1;
    }

    .admin-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-count {
        align-self: flex-start;
    }

    .admin-payment {
        grid-template-columns: 1fr;
    }

    .admin-payment__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
        gap: 6.4px;
    }

    .admin-payment__actions .admin-action {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 520px) {
    .account-shell {
        width: min(100% - 20px, 1320px);
        padding-top: 16px;
    }

    .account-card,
    .admin-panel {
        padding: 10.88px;
        border-radius: 14.45px;
    }

    .account-hero h1 {
        font-size: clamp(26.01px, 9.39vw, 41.9px);
    }

    .future-panel {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .future-panel > span {
        margin: 0 auto;
    }

    .admin-payment__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .account-footer {
        flex-direction: column;
        align-items: center;
        gap: 7.68px;
        text-align: center;
    }

    .account-footer__links {
        justify-content: center;
        width: 100%;
    }
}

/* Settings Panel */
.settings-panel {
    display: grid;
    gap: 10.24px;
}

.settings-section {
    padding: 12.8px;
    border: 1px solid var(--account-line);
    border-radius: 13.01px;
    background: #ffffff;
}

.settings-section h3 {
    margin-bottom: 7.68px;
    color: #002362;
    font-size: 11px;
    font-weight: 850;
}

.settings-form {
    display: grid;
    gap: 7.68px;
}

.settings-form .account-primary-btn {
    justify-self: start;
    min-width: 101.15px;
    margin-top: 3px;
}

.danger-zone {
    border-color: #ffd1d5;
    background: #fff8f8;
}

.danger-zone h3 {
    color: #bd3443;
}

.danger-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10.24px;
    flex-wrap: wrap;
}

.danger-box h4 {
    margin: 0;
    color: #8c1e2b;
    font-size: 11px;
    font-weight: 800;
}

.danger-box p {
    margin: 3px 0 0;
    color: #a84c56;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.4;
}

.danger-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5.12px;
    min-height: 28.9px;
    padding: 6.4px 10.24px;
    border: 1px solid #ffccd0;
    border-radius: 8.67px;
    background: #ffffff;
    color: #bd3443;
    font-family: inherit;
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    transition: all 0.2s ease;
}

.danger-btn:hover {
    background: #bd3443;
    color: #ffffff;
    border-color: #bd3443;
    box-shadow: 0 3px 8.67px rgba(189, 52, 67, 0.15);
}

.auth-form textarea,
.settings-form textarea {
    width: 100%;
    min-height: 72.25px;
    padding: 8.96px;
    border: 1px solid var(--account-line);
    border-radius: 9.39px;
    background: #fbfdff;
    color: var(--account-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    outline: 0;
    resize: vertical;
}

.auth-form textarea:focus,
.settings-form textarea:focus {
    border-color: #5ACF89;
    box-shadow: 0 0 0 3px rgba(90, 207, 137, 0.2);
}

/* Admin Tabs & Sections */
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 4.48px;
    margin: 11.52px 0 15.36px;
    padding: 3.2px;
    border: 1px solid var(--account-line);
    border-radius: 10.12px;
    background: #f8fafc;
}

.admin-tab {
    flex: 1;
    min-width: 72.25px;
    min-height: 28.9px;
    border: 0;
    border-radius: 7.22px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 11px;
    font-weight: 850;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5.12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-tab:hover {
    color: var(--account-blue);
}

.admin-tab.is-active {
    background: #ffffff;
    color: var(--account-blue);
    box-shadow: 0 5.06px 13.01px rgba(0, 35, 98, 0.1);
}

.admin-section {
    animation: fadeInAdmin 0.3s ease;
}

@keyframes fadeInAdmin {
    from { opacity: 0; transform: translateY(5.78px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Jodit WYSIWYG Editor Styling Overrides */

/* Apply custom font to UI chrome only — NOT to editor content children */
.jodit-container,
.jodit-toolbar-button,
.jodit-toolbar-button *,
.jodit-ui-button,
.jodit-ui-button *,
.jodit-dialog,
.jodit-dialog *,
.jodit-popup,
.jodit-popup *,
.jodit-dropdown,
.jodit-dropdown *,
.jodit-status-bar,
.jodit-status-bar * {
    font-family: "Open Sans", sans-serif !important;
}

/* Editor content area: set defaults WITHOUT !important so Jodit's
   inline formatting (bold, color, font, etc.) is visible in real-time */
.jodit-wysiwyg {
    background-color: #fbfdff !important;
    color: var(--account-ink);
    font-family: "Open Sans", sans-serif;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
}

/* Ensure Jodit's formatting elements are never overridden */
.jodit-wysiwyg strong,
.jodit-wysiwyg b {
    font-weight: bold;
}

.jodit-wysiwyg em,
.jodit-wysiwyg i {
    font-style: italic;
}

.jodit-wysiwyg u {
    text-decoration: underline;
}

.jodit-wysiwyg s,
.jodit-wysiwyg strike,
.jodit-wysiwyg del {
    text-decoration: line-through;
}



/* Theming the container border & background */
.jodit-container {
    border: 1px solid var(--account-line) !important;
    border-radius: 9.39px !important;
    overflow: hidden;
    background: #ffffff !important;
    box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.02) !important;
}

.jodit-toolbar__box {
    border-bottom: 1px solid var(--account-line) !important;
    background-color: #f6f9fc !important;
}

.jodit-status-bar {
    border-top: 1px solid var(--account-line) !important;
    background-color: #f6f9fc !important;
}

/* Active Sessions */
.sessions-list {
    display: grid;
    gap: 7.68px;
    margin-top: 9.6px;
}

.session-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7.68px 10.24px;
    background: #f8fafc;
    border: 1px solid var(--account-line);
    border-radius: 8.67px;
    gap: 7.68px;
}

.session-info {
    display: flex;
    align-items: center;
    gap: 7.68px;
}

.session-icon {
    font-size: 13.01px;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 23.12px;
    height: 23.12px;
    background: #e2e8f0;
    border-radius: 5.78px;
}

.session-details {
    display: flex;
    flex-direction: column;
}

.session-device {
    font-size: 11px;
    font-weight: 700;
    color: #1f2937;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}


.session-meta {
    font-size: 10px;
    color: #6b7280;
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.session-location {
    display: inline-flex;
    align-items: center;
    gap: 3.5px;
    color: #374151;
    font-weight: 650;
}

.session-location i {
    color: #5ACF89;
    font-size: 10px;
}

.session-dot {
    color: #cbd5e1;
    font-size: 8px;
}

.old-session-meta {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.session-badge {
    display: inline-block;
    padding: 2px 3.84px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 4.33px;
    font-size: 9px;
    font-weight: 750;
    margin-left: 5.12px;
}

.session-logout-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 5.78px;
    color: #ef4444;
    padding: 3.84px 7.68px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.2s ease;
}

.session-logout-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
}

/* Minimalist Face & Glasses Eyes Styling */
.auth-eyes-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 65.02px;
    margin-top: -3.2px;
    margin-bottom: 7.68px;
    overflow: hidden;
    position: relative;
    pointer-events: none;
}

.minimal-face-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5.12px;
    width: 100%;
}

.face-eyebrows {
    display: flex;
    gap: 21.76px;
    justify-content: center;
    width: 100%;
}

.eyebrow {
    width: 23.12px;
    height: 3px;
    background: #002362;
    border-radius: 2px;
    transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

.face-glasses {
    display: flex;
    gap: 11.52px;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Glasses Bridge Connector */
.face-glasses::before {
    content: '';
    position: absolute;
    top: 13.01px;
    left: calc(50% - 7.22px);
    width: 14.45px;
    height: 5.78px;
    border: 2px solid #002362;
    border-bottom: 0;
    border-radius: 8.67px 8.67px 0 0;
    z-index: 2;
}

.glass-lens {
    width: 34.68px;
    height: 34.68px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #002362;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 
        0 3px 8.67px rgba(0, 35, 98, 0.06),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* Diagonal glass reflection highlight sitting in front of eyelids */
.glass-lens::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 50%);
    pointer-events: none;
    z-index: 2; /* forces the reflection on top of the sliding eyelids for deep glass effect */
}

.minimal-pupil {
    width: 13.01px;
    height: 13.01px;
    background: #002362;
    border-radius: 50%;
    position: absolute;
    z-index: 0;
    filter: drop-shadow(0 2px 3px rgba(16, 27, 53, 0.15)); /* depth shadow */
}

/* spec reflection glint */
.minimal-pupil::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 3px;
    height: 3px;
    background: #ffffff;
    border-radius: 50%;
}

/* Eyelid overlay sliding inside the lens */
.eyelid-overlay {
    position: absolute;
    top: -105%;
    left: -2%;
    width: 104%;
    height: 104%;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 2px solid #002362;
    transition: top 0.22s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Eyelid Closed state */
.glass-lens.is-closed .eyelid-overlay {
    top: 0;
}

/* Eyelid Peeking state */
.glass-lens.is-peeking .eyelid-overlay {
    top: -45%;
}

/* Secure Session Loading Placeholder Card */
.auth-loading-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38.4px 25.6px;
    background: #ffffff;
    border: 1px solid var(--account-line);
    border-radius: 17.34px;
    box-shadow: 
        0 7.22px 21.68px rgba(0, 35, 98, 0.04),
        inset 0 1px 2px rgba(255, 255, 255, 0.8);
    min-height: 274.55px;
    text-align: center;
}

.auth-spinner {
    width: 30.35px;
    height: 30.35px;
    border: 3px solid rgba(90, 207, 137, 0.15);
    border-top-color: var(--account-blue);
    border-radius: 50%;
    animation: authSpin 0.75s cubic-bezier(0.42, 0, 0.58, 1) infinite;
    margin-bottom: 14.08px;
}

.auth-loading-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--account-muted);
    letter-spacing: 0.03em;
    animation: authPulse 1.6s ease-in-out infinite;
    margin: 0;
}

@keyframes authSpin {
    to { transform: rotate(360deg); }
}

@keyframes authPulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

/* ── Logged-in Devices / Sessions Panel ───────────────────────── */
.sessions-list {
    display: grid;
    gap: 6.4px;
}

.session-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6.4px;
    padding: 7.68px 8.96px;
    background: #f8fafc;
    border: 1px solid var(--account-line, #e2e8f0);
    border-radius: 8.67px;
}

.session-info {
    display: flex;
    align-items: center;
    gap: 6.4px;
    min-width: 0;
    flex: 1;
}

.session-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26.01px;
    height: 26.01px;
    border-radius: 5.78px;
    font-size: 12.28px;
}

.session-icon--active { background: #e6f9ef; color: #5ACF89; }
.session-icon--guest  { background: #e2e8f0; color: #6b7280; }

.session-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.session-device {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3.84px;
    font-size: 11px;
    font-weight: 700;
    color: #1f2937;
}

.session-badge {
    display: inline-block;
    padding: 2px 4.48px;
    border-radius: 4.33px;
    font-size: 9px;
    font-weight: 750;
    white-space: nowrap;
}

.session-badge--active { background: #dcfce7; color: #15803d; }
.session-badge--guest  { background: #f1f5f9; color: #64748b; }

.session-meta {
    font-size: 10px;
    color: #6b7280;
    margin-top: 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.session-this-device {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 700;
    color: #15803d;
    white-space: nowrap;
}

.session-signout-others {
    flex-shrink: 0;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 5.78px;
    color: #ef4444;
    padding: 3.2px 6.4px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.session-signout-others:hover {
    background: #fff1f2;
    border-color: #fecaca;
}

@media (max-width: 420px) {
    .session-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .session-this-device,
    .session-signout-others {
        align-self: flex-end;
        margin-top: 3px;
    }
    .session-meta {
        white-space: normal;
    }
}

/* ── Admin Panel Mobile Responsiveness ───────────────────────── */
@media (max-width: 640px) {
    .admin-panel {
        padding: 10.24px !important;
    }

    .admin-heading {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5.12px !important;
    }

    .admin-heading h2 {
        font-size: 11.56px !important;
    }

    .admin-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding: 3.2px !important;
        gap: 3.2px !important;
        scrollbar-width: none !important;
    }

    .admin-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .admin-tab {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 0 7.68px !important;
        font-size: 11px !important;
        min-width: auto !important;
    }

    .signup-name-grid {
        grid-template-columns: 1fr !important;
        gap: 7.68px !important;
    }

    .admin-panel form.settings-form {
        padding: 8.96px !important;
        margin: 8.96px 0 !important;
        border-radius: 10.12px !important;
    }

    .admin-panel form.settings-form div[style*="display: flex"] {
        flex-direction: column !important;
        width: 100% !important;
    }

    .admin-panel form.settings-form button {
        width: 100% !important;
        justify-content: center !important;
    }

    .admin-payment {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 7.68px !important;
    }

    .admin-payment__top {
        flex-wrap: wrap !important;
        gap: 3.84px !important;
    }

    .admin-payment__actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 5.12px !important;
    }
}

