﻿:root {
    --bg1: #0b1220;
    --bg2: #111b32;
    --card: rgba(255, 255, 255, 0.06);
    --card2: rgba(255, 255, 255, 0.10);
    --stroke: rgba(255, 255, 255, 0.12);
    --text: #eaf0ff;
    --muted: rgba(234, 240, 255, 0.72);
    --brand: #7c5cff;
    --brand2: #22d3ee;
    --danger: #ff5c7a;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(1200px 600px at 20% 10%, rgba(124, 92, 255, 0.35), transparent 55%), radial-gradient(900px 500px at 80% 40%, rgba(34, 211, 238, 0.25), transparent 55%), linear-gradient(140deg, var(--bg1), var(--bg2));
    position: relative;
    overflow: hidden;
    padding: 28px;
}

.bg-orb {
    position: absolute;
    filter: blur(60px);
    opacity: 0.55;
    pointer-events: none;
    transform: translateZ(0);
}

.orb-1 {
    width: 420px;
    height: 420px;
    background: rgba(124, 92, 255, 0.55);
    top: -120px;
    left: -120px;
    border-radius: 50%;
}

.orb-2 {
    width: 520px;
    height: 520px;
    background: rgba(34, 211, 238, 0.35);
    bottom: -180px;
    right: -180px;
    border-radius: 50%;
}

.shell {
    width: min(980px, 100%);
    position: relative;
    z-index: 2;
}

.card {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    border: 1px solid var(--stroke);
    background: linear-gradient(180deg, var(--card), rgba(255,255,255,0.03));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,0.45);
    backdrop-filter: blur(10px);
}

.brand {
    padding: 28px;
    background: linear-gradient(180deg, rgba(124, 92, 255, 0.16), rgba(34, 211, 238, 0.08));
    border-right: 1px solid var(--stroke);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.brand-top {
    display: grid;
    gap: 10px;
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: 2px;
    object-fit: revert;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.06);
}

.brand-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.brand-subtitle {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.brand-bullets {
    display: grid;
    gap: 10px;
    padding-top: 6px;
}

.bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 13px;
}

    .bullet i {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(255,255,255,0.07);
        border: 1px solid var(--stroke);
        color: var(--text);
    }

.brand-foot {
    margin-top: auto;
    display: grid;
    gap: 6px;
}

.muted {
    color: var(--muted);
    font-size: 12px;
}

.panel {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.panel-head h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
}

.panel-head p {
    margin: 6px 0 0 0;
    color: var(--muted);
    font-size: 13px;
}

.field {
    display: grid;
    gap: 8px;
}

label {
    font-size: 12px;
    color: var(--muted);
}

.input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-ico {
    position: absolute;
    left: 12px;
    color: rgba(234, 240, 255, 0.55);
    font-size: 14px;
    pointer-events: none;
}

.input {
    width: 100%;
    padding: 12px 44px 12px 38px;
    border-radius: 12px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    outline: none;
    font-size: 14px;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

    .input:focus {
        border-color: rgba(124, 92, 255, 0.7);
        box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
        background: rgba(255,255,255,0.08);
    }

.eye {
    position: absolute;
    right: 10px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.06);
    color: rgba(234, 240, 255, 0.85);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
}

    .eye:hover {
        background: rgba(255,255,255,0.10);
    }

.row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 4px;
}

.remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 12px;
}

.forgot a {
    color: rgba(234, 240, 255, 0.85);
    text-decoration: none;
    font-size: 12px;
}

    .forgot a:hover {
        text-decoration: underline;
    }

.btn {
    margin-top: 4px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.95), rgba(34, 211, 238, 0.75));
    color: #08101f;
    font-weight: 800;
    letter-spacing: 0.2px;
    cursor: pointer;
}

    .btn:hover {
        filter: brightness(1.06);
    }

.error {
    min-height: 18px;
    font-size: 12px;
    color: var(--danger);
}

.val-summary {
    border: 1px solid rgba(255, 92, 122, 0.30);
    background: rgba(255, 92, 122, 0.10);
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: rgba(255, 240, 245, 0.95);
}

.val {
    color: rgba(255, 92, 122, 0.95);
    font-size: 12px;
}

.footer {
    margin-top: 6px;
}

.mini-foot {
    text-align: center;
    margin-top: 14px;
    color: rgba(234, 240, 255, 0.55);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 860px) {
    .card {
        grid-template-columns: 1fr;
    }

    .brand {
        border-right: none;
        border-bottom: 1px solid var(--stroke);
    }
}

.study-line {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,0.06);
    border-radius: 12px;
    line-height: 1.45;
}

.study-bold {
    font-weight: 800; /* bold */
    color: var(--text);
    margin-right: 6px;
}

.study-text {
    font-weight: 400; /* normal */
    color: var(--muted);
}

