/* ══════════════════════════════════════
   Login Page — Dark Glassmorphism Theme
   ══════════════════════════════════════ */

:root {
    --bg: #07080f;
    --surface: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.09);
    --accent: #10455B;
    --accent2: #2AA1AF;
    --text: #e8eaf6;
    --muted: #7b80a0;
    --danger: #ff6b8a;
    --radius: 18px;
}

body {
    color: var(--text);
}

/* ── Canvas ── */
#canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: var(--bg);
}

.iq-auth-page .row {
    position: relative;
    z-index: 1;
}

/* ── Card ── */
.card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    box-shadow:
        0 0 0 1px rgba(108, 143, 255, 0.06),
        0 32px 64px rgba(0, 0, 0, 0.55),
        0 0 80px rgba(108, 143, 255, 0.06) !important;
}

/* ── Form ── */
.form-label {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--muted) !important;
    margin-bottom: 7px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    color: var(--text) !important;
    font-size: 14.5px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}

.form-control::placeholder {
    color: var(--muted) !important;
    opacity: 0.7;
}

.form-control:focus {
    border-color: var(--accent) !important;
    background: rgba(108, 143, 255, 0.07) !important;
    box-shadow: 0 0 0 3px rgba(108, 143, 255, 0.15) !important;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border) !important;
    color: var(--muted) !important;
    border-left: none !important;
    border-top-right-radius: 10px !important;
    border-bottom-right-radius: 10px !important;
    cursor: pointer;
}

.input-group .form-control {
    border-right: none !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group .form-control:focus {
    border-right-color: transparent !important;
}

.input-group:focus-within .input-group-text,
.input-group:focus-within .form-control {
    border-color: var(--accent) !important;
}

.input-group:focus-within .input-group-text {
    box-shadow:
        3px 0 0 0 rgba(108, 143, 255, 0.15),
        0 3px 0 0 rgba(108, 143, 255, 0.15),
        0 -3px 0 0 rgba(108, 143, 255, 0.15) !important;
}

.input-group .form-control:focus {
    box-shadow:
        -3px 0 0 0 rgba(108, 143, 255, 0.15),
        0 3px 0 0 rgba(108, 143, 255, 0.15),
        0 -3px 0 0 rgba(108, 143, 255, 0.15) !important;
}

/* ── Button ── */
.btn-primary {
    width: 100%;
    padding: 13px !important;
    border: none !important;
    border-radius: 11px !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2px;
    background: linear-gradient(
        135deg,
        var(--accent) 0%,
        var(--accent2) 100%
    ) !important;
    color: #fff !important;
    box-shadow: 0 6px 24px rgba(108, 143, 255, 0.35) !important;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(108, 143, 255, 0.45) !important;
}

/* ── Logo ── */
.responsive-logo {
    width: 100%;
    max-width: 250px;
    height: auto;
}

@media (max-width: 576px) {
    .responsive-logo {
        max-width: 200px;
    }
}
