html, body.sehich-auth-body {
    margin: 0;
    min-height: 100%;
    background: #fff;
}

body.sehich-auth-body {
    overflow: hidden;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}

body.sehich-auth-body #wpadminbar {
    direction: ltr;
}

.sehich-auth-page,
.sehich-auth-page * {
    box-sizing: border-box;
}

.sehich-auth-page {
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #111827;
}

.sehich-auth-poem,
.sehich-auth-form-side {
    width: 50%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    position: relative;
}

.sehich-auth-poem {
    background:
        radial-gradient(circle at 12% 16%, rgba(236, 72, 153, .16), transparent 28%),
        radial-gradient(circle at 88% 88%, rgba(109, 40, 217, .15), transparent 36%),
        linear-gradient(180deg, #fff9fb 0%, #f5edff 100%);
}

.sehich-auth-form-side {
    background:
        radial-gradient(circle at 15% 18%, rgba(6, 182, 212, .16), transparent 30%),
        radial-gradient(circle at 82% 80%, rgba(109, 40, 217, .12), transparent 36%),
        linear-gradient(180deg, #f8fbff 0%, #ecfeff 100%);
}

.sehich-auth-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 50%;
    width: 42px;
    transform: translateX(50%);
    z-index: 3;
    background:
        linear-gradient(180deg, rgba(236, 72, 153, .18), rgba(255,255,255,.86), rgba(6, 182, 212, .20)),
        radial-gradient(circle, rgba(255,255,255,.95), transparent 70%);
    box-shadow: 0 0 45px rgba(109, 40, 217, .18);
}

.sehich-auth-divider:before,
.sehich-auth-divider:after {
    content: "✿";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(109, 40, 217, .5);
    font-size: 28px;
}

.sehich-auth-divider:before { top: 30px; }
.sehich-auth-divider:after { bottom: 30px; }

.sehich-auth-poem-card {
    width: min(560px, 100%);
    text-align: center;
    padding: 24px 24px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 34px;
    background: rgba(255,255,255,.52);
    backdrop-filter: blur(10px);
    box-shadow: 0 28px 85px rgba(109, 40, 217, .12);
}

.sehich-auth-logo {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 16px 32px rgba(17,24,39,.12);
    margin-bottom: 14px;
}

.sehich-auth-poem-card h1 {
    margin: 0;
    color: #3b246a;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1.35;
    font-weight: 900;
}

.sehich-auth-subtitle {
    margin: 10px 0 24px;
    color: #675b7c;
    line-height: 1.9;
    font-weight: 700;
}

.sehich-auth-poem-text {
    font-family: 'Noto Nastaliq Urdu', 'IranNastaliq', 'B Nazanin', serif;
    color: #5b2f86;
    font-size: clamp(20px, 2.4vw, 29px);
    line-height: 1.85;
}

.sehich-auth-poem-text span {
    display: block;
}

.sehich-auth-poem-footer {
    margin: 26px 0 0;
    color: #7c5e99;
    font-weight: 800;
    line-height: 1.8;
}

.sehich-auth-flower {
    position: absolute;
    right: 0;
    left: 0;
    text-align: center;
    font-size: 36px;
    color: rgba(196, 89, 150, .78);
    letter-spacing: 10px;
    pointer-events: none;
    text-shadow: 0 10px 26px rgba(196, 89, 150, .18);
}

.sehich-auth-flower--top { top: 28px; }
.sehich-auth-flower--bottom { bottom: 28px; }

.sehich-auth-card {
    width: min(470px, 100%);
    padding: 22px;
    max-height: calc(100vh - 44px);
    max-height: calc(100dvh - 44px);
    overflow: auto;
    border-radius: 32px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 28px 80px rgba(6, 32, 64, .13);
    position: relative;
    z-index: 5;
}

.sehich-auth-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(109, 40, 217, .10), rgba(6, 182, 212, .10));
    color: #4c3a75;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 10px;
}

.sehich-auth-role-pills,
.sehich-auth-tabs {
    display: grid;
    gap: 7px;
    background: #f4f3fb;
    border-radius: 18px;
    padding: 6px;
    margin-bottom: 8px;
}

.sehich-auth-role-pills {
    grid-template-columns: repeat(3, 1fr);
}

.sehich-auth-tabs {
    grid-template-columns: repeat(3, 1fr);
}

.sehich-auth-role-pill,
.sehich-auth-tab {
    border: 0;
    border-radius: 14px;
    background: transparent;
    min-height: 42px;
    cursor: pointer;
    color: #706989;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    transition: .18s ease;
}

.sehich-auth-role-pill.is-active,
.sehich-auth-tab.is-active {
    color: var(--sehich-auth-primary, #6d28d9);
    background: #fff;
    box-shadow: 0 10px 22px rgba(109, 40, 217, .12);
}

.sehich-auth-panel {
    display: none;
}

.sehich-auth-panel.is-active {
    display: block;
    animation: sehichAuthFade .2s ease;
}

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

.sehich-auth-card label {
    display: block;
    margin: 8px 2px 5px;
    color: #374151;
    font-size: 13px;
    font-weight: 900;
}

.sehich-auth-card label span {
    color: #8b5cf6;
    font-size: 12px;
}

.sehich-auth-card input,
.sehich-auth-card select {
    width: 100%;
    min-height: 42px;
    border: 1px solid #d8daf1;
    border-radius: 16px;
    outline: none;
    padding: 9px 12px;
    background: #fcfcff;
    color: #111827;
    font: inherit;
    font-size: 14px;
    transition: .18s ease;
}

.sehich-auth-card input:focus,
.sehich-auth-card select:focus {
    border-color: var(--sehich-auth-primary, #6d28d9);
    box-shadow: 0 0 0 4px rgba(109, 40, 217, .10);
}

.sehich-auth-btn {
    border: 0;
    min-height: 42px;
    padding: 12px 16px;
    border-radius: 16px;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
    transition: .18s ease;
}

.sehich-auth-btn:hover {
    transform: translateY(-1px);
}

.sehich-auth-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.sehich-auth-btn--primary {
    width: 100%;
    margin-top: 10px;
    color: #fff;
    background: linear-gradient(135deg, var(--sehich-auth-primary, #6d28d9), #9f7aea);
    box-shadow: 0 15px 30px rgba(109, 40, 217, .22);
}

.sehich-auth-btn--secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--sehich-auth-secondary, #06b6d4), #67e8f9);
    white-space: nowrap;
}

.sehich-auth-inline {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

.sehich-auth-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 8px;
    color: #8b87a0;
    font-size: 13px;
    font-weight: 800;
}

.sehich-auth-separator:before,
.sehich-auth-separator:after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e7e7f3;
}

.sehich-auth-timer {
    margin: 10px 2px 4px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 800;
}

.sehich-auth-help,
.sehich-auth-note {
    margin: 9px 0;
    color: #6b7280;
    line-height: 1.9;
    font-size: 13px;
    font-weight: 700;
}

.sehich-auth-note {
    text-align: center;
    margin-bottom: 0;
}

.sehich-auth-alert {
    display: none;
    padding: 12px 14px;
    border-radius: 14px;
    margin: 9px 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

.sehich-auth-alert.is-success {
    display: block;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.sehich-auth-alert.is-error {
    display: block;
    background: #fff1f2;
    border: 1px solid #fecdd3;
    color: #be123c;
}

.sehich-auth-symbol {
    position: absolute;
    color: var(--sehich-auth-primary, #6d28d9);
    opacity: .10;
    font-size: 82px;
    font-weight: 900;
    pointer-events: none;
}

.sehich-auth-symbol--one { top: 70px; right: 70px; }
.sehich-auth-symbol--two { bottom: 80px; left: 70px; color: var(--sehich-auth-secondary, #06b6d4); }
.sehich-auth-symbol--three { top: 44%; left: 12%; font-size: 64px; color: #f97316; }


@media (max-width: 980px) {
    body.sehich-auth-body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .sehich-auth-page {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow: visible;
    }

    .sehich-auth-form-side {
        order: 1;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 24px 16px;
    }

    .sehich-auth-poem {
        order: 2;
        width: 100%;
        min-height: 100vh;
        min-height: 100dvh;
        height: auto;
        padding: 72px 16px 48px;
    }

    .sehich-auth-divider {
        display: none;
    }

    .sehich-auth-card {
        max-height: none;
        overflow: visible;
        padding: 20px;
        border-radius: 24px;
    }

    .sehich-auth-poem-card {
        padding: 28px 18px;
    }
}

@media (max-width: 620px) {
    .sehich-auth-inline {
        grid-template-columns: 1fr;
    }

    .sehich-auth-tabs,
    .sehich-auth-role-pills {
        grid-template-columns: 1fr;
    }

    .sehich-auth-poem-text {
        font-size: 22px;
    }

    .sehich-auth-flower {
        font-size: 26px;
        letter-spacing: 5px;
    }
}



/* ===== v1024 login logo alignment fix ===== */
.sehich-auth-poem-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sehich-auth-logo {
    display: block;
    width: 108px;
    height: 108px;
    object-fit: contain;
    object-position: center center;
    box-sizing: border-box;
    padding: 8px;
    border-radius: 30px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 18px 38px rgba(17, 24, 39, .12);
    margin: 0 auto 18px;
}

@media (max-width: 980px) {
    .sehich-auth-logo {
        width: 96px;
        height: 96px;
        padding: 7px;
        margin-bottom: 16px;
    }
}

@media (max-width: 640px) {
    .sehich-auth-logo {
        width: 88px;
        height: 88px;
        padding: 6px;
        border-radius: 26px;
        margin-bottom: 14px;
    }
}
