/* =====================================================================
   ACCOUNT / AUTH PAGES  (Views/Account/*)
   Single-brand palette: Admark pink + neutrals (white / ink / slate).
   Self-contained — no new Tailwind classes, so no Tailwind rebuild.
   RTL-aware via logical properties.
   ===================================================================== */
:root {
    --acc-pink: #FF007F;
    --acc-pink-d: #D9006C;
    --acc-pink-dd: #A80054;
    --acc-pink-50: #FFF0F7;
    --acc-pink-100: #FFE0EF;
    --acc-pink-200: #FFC2DF;
    --acc-pink-300: #FF8FC5;
    --acc-ink: #0F172A;
    --acc-text: #334155;
    --acc-muted: #64748B;
    --acc-faint: #94A3B8;
    --acc-line: #E2E8F0;
    --acc-soft: #F8FAFC;
    --acc-ease: cubic-bezier(.22, 1, .36, 1);
    /* 8-point star (khatam) tile — Najdi / Islamic geometric motif */
    --acc-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Crect x='19' y='19' width='26' height='26'/%3E%3Crect x='19' y='19' width='26' height='26' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Cpath d='M0 0l9 9M64 0l-9 9M0 64l9-9M64 64l-9-9M32 0v4M32 64v-4M0 32h4M64 32h-4'/%3E%3C/g%3E%3C/svg%3E");
    --acc-star-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23FF007F' stroke-width='1'%3E%3Crect x='19' y='19' width='26' height='26'/%3E%3Crect x='19' y='19' width='26' height='26' transform='rotate(45 32 32)'/%3E%3Ccircle cx='32' cy='32' r='5'/%3E%3Cpath d='M0 0l9 9M64 0l-9 9M0 64l9-9M64 64l-9-9M32 0v4M32 64v-4M0 32h4M64 32h-4'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Page canvas ---------- */
.acc-page {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    overflow: clip;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 160px);
    padding: 48px 16px 64px;
    background: linear-gradient(180deg, #FFF7FB 0%, #F7F7FA 55%, #FFF5FA 100%);
}

    .acc-page::before { /* faint pink geometric pattern */
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background-image: var(--acc-star-pink);
        background-size: 64px 64px;
        opacity: .06;
        -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
        mask-image: radial-gradient(ellipse at center, #000 20%, transparent 72%);
    }

.acc-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.acc-orb--1 { width: 640px; height: 640px; top: -260px; inset-inline-start: -240px; background: radial-gradient(circle, rgba(255, 194, 223, .55) 0%, rgba(255, 194, 223, 0) 65%); }
.acc-orb--2 { width: 560px; height: 560px; bottom: -260px; inset-inline-end: -200px; background: radial-gradient(circle, rgba(255, 224, 239, .8) 0%, rgba(255, 224, 239, 0) 65%); }

/* ---------- Shell (card) ---------- */
.acc-shell {
    position: relative;
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    overflow: clip;
    border: 1px solid rgba(255, 0, 127, .08);
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 40px 90px -40px rgba(168, 0, 84, .35);
    animation: accRise .5s var(--acc-ease) both;
}

    .acc-shell::before { /* brand strip — mobile / solo cards */
        content: "";
        position: absolute;
        top: 0;
        inset-inline: 0;
        height: 4px;
        z-index: 2;
        background: linear-gradient(90deg, var(--acc-pink-d), var(--acc-pink), var(--acc-pink-300));
    }

.acc-shell--wide { max-width: 1200px; }
.acc-shell--solo { max-width: 560px; }

@media (min-width: 1024px) {
    .acc-shell { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
    .acc-shell--wide { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
    .acc-shell--solo { grid-template-columns: minmax(0, 1fr); }
    .acc-shell:not(.acc-shell--solo)::before { display: none; }
}

/* ---------- Brand aside (pink) ---------- */
.acc-aside {
    display: none;
    position: relative;
    overflow: hidden;
    overflow: clip;
    color: #fff;
    padding: 52px 46px;
    background: linear-gradient(155deg, #FF2A92 0%, var(--acc-pink) 40%, var(--acc-pink-d) 75%, var(--acc-pink-dd) 100%);
}

@media (min-width: 1024px) {
    .acc-aside { display: block; }
}

    .acc-aside::before { /* geometric pattern */
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background-image: var(--acc-star);
        background-size: 64px 64px;
        opacity: .13;
        -webkit-mask-image: linear-gradient(200deg, #000 10%, transparent 80%);
        mask-image: linear-gradient(200deg, #000 10%, transparent 80%);
    }

    .acc-aside::after { /* arch — echoes Najdi doorways */
        content: "";
        position: absolute;
        width: 420px;
        height: 560px;
        bottom: -300px;
        inset-inline-end: -150px;
        border: 1.5px solid rgba(255, 255, 255, .22);
        border-radius: 210px 210px 0 0;
        pointer-events: none;
        box-shadow: 0 0 0 26px rgba(255, 255, 255, .05), 0 0 0 54px rgba(255, 255, 255, .03);
    }

.acc-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.acc-glow--1 { width: 460px; height: 460px; top: -200px; inset-inline-start: -170px; background: radial-gradient(circle, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 65%); }
.acc-glow--2 { width: 440px; height: 440px; bottom: -160px; inset-inline-start: 20%; background: radial-gradient(circle, rgba(168, 0, 84, .55) 0%, rgba(168, 0, 84, 0) 65%); }

.acc-aside-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.acc-shell--wide .acc-aside-inner {
    position: sticky;
    top: 120px;
    min-height: 0;
}

.acc-eyebrow {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .28);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

    .acc-eyebrow .acc-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
    }

.acc-aside h2 {
    margin: 26px 0 14px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
    color: #fff;
}

.acc-aside p.acc-aside-sub {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .86);
    max-width: 36ch;
}

.acc-points {
    list-style: none;
    margin: 32px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

    .acc-points li {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 14px;
        border-radius: 16px;
        background: rgba(255, 255, 255, .1);
        border: 1px solid rgba(255, 255, 255, .16);
        font-size: 14px;
        font-weight: 600;
        color: #fff;
        transition: background-color .3s ease;
    }

        .acc-points li:hover { background: rgba(255, 255, 255, .17); }

.acc-point-ico {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: #fff;
    color: var(--acc-pink);
    font-size: 14px;
    box-shadow: 0 8px 18px -10px rgba(80, 0, 40, .6);
}

.acc-aside-foot {
    margin-top: auto;
    padding-top: 40px;
}

.acc-shell--wide .acc-aside-foot { margin-top: 0; }

.acc-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.acc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    background: var(--acc-pink-50);
    color: var(--acc-pink-d);
}

.acc-chip--light {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .26);
    color: #fff;
}

/* ---------- Main (form side) ---------- */
.acc-main { padding: 34px 22px 30px; }

@media (min-width: 640px) {
    .acc-main { padding: 44px 48px 40px; }
}

@media (min-width: 1024px) {
    .acc-main { padding: 48px 60px 48px; }
}

/* segmented Sign in / Create account switch */
.acc-tabs {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 5px;
    margin-bottom: 30px;
    border-radius: 16px;
    background: #F4F5F8;
    border: 1px solid #EDEFF4;
}

    .acc-tabs::before { /* sliding pill */
        content: "";
        position: absolute;
        top: 5px;
        bottom: 5px;
        inset-inline-start: 5px;
        width: calc(50% - 5px);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 6px 16px -8px rgba(168, 0, 84, .35), 0 1px 2px rgba(15, 23, 42, .06);
    }

    .acc-tabs[data-active="2"]::before { transform: translateX(100%); }
    .acc-tabs.is-slide[data-active="2"]::before { animation: accTabIn .45s ease .1s both; }

[dir="rtl"] .acc-tabs[data-active="2"]::before { transform: translateX(-100%); }
[dir="rtl"] .acc-tabs.is-slide[data-active="2"]::before { animation-name: accTabInRtl; }

.acc-tabs.is-slide[data-active="1"]::before { animation: accTabBack .45s ease .1s both; }
[dir="rtl"] .acc-tabs.is-slide[data-active="1"]::before { animation-name: accTabBackRtl; }

.acc-tabs a {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: var(--acc-muted);
    text-decoration: none;
    transition: color .25s ease;
}

    .acc-tabs a:hover { color: var(--acc-ink); }
    .acc-tabs a.is-active { color: var(--acc-pink); }

.acc-head { margin-bottom: 26px; }

.acc-head-row { display: flex; align-items: center; gap: 16px; }

.acc-badge {
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
    background: linear-gradient(135deg, var(--acc-pink), var(--acc-pink-d));
    box-shadow: 0 14px 28px -12px rgba(255, 0, 127, .6);
}


.acc-kicker {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--acc-pink);
    margin: 0;
}

.acc-title {
    margin: 4px 0 0;
    font-size: clamp(26px, 3.6vw, 34px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--acc-ink);
}

.acc-sub {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--acc-muted);
    max-width: 50ch;
}

/* ---------- Form + fields ---------- */
.acc-form { display: grid; gap: 18px; }

.acc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--acc-text);
}

    .acc-label .acc-req { color: var(--acc-pink); margin-inline-start: 2px; }
    .acc-label .acc-opt { font-weight: 500; color: var(--acc-faint); font-size: 12px; }

.acc-control { position: relative; }

    .acc-control > .acc-ico {
        position: absolute;
        top: 50%;
        inset-inline-start: 17px;
        transform: translateY(-50%);
        font-size: 14px;
        color: var(--acc-faint);
        pointer-events: none;
        transition: color .2s ease;
    }

    .acc-control:focus-within > .acc-ico { color: var(--acc-pink); }

.acc-input {
    display: block;
    width: 100%;
    height: 52px;
    padding-inline: 46px 16px;
    border: 1.5px solid var(--acc-line);
    border-radius: 14px;
    background: var(--acc-soft);
    font: inherit;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--acc-ink);
    outline: none;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

    .acc-input::placeholder { color: #A3AFC2; font-weight: 400; }
    .acc-input:hover { border-color: var(--acc-pink-200); }

    .acc-input:focus {
        border-color: var(--acc-pink);
        background: #fff;
        box-shadow: 0 0 0 4px rgba(255, 0, 127, .12);
    }

    .acc-input.acc-has-eye { padding-inline-end: 52px; }
    .acc-input.acc-no-ico { padding-inline-start: 16px; }

    .acc-input.input-validation-error {
        border-color: var(--acc-pink);
        background: var(--acc-pink-50);
    }

.acc-eye {
    position: absolute;
    top: 50%;
    inset-inline-end: 8px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--acc-faint);
    cursor: pointer;
    transition: color .2s, background-color .2s;
}

    .acc-eye:hover { color: var(--acc-pink); background: var(--acc-pink-50); }
    .acc-eye:focus-visible { outline: 2px solid var(--acc-pink); outline-offset: 1px; }

.acc-error,
.acc-form .field-validation-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--acc-pink-d);
}

.acc-hint {
    margin-top: 8px;
    font-size: 12px;
    color: var(--acc-muted);
    display: flex;
    gap: 6px;
    align-items: center;
}

    .acc-hint i { color: var(--acc-pink); }

.acc-caps {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    color: var(--acc-pink-d);
    transition: max-height .3s var(--acc-ease), opacity .25s, margin .3s;
}

    .acc-caps.is-on { max-height: 24px; opacity: 1; margin-top: 8px; }

/* strength meter — global.js writes multi-colour Tailwind classes; remap to pink shades */
.acc-meter { display: flex; gap: 6px; margin-top: 10px; margin-bottom: 4px; }
    .acc-meter > div { transition: background-color .35s ease; }
    .acc-meter > .bg-gray-100 { background-color: #EEF0F4 !important; }
    .acc-meter > .bg-red-400 { background-color: var(--acc-pink-200) !important; }
    .acc-meter > .bg-amber-400 { background-color: var(--acc-pink-300) !important; }
    .acc-meter > .bg-yellow-400 { background-color: var(--acc-pink) !important; }
    .acc-meter > .bg-emerald-500 { background-color: var(--acc-pink-d) !important; }

.acc-page .text-emerald-500 { color: var(--acc-pink-d) !important; }
.acc-page .text-red-400 { color: var(--acc-faint) !important; }

.acc-grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }

@media (min-width: 640px) {
    .acc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.acc-span-2 { grid-column: 1 / -1; }

/* phone prefix */
.acc-phone { display: flex; gap: 10px; }
    .acc-phone .acc-control { flex: 1; min-width: 0; }

.acc-prefix {
    flex-shrink: 0;
    height: 52px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border: 1.5px solid var(--acc-pink-100);
    border-radius: 14px;
    background: var(--acc-pink-50);
    font-weight: 800;
    font-size: 14px;
    color: var(--acc-pink-d);
    direction: ltr;
}

/* ---------- Register: stepper ---------- */
.acc-stepper {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    counter-reset: none;
}

    .acc-stepper li {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-align: center;
        font-size: 12px;
        font-weight: 700;
        color: var(--acc-faint);
        transition: color .3s;
    }

        .acc-stepper li::before { /* connector */
            content: "";
            position: absolute;
            top: 17px;
            inset-inline-start: calc(-50% + 22px);
            width: calc(100% - 44px);
            height: 2px;
            border-radius: 2px;
            background: linear-gradient(90deg, var(--acc-pink) 50%, #E9ECF2 50%) 100% 0 / 200% 100%;
            transition: background-position .5s ease;
        }

[dir="rtl"] .acc-stepper li::before { background: linear-gradient(270deg, var(--acc-pink) 50%, #E9ECF2 50%) 0 0 / 200% 100%; }

.acc-stepper li:first-child::before { display: none; }

.acc-stepper .acc-dotnum {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--acc-faint);
    background: #fff;
    border: 2px solid #E9ECF2;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}

    .acc-stepper .acc-dotnum i { display: none; font-size: 12px; }

.acc-stepper li.is-active,
.acc-stepper li.is-done { color: var(--acc-ink); }

    .acc-stepper li.is-active .acc-dotnum {
        color: var(--acc-pink);
        border-color: var(--acc-pink);
        box-shadow: 0 0 0 5px rgba(255, 0, 127, .12);
    }

    .acc-stepper li.is-done .acc-dotnum {
        color: #fff;
        background: var(--acc-pink);
        border-color: var(--acc-pink);
    }

        .acc-stepper li.is-done .acc-dotnum span { display: none; }
        .acc-stepper li.is-done .acc-dotnum i { display: inline; }

    .acc-stepper li.is-active::before,
    .acc-stepper li.is-done::before { background-position: 0 0; }

[dir="rtl"] .acc-stepper li.is-active::before,
[dir="rtl"] .acc-stepper li.is-done::before { background-position: 100% 0; }

/* ---------- Register sections ---------- */
.acc-section {
    padding: 22px;
    border: 1px solid #EDEFF4;
    border-radius: 20px;
    background: #fff;
    transition: border-color .25s ease, box-shadow .3s ease;
}

    .acc-section:focus-within {
        border-color: rgba(255, 0, 127, .3);
        box-shadow: 0 18px 36px -24px rgba(255, 0, 127, .45);
    }

@media (min-width: 640px) {
    .acc-section { padding: 26px; }
}

.acc-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }

.acc-step {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--acc-pink);
    background: var(--acc-pink-50);
    transition: background-color .25s ease, color .25s ease;
}

.acc-section:focus-within .acc-step {
    background: var(--acc-pink);
    color: #fff;
}

.acc-section-title { margin: 0; font-size: 15.5px; font-weight: 800; color: var(--acc-ink); }
.acc-section-note { margin: 2px 0 0; font-size: 12.5px; color: var(--acc-muted); }

/* ---------- Buttons ---------- */
.acc-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--acc-pink) 0%, var(--acc-pink-d) 100%);
    box-shadow: 0 14px 26px -14px rgba(255, 0, 127, .75);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

    .acc-btn::after { /* shine sweep */
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        width: 45%;
        z-index: -1;
        background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
        transform: translateX(-120%) skewX(-20deg);
        transition: transform .7s ease;
    }

    .acc-btn:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 18px 30px -16px rgba(255, 0, 127, .8);
    }

        .acc-btn:hover::after { transform: translateX(260%) skewX(-20deg); }

    .acc-btn:active { transform: translateY(0); }
    .acc-btn:focus-visible { outline: 3px solid rgba(255, 0, 127, .35); outline-offset: 3px; }
    .acc-btn > * { transition: opacity .2s; }

.acc-btn-arrow { transition: transform .25s ease !important; }
.acc-btn:hover .acc-btn-arrow { transform: translateX(3px); }
[dir="rtl"] .acc-btn-arrow { transform: scaleX(-1); }
[dir="rtl"] .acc-btn:hover .acc-btn-arrow { transform: scaleX(-1) translateX(3px); }

.acc-btn.is-loading { pointer-events: none; filter: saturate(.9); }
    .acc-btn.is-loading > * { opacity: 0; }

    .acc-btn.is-loading::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 22px;
        height: 22px;
        margin: -11px 0 0 -11px;
        border-radius: 50%;
        border: 2.5px solid rgba(255, 255, 255, .4);
        border-top-color: #fff;
        animation: accSpin .7s linear infinite;
    }

.acc-btn--outline {
    background: #fff;
    color: var(--acc-pink);
    border: 1.5px solid var(--acc-pink-200);
    box-shadow: none;
}

    .acc-btn--outline:hover {
        color: #fff;
        background: var(--acc-pink);
        border-color: var(--acc-pink);
    }

    .acc-btn--outline.is-loading::before { border-color: var(--acc-pink-100); border-top-color: var(--acc-pink); }

/* ---------- Links ---------- */
.acc-link {
    color: var(--acc-pink);
    font-weight: 700;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-repeat: no-repeat;
    background-size: 0 1.5px;
    background-position: 0 100%;
    transition: background-size .35s var(--acc-ease), color .2s;
}

[dir="rtl"] .acc-link { background-position: 100% 100%; }
.acc-link:hover { color: var(--acc-pink-d); background-size: 100% 1.5px; }
.acc-link-sm { font-size: 12.5px; }

/* ---------- Alerts (pink family, icon carries the meaning) ---------- */
.acc-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    padding: 14px 16px;
    border: 1px solid var(--acc-pink-100);
    border-inline-start: 4px solid var(--acc-pink);
    border-radius: 14px;
    background: var(--acc-pink-50);
    color: var(--acc-pink-dd);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.5;
    animation: accFade .4s ease .15s both;
}

    .acc-alert > i { margin-top: 2px; flex-shrink: 0; color: var(--acc-pink); }
    .acc-alert ul { list-style: none; margin: 0; padding: 0; }
    .acc-alert p { margin: 0; }

.acc-alert--ok { background: #fff; color: var(--acc-ink); }
.acc-alert--note { background: #FBFBFD; border-color: #EDEFF4; border-inline-start-color: var(--acc-pink-300); color: var(--acc-text); }

/* ---------- Divider ---------- */
.acc-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--acc-faint);
}

    .acc-divider::before,
    .acc-divider::after { content: ""; flex: 1; height: 1px; background: var(--acc-line); }

/* ---------- Checkbox ---------- */
.acc-check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }

    .acc-check input {
        -webkit-appearance: none;
        appearance: none;
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin: 1px 0 0;
        border: 1.5px solid #CBD5E1;
        border-radius: 6px;
        background: #fff center / 12px no-repeat;
        cursor: pointer;
        transition: background-color .2s ease, border-color .2s ease;
    }

        .acc-check input:hover { border-color: var(--acc-pink-300); }

        .acc-check input:checked {
            border-color: var(--acc-pink);
            background-color: var(--acc-pink);
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E");
        }

        .acc-check input:focus-visible { outline: 3px solid rgba(255, 0, 127, .3); outline-offset: 2px; }

    .acc-check span { font-size: 13px; line-height: 1.6; color: var(--acc-muted); }

/* ---------- Captcha ---------- */
.acc-captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

    .acc-captcha img {
        height: 52px;
        border-radius: 12px;
        border: 1.5px solid var(--acc-line);
        background: var(--acc-soft);
        transition: opacity .3s;
    }

        .acc-captcha img.is-fading { opacity: .3; }

    .acc-captcha .acc-input { flex: 1; min-width: 170px; width: auto; }

.acc-icon-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--acc-line);
    border-radius: 12px;
    background: #fff;
    color: var(--acc-faint);
    cursor: pointer;
    transition: color .2s, border-color .2s, background-color .2s;
}

    .acc-icon-btn:hover { color: var(--acc-pink); border-color: var(--acc-pink-200); background: var(--acc-pink-50); }
    .acc-icon-btn.is-spinning i { animation: accSpin .6s var(--acc-ease); }

/* ---------- Footer bits ---------- */
.acc-foot { margin: 26px 0 0; text-align: center; font-size: 14px; color: var(--acc-muted); }
.acc-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }

/* ---------- Status page (403) ---------- */
.acc-status { padding: 56px 26px 44px; text-align: center; }

@media (min-width: 640px) {
    .acc-status { padding: 64px 52px 52px; }
}

.acc-status-ico {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
    border-radius: 30px;
    display: grid;
    place-items: center;
    font-size: 38px;
    color: var(--acc-pink);
    background: var(--acc-pink-50);
}

    .acc-status-ico::before,
    .acc-status-ico::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 2px solid rgba(255, 0, 127, .3);
        animation: accRing 3.2s ease-out infinite;
    }

    .acc-status-ico::after { display: none; }

.acc-code {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 8px;
    background: var(--acc-pink-50);
    color: var(--acc-pink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.acc-actions { display: grid; gap: 12px; margin-top: 30px; }

@media (min-width: 520px) {
    .acc-actions { grid-template-columns: 1fr 1fr; }
}

.acc-flip { display: inline-block; }
[dir="rtl"] .acc-flip { transform: scaleX(-1); }

/* ---------- External login buttons (partial) ---------- */
.acc-ext-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }

@media (min-width: 640px) {
    .acc-ext-grid.is-multi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Arabic typography ---------- */
[dir="rtl"] .acc-kicker,
[dir="rtl"] .acc-eyebrow,
[dir="rtl"] .acc-divider,
[dir="rtl"] .acc-code { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .acc-title,
[dir="rtl"] .acc-aside h2 { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .acc-kicker { font-size: 13px; }

/* ---------- Entrance choreography ---------- */
.acc-reveal { animation: accUp .45s ease-out both; animation-delay: calc(var(--d, 0) * 40ms + 120ms); }
.acc-aside .acc-reveal { animation-delay: calc(var(--d, 0) * 45ms + 160ms); }

@keyframes accRise { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes accUp { from { opacity: 0; transform: translate3d(0, 8px, 0); } to { opacity: 1; transform: translate3d(0, 0, 0); } }
@keyframes accFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes accSpin { to { transform: rotate(360deg); } }
@keyframes accRing { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes accTabIn { from { transform: translateX(0); } to { transform: translateX(100%); } }
@keyframes accTabInRtl { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@keyframes accTabBack { from { transform: translateX(100%); } to { transform: translateX(0); } }
@keyframes accTabBackRtl { from { transform: translateX(-100%); } to { transform: translateX(0); } }

@media (prefers-reduced-motion: reduce) {
    .acc-page *, .acc-page *::before, .acc-page *::after, .acc-shell {
        animation: none !important;
        transition: none !important;
    }
}
