/**
 * Shashwat Public School - Modern 6 Designer Themes Engine
 * Distributed by TeslaStudio
 * Themes: campus_photo, schoolastica, edtech, classroom, cosmic, scholar
 * Aliases: aurora, royal, sunset, cyber, campus
 */

/* ========================================================
   THEME 1: CAMPUS HERITAGE WALLPAPER (Modeled after school.jpg)
   ======================================================== */
body.auth[data-theme="campus_photo"],
body.auth[data-theme="campus"] {
    --accent: #dc2626;
    --accent-glow: rgba(220, 38, 38, 0.32);
    background: #0f172a;
}
body.auth[data-theme="campus_photo"] .btn-auth-submit,
body.auth[data-theme="campus"] .btn-auth-submit {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}
body.auth[data-theme="campus_photo"] .btn-auth-submit:hover,
body.auth[data-theme="campus"] .btn-auth-submit:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}
body.auth[data-theme="campus_photo"] .role-tab.active,
body.auth[data-theme="campus"] .role-tab.active {
    color: #dc2626;
}

/* ========================================================
   THEME 2: SCHOOLASTICA MODERN (Modeled after original-af2e9645b23c0e03f2a81997b124dfd4.png)
   ======================================================== */
body.auth[data-theme="schoolastica"],
body.auth[data-theme="aurora"] {
    --accent: #10b981;
    --accent-glow: rgba(16, 185, 129, 0.28);
    background: #061e19;
}
body.auth[data-theme="schoolastica"]:not(.has-wallpaper),
body.auth[data-theme="aurora"]:not(.has-wallpaper) {
    background: 
        radial-gradient(circle at 18% 22%, rgba(16, 185, 129, 0.28) 0%, transparent 48%),
        radial-gradient(circle at 82% 78%, rgba(5, 150, 105, 0.22) 0%, transparent 45%),
        #061e19;
}
body.auth[data-theme="schoolastica"] .btn-auth-submit,
body.auth[data-theme="aurora"] .btn-auth-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}
body.auth[data-theme="schoolastica"] .btn-auth-submit:hover,
body.auth[data-theme="aurora"] .btn-auth-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
}
body.auth[data-theme="schoolastica"] .role-tab.active,
body.auth[data-theme="aurora"] .role-tab.active {
    color: #059669;
}

/* ========================================================
   THEME 3: SMART EDTECH BLUE (Modeled after 2dd6202a-aa30-4dae-9764-dd64d4bfbcea-cover.png)
   ======================================================== */
body.auth[data-theme="edtech"],
body.auth[data-theme="royal"] {
    --accent: #2563eb;
    --accent-glow: rgba(37, 99, 235, 0.28);
    background: #0b1c2e;
}
body.auth[data-theme="edtech"]:not(.has-wallpaper),
body.auth[data-theme="royal"]:not(.has-wallpaper) {
    background: 
        radial-gradient(circle at 18% 20%, rgba(37, 99, 235, 0.32) 0%, transparent 48%),
        radial-gradient(circle at 82% 80%, rgba(30, 58, 138, 0.32) 0%, transparent 50%),
        #0b1c2e;
}
body.auth[data-theme="edtech"] .btn-auth-submit,
body.auth[data-theme="royal"] .btn-auth-submit {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}
body.auth[data-theme="edtech"] .btn-auth-submit:hover,
body.auth[data-theme="royal"] .btn-auth-submit:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}
body.auth[data-theme="edtech"] .role-tab.active,
body.auth[data-theme="royal"] .role-tab.active {
    color: #1d4ed8;
}

/* ========================================================
   THEME 4: DIGITAL CLASSROOM (Modeled after log-online-education-landing-page_23-2148265817.jpg)
   ======================================================== */
body.auth[data-theme="classroom"],
body.auth[data-theme="sunset"] {
    --accent: #e11d48;
    --accent-glow: rgba(225, 29, 72, 0.28);
    background: #1c0a15;
}
body.auth[data-theme="classroom"]:not(.has-wallpaper),
body.auth[data-theme="sunset"]:not(.has-wallpaper) {
    background: 
        radial-gradient(circle at 20% 20%, rgba(225, 29, 72, 0.28) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.2) 0%, transparent 45%),
        #1c0a15;
}
body.auth[data-theme="classroom"] .btn-auth-submit,
body.auth[data-theme="sunset"] .btn-auth-submit {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}
body.auth[data-theme="classroom"] .btn-auth-submit:hover,
body.auth[data-theme="sunset"] .btn-auth-submit:hover {
    background: linear-gradient(135deg, #e11d48, #be123c);
}
body.auth[data-theme="classroom"] .role-tab.active,
body.auth[data-theme="sunset"] .role-tab.active {
    color: #be123c;
}

/* ========================================================
   THEME 5: COSMIC ACADEMY (Modeled after online-education-login-panel-online-tutor-login-panel-students-232064636.jpg)
   ======================================================== */
body.auth[data-theme="cosmic"],
body.auth[data-theme="cyber"] {
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.28);
    background: #080f24;
}
body.auth[data-theme="cosmic"]:not(.has-wallpaper),
body.auth[data-theme="cyber"]:not(.has-wallpaper) {
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.22) 0%, transparent 45%),
        #080f24;
}
body.auth[data-theme="cosmic"] .btn-auth-submit,
body.auth[data-theme="cyber"] .btn-auth-submit {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}
body.auth[data-theme="cosmic"] .btn-auth-submit:hover,
body.auth[data-theme="cyber"] .btn-auth-submit:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
}
body.auth[data-theme="cosmic"] .role-tab.active,
body.auth[data-theme="cyber"] .role-tab.active {
    color: #4f46e5;
}

/* ========================================================
   THEME 6: PURPLE SCHOLAR (Modeled after original-b8051e6187d3de008c1049fb146798cb.png & ce47a13e-b18b-43d3-9646-48231725cb40-cover.png)
   ======================================================== */
body.auth[data-theme="scholar"] {
    --accent: #7c3aed;
    --accent-glow: rgba(124, 58, 237, 0.28);
    background: #110724;
}
body.auth[data-theme="scholar"]:not(.has-wallpaper) {
    background: 
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(192, 38, 211, 0.22) 0%, transparent 45%),
        #110724;
}
body.auth[data-theme="scholar"] .btn-auth-submit {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}
body.auth[data-theme="scholar"] .btn-auth-submit:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}
body.auth[data-theme="scholar"] .role-tab.active {
    color: #6d28d9;
}

/* Custom illustration framing for the 5 split themes */
body.auth[data-theme="schoolastica"] .split-showcase,
body.auth[data-theme="aurora"] .split-showcase {
    background-size: 200% auto;
    background-position: left center;
}
body.auth[data-theme="edtech"] .split-showcase,
body.auth[data-theme="royal"] .split-showcase {
    background-size: 200% auto;
    background-position: left center;
}
body.auth[data-theme="classroom"] .split-showcase,
body.auth[data-theme="sunset"] .split-showcase {
    background-size: 200% auto;
    background-position: left center;
}
body.auth[data-theme="cosmic"] .split-showcase,
body.auth[data-theme="cyber"] .split-showcase {
    background-size: 200% 200%;
    background-position: left top;
}
body.auth[data-theme="scholar"] .split-showcase {
    background-size: 200% auto;
    background-position: right center;
}

/* Ambient Grid Pattern */
body.auth:not(.has-wallpaper):not(.layout-westud)::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 42px 42px;
    z-index: 1;
    pointer-events: none;
}

/* ========================================================
   THEME: SCHOOLASTICA MINT (Premier Modern Illustrated Education Portal)
   Faithful to Visual Reference: original-af2e9645b23c0e03f2a81997b124dfd4.png
   Vector Artwork: 18-2.png
   ======================================================== */
html:has(body.layout-schoolastica) {
    height: 100% !important;
    overflow: hidden !important;
}

body.auth.layout-schoolastica {
    background: #ffffff !important;
    color: #0f172a;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
    display: flex;
    padding: 0;
    margin: 0;
    font-family: 'Nunito', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.auth.layout-schoolastica::before {
    display: none !important;
}

.schoolastica-wrapper {
    display: flex;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

/* Left Panel: Clean Pure White with Vector Art & Logo */
.schoolastica-art-panel {
    flex: 1.4;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 38px 48px 24px 52px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Brand Header */
.schoolastica-brand-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
    z-index: 10;
}

.schoolastica-brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.schoolastica-brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.schoolastica-brand-title {
    font-family: 'Outfit', 'Nunito', 'Plus Jakarta Sans', sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.15;
    display: inline-flex;
    align-items: baseline;
}

.brand-school-name {
    font-weight: 800;
    letter-spacing: -0.4px;
}

.brand-dot {
    color: #f59e0b;
    font-size: 30px;
    margin-left: 2px;
}

.schoolastica-brand-subtitle {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1px;
    margin-top: 3px;
}

/* ========================================================
   ROLE 1: ADMIN & STAFF (Black & White Executive Design)
   Vector: admin-vector.png
   Form: Dark Asymmetric Leaf Card with Half-Pill Color-Fill Button
   ======================================================== */
.schoolastica-wrapper.mode-admin-bw .schoolastica-brand-title .brand-school-name {
    color: #09090b;
}
.schoolastica-wrapper.mode-admin-bw .schoolastica-brand-subtitle {
    color: #52525b;
}


.schoolastica-wrapper.mode-admin-bw .schoolastica-form-panel {
    background: #090a0f;
    background: radial-gradient(circle at 65% 35%, #181b26 0%, #08090d 85%);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Ambient glow aura behind card */
.schoolastica-wrapper.mode-admin-bw .schoolastica-form-panel::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.035) 0%, transparent 70%);
    pointer-events: none;
}

/* Stage container holding role navigation & asymmetric card */
.admin-asym-leaf-stage {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Role Selector Navigation above the card */
.admin-roles-top {
    margin-bottom: 20px !important;
    width: 100%;
    max-width: 360px;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px);
}

.schoolastica-wrapper.mode-admin-bw .schoolastica-role-pill {
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 600;
}

.schoolastica-wrapper.mode-admin-bw .schoolastica-role-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.schoolastica-wrapper.mode-admin-bw .schoolastica-role-pill.active {
    background: #ffffff !important;
    color: #09090b !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
/* -------------------------------------------------------------
   THE ASYMMETRIC LEAF CARD (Matching Screenshot 2026-10-27 at 3.06.00 PM)
   Top-left: 28px, Top-right: 115px, Bottom-right: 28px, Bottom-left: 115px
   ------------------------------------------------------------- */
.asym-leaf-card {
    width: 100%;
    background: linear-gradient(155deg, #181b26 0%, #0e1017 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px 115px 28px 115px;
    padding: 38px 36px 36px 36px;
    box-shadow: 
        0 24px 60px rgba(0, 0, 0, 0.75),
        0 2px 10px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

/* Decorative subtle top shimmer */
.asym-leaf-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

.card-heading-group {
    margin-bottom: 22px;
}

.card-heading-group h2 {
    font-family: 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.15;
    margin: 0 0 6px 0;
}

.card-heading-group p {
    font-size: 13.5px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.4;
    margin: 0;
}

/* Fields & Inputs inside leaf card */
.asym-leaf-form .schoolastica-field {
    margin-bottom: 15px;
}

.asym-leaf-form .schoolastica-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 7px;
}

.leaf-input {
    width: 100%;
    height: 48px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    color: #09090b !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}

.leaf-input:focus {
    background: #ffffff !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.leaf-input::placeholder {
    color: #94a3b8 !important;
}

.btn-pass-toggle {
    color: #64748b !important;
}

.btn-pass-toggle:hover {
    color: #09090b !important;
}

.leaf-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 4px;
    margin-bottom: 22px;
    font-size: 12.5px;
}

.leaf-meta-row .schoolastica-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #94a3b8;
    cursor: pointer;
    user-select: none;
}

.leaf-meta-row .schoolastica-remember input {
    accent-color: #ffffff;
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.leaf-meta-row .schoolastica-forgot-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.leaf-meta-row .schoolastica-forgot-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* -------------------------------------------------------------
   HALF PILL SHAPE BUTTON WITH WATER / LIQUID COLOR FILL HOVER
   ------------------------------------------------------------- */
.leaf-btn-center {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.half-pill-btn {
    position: relative;
    width: 135px;
    height: 40px;
    border-radius: 20px 6px 20px 6px;
    background: #141620;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    outline: none;
}

/* Liquid / Water wave color fill layer */
.half-pill-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.half-pill-btn:hover::before {
    transform: scaleX(1);
}

.half-pill-btn:hover {
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.half-pill-btn .btn-label-wrap {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    transition: color 0.35s ease;
}

.half-pill-btn:hover .btn-label-wrap {
    color: #09090b;
}

@media (max-width: 900px) {
    .asym-leaf-card {
        padding: 30px 22px;
        border-radius: 24px 70px 24px 70px;
    }
}

/* ========================================================
   ROLE 2: STUDENT (Sapphire Indigo Progression Theme)
   Vector: student-vector.jpg
   ======================================================== */
.schoolastica-wrapper.mode-student-blue .schoolastica-brand-title .brand-school-name {
    color: #1e40af;
}
.schoolastica-wrapper.mode-student-blue .schoolastica-brand-subtitle {
    color: #2563eb;
}
.schoolastica-wrapper.mode-student-blue .schoolastica-form-panel {
    background: #1e3a8a;
    background: linear-gradient(168deg, #1e3a8a 0%, #1e40af 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}
.schoolastica-wrapper.mode-student-blue .schoolastica-role-pill.active {
    background: #ffffff;
    color: #1e40af !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.schoolastica-wrapper.mode-student-blue .schoolastica-input {
    background: rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.schoolastica-wrapper.mode-student-blue .schoolastica-input:focus {
    background: rgba(0, 0, 0, 0.26);
    border-color: #93c5fd;
    box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.25);
}
.schoolastica-wrapper.mode-student-blue .schoolastica-remember input {
    accent-color: #93c5fd;
}
.schoolastica-wrapper.mode-student-blue .schoolastica-btn-submit {
    background: #93c5fd;
    color: #1e3a8a;
    font-weight: 800;
}
.schoolastica-wrapper.mode-student-blue .schoolastica-btn-submit:hover {
    background: #bfdbfe;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2);
}

/* ========================================================
   ROLE 3: PARENTS (Emerald Mint Family Campus)
   Vector: parent-vector.png (18-2.png)
   ======================================================== */
.schoolastica-wrapper.mode-parent-emerald .schoolastica-brand-title .brand-school-name {
    color: #007853;
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-brand-subtitle {
    color: #059669;
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-form-panel {
    background: #009668;
    background: linear-gradient(168deg, #029462 0%, #00845a 100%);
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-role-pill.active {
    background: #ffffff;
    color: #00845a !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-input {
    background: rgba(0, 0, 0, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-input:focus {
    background: rgba(0, 0, 0, 0.22);
    border-color: #a7f3d0;
    box-shadow: 0 0 0 3px rgba(167, 243, 208, 0.2);
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-remember input {
    accent-color: #a3dec9;
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-btn-submit {
    background: #a3dec9;
    color: #006848;
    font-weight: 800;
}
.schoolastica-wrapper.mode-parent-emerald .schoolastica-btn-submit:hover {
    background: #b5eedb;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

/* Center Vector Stage */
.schoolastica-art-stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    min-height: 0;
    padding: 10px 0;
}

.schoolastica-vector-img {
    max-height: min(460px, 58vh);
    max-width: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.05));
    user-select: none;
    -webkit-user-drag: none;
}

/* Subtle Left Footer */
.schoolastica-art-footer {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
    padding-top: 8px;
    z-index: 10;
}

/* Right Panel: Rich Emerald Green Sign-In Surface */
.schoolastica-form-panel {
    flex: 1;
    background: #009668;
    background: linear-gradient(168deg, #029462 0%, #00845a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 36px 44px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.schoolastica-form-container {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* Headings */
.schoolastica-heading {
    font-family: 'Outfit', 'Nunito', 'Plus Jakarta Sans', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    text-align: center;
    letter-spacing: -0.5px;
    line-height: 1.15;
}

.schoolastica-subheading {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 22px 0;
    text-align: center;
    letter-spacing: 0.1px;
}

/* Role Selector Navigation */
.schoolastica-roles-nav {
    display: flex;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 9999px;
    padding: 4px;
    margin-bottom: 20px;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.schoolastica-role-pill {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.schoolastica-role-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.schoolastica-role-pill.active {
    background: #ffffff;
    color: #00845a !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Error Notice */
.schoolastica-alert-error {
    background: rgba(239, 68, 68, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}

/* Form Fields */
.schoolastica-field {
    margin-bottom: 15px;
}

.schoolastica-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: 0.1px;
}

.schoolastica-input-wrap {
    position: relative;
    width: 100%;
}

.schoolastica-input {
    width: 100%;
    height: 46px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    font-weight: 500;
    padding: 0 16px;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.schoolastica-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.schoolastica-input:focus {
    background: rgba(0, 0, 0, 0.22);
    border-color: #a7f3d0;
    box-shadow: 0 0 0 3px rgba(167, 243, 208, 0.2);
}

.schoolastica-btn-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.schoolastica-btn-toggle:hover {
    color: #ffffff;
}

/* Captcha styling */
.schoolastica-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.schoolastica-captcha-img {
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-flex;
}

/* Meta Row (Remember & Forgot) */
.schoolastica-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 18px 0;
    font-size: 12px;
}

.schoolastica-remember {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.schoolastica-remember input {
    accent-color: #a3dec9;
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
}

.schoolastica-forgot-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.schoolastica-forgot-link:hover {
    color: #ffffff;
    text-decoration: underline !important;
}

/* Submit Button: Pill Seafoam Pastel with Forest Text */
.schoolastica-btn-submit {
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: #a3dec9;
    color: #006848;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.schoolastica-btn-submit:hover {
    background: #b5eedb;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.schoolastica-btn-submit:active {
    transform: translateY(0);
}

/* Footer note */
.schoolastica-foot-note {
    margin-top: 20px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.schoolastica-foot-note a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: underline;
    margin: 0 3px;
}

.schoolastica-foot-note a:hover {
    color: #a3dec9;
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 992px) {
    html:has(body.layout-schoolastica) {
        height: auto !important;
        overflow: auto !important;
    }
    body.auth.layout-schoolastica {
        height: auto;
        min-height: 100vh;
        max-height: none;
        overflow-y: auto !important;
        display: block;
    }
    .schoolastica-wrapper {
        flex-direction: column;
        height: auto;
        max-height: none;
        overflow: visible;
    }
    .schoolastica-art-panel {
        flex: none;
        padding: 28px 20px 20px 20px;
        align-items: center;
        text-align: center;
    }
    .schoolastica-brand-header {
        align-items: center;
    }
    .schoolastica-vector-img {
        max-height: 220px;
        width: auto;
    }
    .schoolastica-art-footer {
        display: none;
    }
    .schoolastica-form-panel {
        flex: none;
        padding: 36px 20px 48px 20px;
        border-radius: 28px 28px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
    }
    .schoolastica-form-container {
        max-width: 360px;
    }
}

/* ========================================================
   PRESTIGE ELITE: PRO DESIGN 1 OF 6
   Executive Dual-Panel Glass Architecture with Live Session & CBSE Crest
   ======================================================== */
html:has(body.layout-prestige) {
    height: 100% !important;
    overflow: hidden !important;
}
body.auth.layout-prestige {
    background: #090d16 !important;
    color: #ffffff;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
body.auth.layout-prestige::before {
    display: none !important;
}

.prestige-stage-wrapper {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
    box-sizing: border-box;
}

/* Ambient Sapphire & Emerald Aurora Mesh Orbs */
.prestige-aurora-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(100px);
    z-index: 1;
}
.orb-sapphire {
    top: -12%;
    left: 12%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(30, 58, 138, 0.05) 50%, transparent 70%);
}
.orb-emerald {
    bottom: -12%;
    right: 12%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(6, 95, 70, 0.04) 50%, transparent 70%);
}
.prestige-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 2;
}

/* Master Dual-Panel Card */
.prestige-master-card {
    width: 960px;
    max-width: 94vw;
    height: 530px;
    display: flex;
    border-radius: 24px;
    background: #0f172a;
    box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.12);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Left Panel: Executive Showcase */
.prestige-showcase-panel {
    flex: 1;
    background: linear-gradient(150deg, #0b1120 0%, #172554 100%);
    padding: 34px 36px 26px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.prestige-showcase-header {
    display: flex;
    align-items: center;
    gap: 14px;
}
.prestige-crest-bezel {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    padding: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}
.prestige-crest-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}
.prestige-school-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 4px 0;
}
.prestige-session-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
    font-size: 10.5px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
}
.live-pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.prestige-quote-headline {
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.4px;
    line-height: 1.35;
    margin: 14px 0 6px 0;
}
.prestige-quote-desc {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0 0 16px 0;
}
.prestige-pillars-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.prestige-pillar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 12px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}
.pillar-icon-box {
    font-size: 16px;
}
.pillar-content strong {
    display: block;
    font-size: 12px;
    color: #f8fafc;
    font-weight: 600;
}
.pillar-content span {
    display: block;
    font-size: 10.5px;
    color: #94a3b8;
}

.prestige-showcase-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #64748b;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Right Panel: Executive Sign-In Form */
.prestige-form-panel {
    flex: 1.15;
    background: #ffffff;
    color: #0f172a;
    padding: 34px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.prestige-form-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #2563eb;
    background: #eff6ff;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 5px;
}
.prestige-form-title {
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    margin: 0 0 3px 0;
}
.prestige-form-sub {
    font-size: 11.5px;
    color: #64748b;
    margin: 0 0 14px 0;
}

.prestige-roles-nav {
    display: flex;
    gap: 6px;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 11px;
    margin-bottom: 14px;
    border: 1px solid #e2e8f0;
}
.prestige-role-pill {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.prestige-role-pill:hover {
    color: #0f172a;
}
.prestige-role-pill.active {
    background: #0f172a;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.25);
}

.prestige-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prestige-field-group {
    margin-bottom: 12px;
}
.prestige-field-group label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 4px;
}
.prestige-input-wrap {
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
    border-radius: 11px;
    padding: 0 14px;
    height: 41px;
    transition: all 0.2s ease;
}
.prestige-input-wrap:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.prestige-field-icon {
    color: #64748b;
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.prestige-input {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13px;
    color: #0f172a;
    font-family: inherit;
    font-weight: 500;
}
.prestige-input::placeholder {
    color: #94a3b8;
}
.prestige-btn-pass-toggle {
    border: none;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}
.prestige-btn-pass-toggle:hover {
    color: #0f172a;
}

.prestige-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0 14px 0;
    font-size: 11.5px;
}
.prestige-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #475569;
    user-select: none;
    margin: 0;
}
.prestige-remember-label input {
    accent-color: #2563eb;
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
}
.prestige-forgot-link {
    color: #2563eb;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}
.prestige-forgot-link:hover {
    color: #1d4ed8;
}

.prestige-btn-submit {
    width: 100%;
    height: 43px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
    border: none;
    border-radius: 11px;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3);
}
.prestige-btn-submit:hover {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}
.prestige-btn-submit:active {
    transform: translateY(0);
}

.prestige-form-foot {
    margin-top: 13px;
    text-align: center;
    font-size: 10.5px;
    color: #64748b;
}
.prestige-form-foot a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

/* Prestige Mobile Responsiveness */
@media (max-width: 768px) {
    body.auth.layout-prestige {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        padding: 16px 12px;
        align-items: flex-start;
    }
    .prestige-stage-wrapper {
        padding: 0;
        height: auto;
    }
    .prestige-master-card {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 440px;
        border-radius: 20px;
    }
    .prestige-showcase-panel {
        padding: 24px 20px;
    }
    .prestige-form-panel {
        padding: 26px 20px;
    }
}

/* ========================================================
   THEME 7: MONOCHROME WAVE (Black & White - Modeled after reference images)
   Strictly Black & White: "bus colour black and whit"
   ======================================================== */
html:has(body.layout-bw-wave) {
    height: 100% !important;
    overflow: hidden !important;
}
body.auth.layout-bw-wave {
    background: #09090b !important;
    color: #ffffff;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}
body.auth.layout-bw-wave::before {
    display: none !important;
}

.bw-stage-wrapper {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 16px;
    box-sizing: border-box;
}

/* Ambient Grayscale Orbs */
.bw-bg-ambient-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(90px);
    z-index: 0;
}
.bw-orb-1 {
    top: -60px;
    right: 8%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 60%, transparent 75%);
}
.bw-orb-2 {
    bottom: -60px;
    left: 8%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

/* The Main Two-Sided Wave Card */
.bw-wave-card {
    width: 890px;
    max-width: 92vw;
    height: 520px;
    display: flex;
    border-radius: 26px;
    background: #000000;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 10;
}

/* Left: Pure White Form Side */
.bw-card-form-side {
    flex: 1.15;
    background: #ffffff;
    color: #09090b;
    padding: 34px 44px 28px 46px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* Organic Cloud Scallop Wave Edge (matches login-form-design_266659-2.jpg) */
.bw-cloud-scallop-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    width: 42px;
    pointer-events: none;
    z-index: 3;
}
.bw-scallop-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.bw-form-content {
    position: relative;
    z-index: 4;
}

.bw-form-header {
    margin-bottom: 12px;
}
.bw-title-sign-in {
    font-size: 20px;
    font-weight: 800;
    color: #000000;
    letter-spacing: 0.8px;
    margin: 0 0 5px 0;
    text-transform: uppercase;
}
.bw-title-bar {
    width: 36px;
    height: 3.5px;
    background: #000000;
    border-radius: 2px;
}

/* Roles Navigation Tabs */
.bw-roles-nav {
    display: inline-flex;
    background: #f4f4f5;
    padding: 3px;
    border-radius: 20px;
    margin-bottom: 16px;
    border: 1px solid #e4e4e7;
}
.bw-role-pill {
    padding: 5px 14px;
    border-radius: 16px;
    font-size: 11.5px;
    font-weight: 600;
    color: #71717a;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.bw-role-pill:hover {
    color: #000000;
}
.bw-role-pill.active {
    background: #000000;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Alerts */
.bw-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 11.5px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Inputs */
.bw-field-group {
    margin-bottom: 14px;
}
.bw-input-wrapper {
    display: flex;
    align-items: center;
    border: 1.5px solid #e4e4e7;
    background: #fafafa;
    border-radius: 12px;
    padding: 0 14px;
    height: 42px;
    transition: all 0.2s ease;
}
.bw-input-wrapper:focus-within {
    border-color: #000000;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}
.bw-icon-prefix {
    color: #71717a;
    margin-right: 10px;
    display: flex;
    align-items: center;
}
.bw-input-text {
    border: none;
    background: transparent;
    outline: none;
    width: 100%;
    font-size: 13px;
    color: #09090b;
    font-family: inherit;
}
.bw-input-text::placeholder {
    color: #a1a1aa;
}
.bw-btn-eye {
    border: none;
    background: transparent;
    color: #71717a;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
}
.bw-btn-eye:hover {
    color: #000000;
}

/* Remember & Forgot */
.bw-meta-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0 16px 0;
    font-size: 11.5px;
}
.bw-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #52525b;
    user-select: none;
    margin: 0;
}
.bw-checkbox-label input[type="checkbox"] {
    accent-color: #000000;
    width: 14px;
    height: 14px;
    cursor: pointer;
    margin: 0;
}
.bw-link-forgot {
    color: #71717a;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.2s ease;
}
.bw-link-forgot:hover {
    color: #000000;
}

/* Solid Black Pill Submit Button */
.bw-btn-submit-pill {
    width: 100%;
    height: 42px;
    background: #000000;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.bw-btn-submit-pill:hover {
    background: #27272a;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.bw-btn-submit-pill:active {
    transform: translateY(0);
}

/* Portal Quick Links */
.bw-portal-quick-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid #f4f4f5;
    font-size: 11px;
    color: #71717a;
}
.bw-quick-title {
    font-weight: 600;
    margin-right: 2px;
}
.bw-pill-link {
    padding: 2px 8px;
    border-radius: 10px;
    background: #f4f4f5;
    color: #52525b;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 10.5px;
    transition: all 0.2s ease;
}
.bw-pill-link:hover {
    background: #e4e4e7;
    color: #000000;
}
.bw-pill-link.active {
    background: #000000;
    color: #ffffff !important;
}

/* Right Side: Deep Black Welcome Panel */
.bw-card-welcome-side {
    flex: 1;
    background: #000000;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 36px 30px 44px;
    z-index: 1;
}

/* Center Fluid Wave Divider */
.bw-center-wave-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}
.bw-center-wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Grayscale Ambient Spheres */
.bw-sphere {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.bw-sphere-top-right {
    top: -35px;
    right: -35px;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 65%, transparent 75%);
    filter: blur(4px);
}
.bw-sphere-bottom-left {
    bottom: -25px;
    left: 45px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    filter: blur(6px);
}

.bw-welcome-content {
    position: relative;
    z-index: 3;
    max-width: 320px;
}

.bw-welcome-emblem {
    margin-bottom: 16px;
}
.bw-emblem-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    padding: 3px;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.22);
    border: 2px solid rgba(255, 255, 255, 0.5);
}
.bw-emblem-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.bw-welcome-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0 0 3px 0;
}
.bw-school-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #a1a1aa;
    margin: 0 0 12px 0;
}
.bw-welcome-description {
    font-size: 11.5px;
    color: #71717a;
    line-height: 1.55;
    margin: 0 0 20px 0;
}

.bw-welcome-btn-wrap {
    margin-bottom: 18px;
}
.bw-btn-ghost-pill {
    display: inline-block;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    color: #ffffff !important;
    border-radius: 25px;
    padding: 8px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.bw-btn-ghost-pill:hover {
    background: #ffffff;
    color: #000000 !important;
    border-color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.bw-welcome-footer {
    font-size: 10px;
    color: #52525b;
}

.bw-page-foot-note {
    margin-top: 14px;
    font-size: 11px;
    color: #52525b;
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    body.auth.layout-bw-wave {
        height: auto;
        min-height: 100vh;
        overflow-y: auto;
        padding: 16px 12px;
        align-items: flex-start;
    }
    .bw-stage-wrapper {
        padding: 0;
        height: auto;
    }
    .bw-wave-card {
        flex-direction: column;
        height: auto;
        width: 100%;
        max-width: 420px;
        border-radius: 20px;
    }
    .bw-cloud-scallop-edge {
        display: none;
    }
    .bw-center-wave-divider {
        display: none;
    }
    .bw-card-form-side {
        padding: 26px 20px 22px 20px;
    }
    .bw-card-welcome-side {
        padding: 22px 20px;
        text-align: center;
    }
    .bw-welcome-content {
        max-width: 100%;
    }
    .bw-welcome-emblem {
        display: flex;
        justify-content: center;
    }
}

/* ========================================================
   SINGLE UNIFIED ADMIN PAGE (PURE WHITE BACKGROUND + LONGER LEAF CARD)
   ======================================================== */
.admin-single-white-page {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff !important;
    padding: 40px 20px 28px 20px;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* School Branding Header */
.admin-single-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.admin-single-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: contain;
}

.admin-single-brand-titles {
    display: flex;
    flex-direction: column;
}

.admin-single-school-name {
    font-family: 'Outfit', sans-serif;
    font-size: 25px;
    font-weight: 800;
    color: #09090b;
    letter-spacing: -0.4px;
    line-height: 1.15;
    margin: 0;
}

.admin-single-subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin-top: 2px;
}

/* 3-WAY ROLE SELECTOR (NO WRAP, FULL TEXT, CLEAN PILLS) */
.admin-single-roles-nav {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 5px 6px;
    margin-bottom: 26px;
    gap: 6px;
}

.admin-single-role-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 22px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    white-space: nowrap !important; /* CRITICAL: NO WRAPPING */
    transition: all 0.2s ease;
}

.admin-single-role-pill:hover {
    color: #09090b;
    background: rgba(0, 0, 0, 0.04);
}

.admin-single-role-pill.active {
    background: #09090b;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

/* THE BLACK LEAF CARD (MADE LONGER / TALLER AS REQUESTED) */
.admin-long-leaf-card {
    width: 100%;
    max-width: 445px;
    min-height: 490px;
    background: linear-gradient(155deg, #181b26 0%, #0c0d12 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 28px 115px 28px 115px;
    padding: 44px 40px 42px 40px;
    box-shadow: 
        0 30px 70px -15px rgba(0, 0, 0, 0.45),
        0 15px 35px -10px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.admin-long-leaf-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}


.admin-single-footer {
    margin-top: 26px;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* ========================================================
   SEAMLESS PURE WHITE ADMIN STAGE (ARTWORK LEFT + BLACK LEAF CARD RIGHT)
   ======================================================== */
.admin-unified-stage {
    display: flex;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    background: #ffffff !important;
    position: relative;
    overflow: hidden;
}

/* LEFT SIDE: School Branding & Vector Illustration */
.left-art-side {
    flex: 1.15;
    background: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 48px 20px 52px; /* LOGO THODA UPAR KO */
    box-sizing: border-box;
    position: relative;
}

.left-brand-header {
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 5;
}

/* LOGO IN ROUND BLACK BACKGROUND SHAPE */
.left-school-logo-shape {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #09090b; /* BLACK BACKGROUND SHAPE */
    border-radius: 50% !important; /* ROUND SHAPE */
    padding: 0;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
    border: 2px solid #09090b;
    position: relative;
}

.left-school-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.18); /* Eliminates internal transparent margin so logo fills round shape prominently */
    transform-origin: center center;
    display: block;
}

.left-brand-titles {
    display: flex;
    flex-direction: column;
}

.left-school-name {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-size: 27px;
    font-weight: 800;
    color: #09090b;
    letter-spacing: -0.4px;
    line-height: 1.15;
    margin: 0;
    display: inline-block;
}

.school-name-yellow-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #f59e0b; /* vibrant amber-yellow */
    border-radius: 50%;
    margin-left: 8px;
    vertical-align: middle;
    position: relative;
    top: 2.5px; /* thoda sa niche bas thoda sa */
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.75), 0 0 3px #f59e0b;
}

.left-school-subtitle {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
}

.left-art-center {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    min-height: 0;
}

.left-art-center img,
.left-art-center .schoolastica-vector-img {
    max-height: min(585px, 75vh); /* SIDE IMAGE AUR THODA BIG */
    max-width: 98%;
    width: auto;
    height: auto;
    object-fit: contain;
    user-select: none;
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.05));
}

.left-art-footer {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

/* RIGHT SIDE: Pure White Canvas with Black Leaf Card */
.right-form-side {
    flex: 1;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    box-sizing: border-box;
    position: relative;
}

/* STAGE CLUSTER: HOLDS BLACK LEAF CARD */
.card-stage-cluster {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* THE BLACK LEAF CARD (WIDTH: 404px, TALLER: 635px) */
.admin-long-leaf-card {
    width: 404px;
    max-width: 414px;
    min-height: 635px;
    background: linear-gradient(155deg, #181b26 0%, #0c0d12 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 28px 115px 28px 115px;
    padding: 36px 30px 34px 30px;
    box-shadow: 
        0 30px 70px -15px rgba(0, 0, 0, 0.42),
        0 15px 35px -10px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ROLE PALETTES FOR LEAF CARD */
/* Student Portal: Academy Slate Indigo Gradient matching student-vector */
.admin-long-leaf-card.mode-student-blue {
    background: linear-gradient(155deg, #243459 0%, #11182c 100%) !important;
    border: 1px solid rgba(147, 197, 253, 0.28) !important;
    box-shadow: 
        0 30px 70px -15px rgba(10, 15, 28, 0.65),
        0 15px 35px -10px rgba(36, 52, 89, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.admin-long-leaf-card.mode-student-blue .role-pill-option.active .role-switch-track .role-knob-circle {
    background: #3b82f6 !important;
}
.admin-long-leaf-card.mode-student-blue .role-pill-option.active .role-switch-track .role-line-bar {
    background: #60a5fa !important;
}
.admin-long-leaf-card.mode-student-blue .btn-label-inverted {
    color: #11182c !important;
}
.admin-long-leaf-card.mode-student-blue .pill-login-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
}
.admin-long-leaf-card.mode-student-blue .pill-login-btn:hover {
    background: #ffffff !important;
    color: #11182c !important;
    box-shadow: 0 8px 26px rgba(96, 165, 250, 0.5) !important;
}
.admin-long-leaf-card.mode-student-blue .schoolastica-input:focus {
    border-color: #60a5fa !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3) !important;
}

/* Parent Portal: Botanical Emerald / Jade Gradient matching parent-vector foliage */
.admin-long-leaf-card.mode-parent-emerald {
    background: linear-gradient(155deg, #0f4639 0%, #06241e 100%) !important;
    border: 1px solid rgba(110, 231, 183, 0.28) !important;
    box-shadow: 
        0 30px 70px -15px rgba(4, 25, 20, 0.65),
        0 15px 35px -10px rgba(15, 70, 57, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}
.admin-long-leaf-card.mode-parent-emerald .role-pill-option.active .role-switch-track .role-knob-circle {
    background: #10b981 !important;
}
.admin-long-leaf-card.mode-parent-emerald .role-pill-option.active .role-switch-track .role-line-bar {
    background: #34d399 !important;
}
.admin-long-leaf-card.mode-parent-emerald .btn-label-inverted {
    color: #06241e !important;
}
.admin-long-leaf-card.mode-parent-emerald .pill-login-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    color: #ffffff !important;
}
.admin-long-leaf-card.mode-parent-emerald .pill-login-btn:hover {
    background: #ffffff !important;
    color: #06241e !important;
    box-shadow: 0 8px 26px rgba(52, 211, 153, 0.5) !important;
}
.admin-long-leaf-card.mode-parent-emerald .schoolastica-input:focus {
    border-color: #34d399 !important;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.3) !important;
}

/* Leaf Footer Note (Register Now) - Removed as requested */
.leaf-foot-note {
    display: none !important;
}

/* TOP ROLE SELECTION TOGGLE (ALL 3 UNHIDDEN: STAFF, STUDENT, PARENT)
   - Clean, no box background wrapping the button
   - Text is "Staff", "Student", "Parent"
   - Sleek Apple/Vector-style toggle switches
   - All 3 portals permanently visible side-by-side
   - Slightly larger size & spaced down from top edge
*/
.role-hover-bar-container {
    width: 282px;
    margin: 10px auto 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 25;
}

.role-hover-bar {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    transition: all 0.25s ease;
    user-select: none;
}

.role-pill-option {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap !important;
    transition: all 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    cursor: pointer;
    line-height: 1;
}

.role-pill-label {
    white-space: nowrap !important;
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

/* Active Pill (Staff): Clean Bold White Text */
.role-pill-option.active .role-pill-label {
    color: #ffffff !important;
    font-weight: 700;
}

/* Inactive Pill: Slate Text, Glowing White on Hover */
.role-pill-option:not(.active) .role-pill-label {
    color: #94a3b8;
    font-weight: 600;
}

.role-pill-option:not(.active):hover .role-pill-label {
    color: #ffffff;
}

/* Expandable Tray: Always Unhidden */
.role-expandable-tray {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    margin-left: 0 !important;
    white-space: nowrap;
}

/* HIGH-END TOGGLE SWITCH
   (White track with black knob & line when ON; dark bordered track with white knob when OFF)
*/
.role-switch-track {
    display: inline-flex;
    align-items: center;
    width: 32px;
    height: 18px;
    border-radius: 9999px;
    padding: 2px;
    box-sizing: border-box;
    position: relative;
    flex-shrink: 0;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active (ON): White capsule track with black knob on right & black vertical line on left */
.role-pill-option.active .role-switch-track {
    background: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
}
.role-pill-option.active .role-switch-track .role-knob-circle {
    transform: translateX(14px);
    background: #09090b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.role-pill-option.active .role-switch-track .role-line-bar {
    opacity: 1;
    background: #09090b;
}

/* Inactive (OFF): Translucent bordered track with knob on left */
.role-pill-option:not(.active) .role-switch-track {
    background: rgba(255, 255, 255, 0.14);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.role-pill-option:not(.active):hover .role-switch-track {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.7);
}
.role-pill-option:not(.active) .role-switch-track .role-knob-circle {
    transform: translateX(0);
    background: #cbd5e1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.role-pill-option:not(.active):hover .role-switch-track .role-knob-circle {
    background: #ffffff;
}
.role-pill-option:not(.active) .role-switch-track .role-line-bar {
    opacity: 0.35;
    background: rgba(255, 255, 255, 0.6);
}

.role-knob-circle {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
    z-index: 2;
}

.role-line-bar {
    position: absolute;
    left: 5px;
    top: 5px;
    width: 1.5px;
    height: 7px;
    border-radius: 1px;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

/* CARD HEADING GROUP: LEFT ALIGNED (WELCOME & SUBTITLE) - MOVED DOWN */
.card-heading-group {
    text-align: left;
    width: 282px;
    margin: 32px auto 6px auto;
}
.card-heading-group h2 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin: 0;
    text-align: left;
}
.card-heading-group p {
    font-size: 13.5px;
    color: #94a3b8;
    margin-top: 5px;
    margin-bottom: 0;
    text-align: left;
}

/* INTERACTIVE MASCOT: LARGER SIZE ("animation aur big karo") */
.mascot-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8px auto 14px auto;
    position: relative;
    width: 200px;
    height: 126px;
    user-select: none;
}

.mascot-svg {
    width: 190px;
    height: 122px;
    overflow: visible;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.5));
}

.pupil {
    transition: transform 0.08s ease-out;
    transform-origin: center;
}

.happy-eye {
    opacity: 0;
    transition: opacity 0.2s ease;
    transform-origin: center;
}

.normal-eye {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.mouth-normal {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.mouth-happy {
    opacity: 0;
    transition: opacity 0.2s ease;
    transform-origin: center;
}

.blush {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hand-left, .hand-right {
    transform-origin: bottom center;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.35));
}

.sparkle-group {
    opacity: 0;
    transform-origin: 80px 14px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* HAPPY & CLAP STATE (TRIGGERED WHEN TEXTBOX IS CLICKED/FOCUSED) */
.mascot-stage.is-happy-clapping .normal-eye { opacity: 0; }
.mascot-stage.is-happy-clapping .happy-eye {
    opacity: 1;
    animation: eyeWink 1.2s ease-in-out infinite alternate;
}

.mascot-stage.is-happy-clapping .mouth-normal { opacity: 0; }
.mascot-stage.is-happy-clapping .mouth-happy {
    opacity: 1;
    animation: mouthJoy 0.8s ease-in-out infinite alternate;
}

.mascot-stage.is-happy-clapping .blush { opacity: 1; }

.mascot-stage.is-happy-clapping .head-group {
    animation: happyHeadBob 0.45s ease-in-out infinite alternate;
}

.mascot-stage.is-happy-clapping .hand-left {
    animation: clapLeft 0.32s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.mascot-stage.is-happy-clapping .hand-right {
    animation: clapRight 0.32s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.mascot-stage.is-happy-clapping .sparkle-group {
    opacity: 1;
    animation: sparklePulse 0.55s ease-in-out infinite alternate;
}

@keyframes happyHeadBob {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-4px) rotate(2.5deg); }
}

@keyframes clapLeft {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(16px, -11px) rotate(38deg); }
}

@keyframes clapRight {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-16px, -11px) rotate(-38deg); }
}

@keyframes mouthJoy {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

@keyframes eyeWink {
    0% { transform: scaleY(1); }
    100% { transform: scaleY(1.2); }
}

@keyframes sparklePulse {
    0% { transform: scale(0.85) rotate(-5deg); opacity: 0.7; }
    100% { transform: scale(1.35) rotate(10deg); opacity: 1; }
}

/* TEXTBOX WIDTH REDUCED AS PER USER REQUEST */
.asym-leaf-form .schoolastica-field {
    width: 282px;
    margin: 0 auto 16px auto;
}

.asym-leaf-form .schoolastica-meta-row {
    width: 282px;
    margin: 0 auto 20px auto;
}

.asym-leaf-form .schoolastica-input {
    height: 44px;
}

.admin-long-leaf-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 70%);
    pointer-events: none;
}

/* CENTERED PILL LOGIN BUTTON WITH SIDE FILL WHITE HOVER */
.leaf-btn-center-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4px;
}

.pill-login-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 48px;
    border-radius: 9999px; /* TRUE PILL DESIGN */
    background: rgba(255, 255, 255, 0.06);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    overflow: hidden;
    padding: 0;
    outline: none;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Base text layer (Crisp white on dark pill) */
.btn-label-base {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    width: 100%;
    height: 100%;
    user-select: none;
    transition: transform 0.25s ease;
}

/* SIDE FILL WHITE COLOR LAYER (EXPANDS SMOOTHLY FROM LEFT) */
.btn-side-fill {
    position: absolute;
    top: -2px;
    left: -2px;
    bottom: -2px;
    width: 0%;
    background: #ffffff;
    border-radius: 9999px;
    overflow: hidden;
    transition: width 0.38s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    z-index: 2;
}

/* Inverted text layer (Deep black text inside white fill, perfectly pinned) */
.btn-label-inverted {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 200px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #09090b;
    user-select: none;
    font-weight: 700;
}

.pill-login-btn:hover {
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(255, 255, 255, 0.3);
}

.pill-login-btn:hover .btn-side-fill {
    width: calc(100% + 4px);
}

.btn-label-base svg,
.btn-label-inverted svg {
    transition: transform 0.25s ease;
}

.pill-login-btn:hover .btn-label-base svg,
.pill-login-btn:hover .btn-label-inverted svg {
    transform: translateX(4px);
}

@media (max-width: 900px) {
    .admin-unified-stage {
        flex-direction: column;
        height: auto !important;
        max-height: none !important;
        overflow-y: auto !important;
    }
    .left-art-side {
        padding: 24px 20px 10px 20px;
        align-items: center;
        text-align: center;
        flex: none;
    }
    .left-school-name {
        font-size: 20px;
    }
    .left-art-center img {
        max-height: 180px;
    }
    .right-form-side {
        padding: 10px 20px 40px 20px;
    }
    .admin-long-leaf-card {
        padding: 34px 24px;
        border-radius: 24px 70px 24px 70px;
        min-height: auto;
        width: 100% !important;
        max-width: 400px !important;
    }
    .card-stage-cluster {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .role-hover-bar-container {
        margin-bottom: 6px;
    }
    .role-hover-bar {
        max-width: 100%;
    }
    .role-expandable-tray {
        max-width: 250px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        margin-left: 3px;
    }
    .role-pill-option {
        padding: 5px 9px;
        font-size: 11px;
    }
    .role-switch-track {
        display: none; /* Keep clean on compact mobile screens */
    }
}
