/* ============================================================
   LOGIN — modern glass / gradient
   ============================================================ */

* { box-sizing: border-box; }

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        radial-gradient(circle at 15% 20%, rgba(99,102,241,.35), transparent 60%),
        radial-gradient(circle at 85% 80%, rgba(168,85,247,.30), transparent 60%),
        linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    color: #e2e8f0;
    -webkit-font-smoothing: antialiased;
}

/* Animated decorative blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
    animation: float 18s ease-in-out infinite;
}
body::before {
    top: -120px; left: -120px;
    background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%);
}
body::after {
    bottom: -120px; right: -120px;
    background: radial-gradient(circle, rgba(168,85,247,.35), transparent 70%);
    animation-delay: -9s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(40px, 40px); }
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    box-shadow:
        0 20px 60px -10px rgba(0,0,0,.5),
        0 8px 24px -8px rgba(0,0,0,.4),
        inset 0 1px 0 rgba(255,255,255,.06);
    padding: 36px 32px;
    color: #e2e8f0;
}

.login-card img {
    display: block;
    margin: 0 auto 20px;
    width: 55%;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.4));
}

.login-card h4 {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: #f1f5f9;
    letter-spacing: -.01em;
}

.login-card .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.login-card .form-control {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    color: #f1f5f9;
    border-radius: 10px;
    padding: .65rem .85rem;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.login-card .form-control:focus {
    background: rgba(255,255,255,.08);
    border-color: rgba(99,102,241,.7);
    box-shadow: 0 0 0 4px rgba(99,102,241,.18);
    color: #fff;
    outline: 0;
}
.login-card .form-control::placeholder { color: rgba(226,232,240,.4); }

.login-card .btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: 0;
    color: #fff;
    font-weight: 600;
    padding: .7rem 1rem;
    border-radius: 10px;
    box-shadow: 0 12px 28px -8px rgba(99,102,241,.55);
    transition: transform .15s ease, box-shadow .15s ease;
}
.login-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px -8px rgba(99,102,241,.65);
}
.login-card .btn-primary:active { transform: translateY(0); }

.login-card .alert {
    background: rgba(239,68,68,.10);
    border: 1px solid rgba(239,68,68,.30);
    color: #fca5a5;
    border-radius: 10px;
    font-size: 14px;
    padding: .65rem .85rem;
}
