@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800&display=swap');

body.login-body {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    font-family: 'DM Sans', sans-serif;
    position: relative; overflow: hidden;
}

body.login-body::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background:
        radial-gradient(circle at 20% 50%, rgba(232,89,12,0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(59,130,246,0.06) 0%, transparent 40%);
    animation: bgFloat 20s ease-in-out infinite;
}

@keyframes bgFloat {
    0%, 100% { transform: translate(0,0); }
    50% { transform: translate(-20px, 20px); }
}

.login-wrapper {
    position: relative; z-index: 1;
    width: 100%; max-width: 420px; padding: 20px;
    animation: loginIn 0.7s cubic-bezier(0.4,0,0.2,1);
}

@keyframes loginIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card {
    background: rgba(30,41,59,0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 40px 36px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.login-card .brand { text-align: center; margin-bottom: 32px; }

.login-card .brand-logo {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, #e8590c, #ff6b2b);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem; color: #fff;
    box-shadow: 0 6px 24px rgba(232,89,12,0.3);
}

.login-card .brand h2 { color: #f8fafc; font-size: 1.3rem; font-weight: 700; }
.login-card .brand p { color: #94a3b8; font-size: 0.85rem; margin-top: 4px; }

.login-card label {
    color: #cbd5e1; font-size: 0.85rem; font-weight: 600;
    display: block; margin-bottom: 6px;
}
.login-card label i { margin-right: 6px; opacity: 0.7; }

.login-card .form-input {
    width: 100%; padding: 12px 16px;
    background: rgba(15,23,42,0.6);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 10px; color: #f8fafc;
    font-family: 'DM Sans', sans-serif; font-size: 0.92rem;
    transition: all 0.3s ease; outline: none; margin-bottom: 20px;
}
.login-card .form-input::placeholder { color: #475569; }
.login-card .form-input:focus {
    border-color: #e8590c;
    box-shadow: 0 0 0 3px rgba(232,89,12,0.15);
    background: rgba(15,23,42,0.8);
}

.login-card .btn-login {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, #e8590c, #ff6b2b);
    color: #fff; border: none; border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer; transition: all 0.3s ease; margin-top: 4px;
}
.login-card .btn-login:hover {
    box-shadow: 0 6px 24px rgba(232,89,12,0.4);
    transform: translateY(-2px);
}

.flash-alert {
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    color: #fbbf24;
    padding: 12px 16px; border-radius: 10px;
    font-size: 0.85rem; margin-top: 16px;
    animation: alertSlide 0.5s ease;
}
@keyframes alertSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
