:root {
            --login-bg-1: #4049a8;
            --login-bg-2: #293487;
            --login-panel: #ffffff;
            --login-hero: #1a214c;
            --login-hero-2: #111735;
            --login-accent: #4049a8;
            --login-accent-strong: #2f398f;
            --login-border: #d6ddef;
            --login-text: #171c2c;
            --login-muted: #707997;
        }

        * { box-sizing: border-box; }
        html, body { height: 100%; }

        body {
            margin: 0;
            font-family: 'Outfit', sans-serif;
            background: linear-gradient(135deg, var(--login-bg-1) 0%, var(--login-bg-2) 100%);
            color: var(--login-text);
        }

        .login-shell {
            min-height: 100vh;
            padding: 20px;
        }

        .login-frame {
            min-height: calc(100vh - 40px);
            border-radius: 22px;
            overflow: hidden;
            display: grid;
            grid-template-columns: 1.95fr 0.85fr;
            background: rgba(11, 16, 42, 0.18);
            box-shadow: 0 28px 60px rgba(10, 14, 36, 0.28);
        }

        .login-hero {
            position: relative;
            padding: 26px 30px 20px;
            background:
                radial-gradient(circle at 50% 35%, rgba(72, 84, 197, 0.36), transparent 28%),
                radial-gradient(circle at 18% 78%, rgba(106, 120, 240, 0.14), transparent 30%),
                linear-gradient(135deg, var(--login-hero) 0%, var(--login-hero-2) 100%);
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .login-hero::before {
            content: "";
            position: absolute;
            width: 620px;
            height: 620px;
            left: -220px;
            top: -80px;
            border-radius: 50%;
            background: radial-gradient(circle, rgba(83, 95, 210, 0.24), rgba(83, 95, 210, 0.02) 68%, transparent 72%);
            pointer-events: none;
        }

        .hero-top, .hero-visual, .hero-footer {
            position: relative;
            z-index: 1;
        }

        .hero-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
        }

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

        .brand-mark {
            width: 56px;
            height: 56px;
            border-radius: 18px;
            border: 1px solid rgba(255,255,255,.16);
            background: rgba(255,255,255,.08);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            font-weight: 800;
        }

        .brand-text strong {
            display: block;
            font-size: 26px;
            line-height: 1;
            letter-spacing: -.04em;
        }

        .brand-text span,
        .suite-label {
            color: rgba(227, 232, 255, 0.74);
            font-size: 13px;
        }

        .suite-label {
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .hero-visual {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 0;
        }

        .visual-card {
            width: min(100%, 980px);
            min-height: 460px;
            border-radius: 28px;
            border: 2px solid rgba(255,255,255,.92);
            background:
                radial-gradient(circle at 50% 18%, rgba(93, 108, 242, 0.22), transparent 28%),
                linear-gradient(180deg, rgba(18, 26, 60, 0.95), rgba(11, 16, 37, 0.96));
            padding: 24px;
            box-shadow: 0 30px 70px rgba(8, 12, 28, 0.45);
            position: relative;
            overflow: hidden;
        }

        .login-visual-slider {
            position: relative;
            height: 100%;
            min-height: 430px;
            border-radius: 24px;
            overflow: hidden;
        }

            .login-visual-slider .carousel-inner,
            .login-visual-slider .carousel-item {
                height: 100%;
                min-height: 430px;
            }

        .visual-slide {
            position: relative;
            height: 100%;
            min-height: 430px;
            border-radius: 24px;
            overflow: hidden;
            background: radial-gradient(circle at 50% 20%, rgba(92, 120, 255, 0.28), transparent 34%), linear-gradient(135deg, rgba(16, 24, 59, 0.96), rgba(8, 12, 32, 0.98));
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .visual-slide-glow {
            position: absolute;
            width: 520px;
            height: 520px;
            border-radius: 50%;
            left: 50%;
            top: 45%;
            transform: translate(-50%, -50%);
            background: radial-gradient(circle, rgba(73, 94, 230, 0.35), transparent 68%);
            filter: blur(8px);
            pointer-events: none;
        }

        .visual-slide-img {
            position: relative;
            z-index: 2;
            width: 100%;
            object-fit: contain;
            border-radius: 22px;
            box-shadow: 0 34px 70px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.14);
            animation: slideFloat 4.5s ease-in-out infinite;
        }

        .visual-slide-caption {
            position: absolute;
            z-index: 3;
            left: 34px;
            right: 34px;
            bottom: 34px;
            padding: 18px 20px;
            border-radius: 22px;
            background: linear-gradient(180deg, rgba(10, 15, 38, 0.78), rgba(7, 10, 27, 0.9));
            border: 1px solid rgba(170, 185, 255, 0.16);
            backdrop-filter: blur(16px);
            box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
        }

        .caption-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 7px 12px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.1);
            color: rgba(238, 243, 255, 0.95);
            font-size: 12px;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

            .caption-badge i {
                color: #8fa3ff;
            }

        .visual-slide-caption h2 {
            margin: 0;
            color: #fff;
            font-size: 28px;
            line-height: 1.1;
            font-weight: 800;
            letter-spacing: -.04em;
        }

        .visual-slide-caption p {
            margin: 8px 0 0;
            max-width: 620px;
            color: rgba(230, 235, 255, 0.8);
            font-size: 14px;
            line-height: 1.45;
        }

        .login-visual-slider .carousel-indicators {
            margin-bottom: 12px;
            z-index: 5;
        }

            .login-visual-slider .carousel-indicators [data-bs-target] {
                width: 22px;
                height: 6px;
                border: 0;
                border-radius: 999px;
                background-color: rgba(255, 255, 255, 0.45);
                opacity: 1;
            }

            .login-visual-slider .carousel-indicators .active {
                width: 42px;
                background-color: #ffffff;
            }

        .login-visual-slider .carousel-control-prev,
        .login-visual-slider .carousel-control-next {
            width: 54px;
            opacity: 1;
            z-index: 6;
        }

        .slider-arrow {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: grid;
            place-items: center;
            color: #fff;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.18);
            backdrop-filter: blur(10px);
        }

            .slider-arrow i {
                font-size: 20px;
            }

        @@keyframes slideFloat {
            0%, 100%

        {
            transform: translateY(0) scale(1);
        }

        50% {
            transform: translateY(-8px) scale(1.01);
        }

        }

        @media (max-width: 768px) {
            .login-visual-slider, .login-visual-slider .carousel-inner, .login-visual-slider .carousel-item, .visual-slide

        {
            min-height: 340px;
        }

        .visual-slide-img {
            width: 100%;
            max-height: 180px;
            margin-top: -40px;
        }

        .visual-slide-caption {
            left: 18px;
            right: 18px;
            bottom: 28px;
            padding: 14px 15px;
        }

            .visual-slide-caption h2 {
                font-size: 21px;
            }

            .visual-slide-caption p {
                font-size: 12.5px;
            }

        .login-visual-slider .carousel-control-prev,
        .login-visual-slider .carousel-control-next {
            display: none;
        }

        }

        .visual-grid {
            position: relative;
            height: 312px;
            margin-top: 12px;
            display: flex;
            align-items: flex-end;
            justify-content: center;
        }

        .screen {
            position: absolute;
            border-radius: 24px;
            background: linear-gradient(180deg, rgba(39, 50, 103, 0.92), rgba(18, 25, 55, 0.97));
            border: 1px solid rgba(151, 174, 255, 0.18);
            box-shadow: 0 24px 50px rgba(5, 8, 24, 0.34);
        }

        .screen.left {
            width: 260px;
            height: 300px;
            left: 16px;
            bottom: 42px;
            transform: perspective(900px) rotateY(16deg);
        }

        .screen.center {
            width: 430px;
            height: 260px;
            bottom: 74px;
            z-index: 2;
        }

        .screen.right {
            width: 260px;
            height: 300px;
            right: 16px;
            bottom: 42px;
            transform: perspective(900px) rotateY(-16deg);
        }

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

        .brand-mark {
            width: 64px;
            height: 64px;
            border-radius: 18px;
            border: 1px solid rgba(255,255,255,.16);
            background: rgba(255,255,255,.08);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .brand-logo-mark {
            padding: 7px;
            background: rgba(255,255,255,.95);
            overflow: hidden;
        }

            .brand-logo-mark img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                display: block;
            }

        .brand-text-logo {
            display: flex;
            flex-direction: column;
            justify-content: center;
            line-height: 1;
        }

        .brand-main {
            font-size: 34px;
            font-weight: 800;
            letter-spacing: -.06em;
            line-height: .9;
        }

        .edu-blue {
            color: #184b8c;
        }

        .care-orange {
            color: #f7931e;
        }

        .brand-sub {
            margin-top: 4px;
            font-size: 27px;
            font-weight: 800;
            color: #FFF;
            line-height: .9;
            letter-spacing: -.04em;
        }

        @media (max-width: 768px) {
            .brand-mark {
                width: 54px;
                height: 54px;
            }

            .brand-main {
                font-size: 26px;
            }

            .brand-sub {
                font-size: 20px;
            }
        }

        .phone {
            width: 102px;
            height: 190px;
            bottom: 72px;
            z-index: 3;
            border-radius: 28px;
            border: 1px solid rgba(255,255,255,.2);
            background: linear-gradient(180deg, rgba(61, 75, 141, 0.96), rgba(24, 31, 66, 0.98));
        }

        .phone.left { left: 242px; transform: rotate(-10deg); }
        .phone.right { right: 242px; transform: rotate(10deg); }

        .screen-inner {
            position: absolute;
            inset: 14px;
            border-radius: 18px;
            background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
            overflow: hidden;
        }

        .screen-bar {
            height: 34px;
            border-bottom: 1px solid rgba(255,255,255,.08);
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0 12px;
        }

        .screen-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255,255,255,.42);
        }

        .screen-layout {
            display: grid;
            grid-template-columns: 80px 1fr;
            height: calc(100% - 34px);
        }

        .screen-nav {
            border-right: 1px solid rgba(255,255,255,.06);
            padding: 12px 10px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .nav-pill {
            height: 11px;
            border-radius: 999px;
            background: rgba(255,255,255,.12);
        }

        .nav-pill.active { background: rgba(120, 146, 255, .72); }

        .screen-content {
            padding: 14px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .ui-card {
            border-radius: 12px;
            background: rgba(255,255,255,.06);
            border: 1px solid rgba(255,255,255,.06);
        }

        .ui-card.hero { height: 66px; }
        .ui-row {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
        }
        .ui-card.mini { height: 84px; }

        .stage-pill {
            position: relative;
            z-index: 2;
            width: 400px;
            margin: 18px auto 0;
            border-radius: 999px;
            border: 1px solid rgba(162,179,255,.14);
            background: linear-gradient(180deg, rgba(10, 13, 27, 0.34), rgba(8, 10, 23, 0.72));
            padding: 18px 22px 22px;
            text-align: center;
            box-shadow: 0 14px 30px rgba(5, 8, 24, 0.32);
        }

        .stage-pill::after {
            content: "";
            position: absolute;
            width: 80%;
            height: 16px;
            left: 10%;
            bottom: 2px;
            background: radial-gradient(circle, rgba(92, 131, 255, 0.8), rgba(92, 131, 255, 0) 68%);
            filter: blur(6px);
        }

        .stage-brand {
            font-size: 66px;
            font-weight: 800;
            letter-spacing: -.06em;
            line-height: .9;
        }

        .stage-brand small {
            font-size: 16px;
            vertical-align: top;
            margin-left: 6px;
            color: rgba(255,255,255,.78);
        }

        .stage-copy {
            margin-top: 6px;
            color: rgba(237, 242, 255, 0.92);
            font-size: 16px;
            font-weight: 500;
        }

        .hero-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            flex-wrap: wrap;
            color: rgba(225, 231, 255, 0.82);
            font-size: 13px;
        }

        .hero-links {
            display: flex;
            gap: 18px;
            flex-wrap: wrap;
        }

        .hero-footer a {
            color: #ffff;
            text-decoration: none;
        }

        .hero-footer a:hover,
        .hero-footer a:focus {
            color: #ffff;
            text-decoration: underline;
        }

        .login-panel {
            background: var(--login-panel);
            padding: 26px 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .login-card {
            width: min(100%, 400px);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 12px;
            text-align: center;
        }

        .seal {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            border: 2px solid var(--login-accent);
            display: grid;
            place-items: center;
            color: var(--login-accent);
            font-size: 25px;
            font-weight: 700;
            background: radial-gradient(circle, rgba(64,73,168,.1), rgba(64,73,168,.02));
        }

        .school-title {
            font-size: 16px;
            font-weight: 800;
            text-transform: uppercase;
        }

        .school-subtitle {
            margin-top: -6px;
            color: var(--login-muted);
            font-size: 13px;
        }

        .login-form-wrap {
            width: 100%;
            text-align: left;
        }

        .login-form-title {
            text-align: center;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .otp-status-bar {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 12px;
            padding: 8px 12px;
            border-radius: 8px;
            background: linear-gradient(180deg, #f7f9ff, #eef2fb);
            border: 1px solid #dee5f4;
            color: #4b5675;
            font-size: 13px;
            font-weight: 600;
        }

        .otp-status-bar i {
            color: var(--login-accent);
            font-size: 15px;
        }

        .otp-status-bar.is-expired {
            background: #fff5f5;
            border-color: #f5c2c7;
            color: #b42318;
        }

        .otp-resend-wrap {
            min-width: 0;
        }

        .login-input {
            position: relative;
            margin-bottom: 9px;
        }

        .login-input i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: #8a92a6;
            font-size: 16px;
        }

        .login-input .form-control {
            min-height: 44px;
            padding-left: 38px;
            border-radius: 4px;
            border: 1px solid var(--login-border);
            box-shadow: none !important;
        }

        .login-input .form-control:focus {
            border-color: var(--login-accent);
            box-shadow: 0 0 0 3px rgba(64,73,168,.08) !important;
        }

        .login-button {
            width: 100%;
            min-height: 44px;
            border: 0;
            border-radius: 6px;
            background: linear-gradient(180deg, var(--login-accent) 0%, var(--login-accent-strong) 100%);
            color: #fff;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            box-shadow: 0 14px 24px rgba(64,73,168,.18);
        }

        .login-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            margin-top: 6px;
            font-size: 13px;
            color: var(--login-muted);
        }

        .login-meta a {
            color: var(--login-accent);
            font-weight: 600;
        }

        .login-note {
            width: 100%;
            padding: 10px 12px;
            border-radius: 14px;
            background: linear-gradient(180deg, #f7f9ff, #f1f4fc);
            border: 1px solid #dee5f4;
            color: #65708a;
            font-size: 12.5px;
            text-align: left;
            line-height: 1.45;
        }

        .seed-note {
            width: 100%;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px dashed #cfd7e7;
            background: #f8faff;
            color: #67718b;
            font-size: 12px;
            text-align: left;
        }

        @media (max-width: 1180px) {
            .login-frame {
                grid-template-columns: 1fr;
            }

            .login-hero {
                min-height: 520px;
            }
        }

        @media (max-width: 768px) {
            .login-shell {
                padding: 14px;
            }

            .login-hero {
                padding: 24px 18px;
                min-height: 420px;
            }

            .visual-card {
                min-height: 380px;
                padding: 20px 16px;
            }

            .visual-grid {
                height: 220px;
            }

            .screen.left,
            .screen.right {
                width: 150px;
                height: 180px;
            }

            .screen.center {
                width: 260px;
                height: 170px;
            }

            .phone {
                display: none;
            }

            .stage-pill {
                width: 280px;
                padding: 14px 18px 18px;
            }

            .stage-brand {
                font-size: 46px;
            }

            .stage-copy {
                font-size: 15px;
            }

            .login-panel {
                padding: 24px 18px;
            }
        }
