body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
}

.bg-blur {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(
        circle,
        rgba(56, 189, 248, 0.25) 0%,
        rgba(56, 189, 248, 0) 70%
    );
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    pointer-events: none;
}

.bg-blur-1 {
    top: 10%;
    left: -5%;
}

.bg-blur-2 {
    bottom: 10%;
    right: -5%;
    background: radial-gradient(
        circle,
        rgba(168, 85, 247, 0.25) 0%,
        rgba(168, 85, 247, 0) 70%
    );
}

.login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    padding: 2rem 1.8rem 2.2rem 1.8rem;
    box-shadow:
        0 25px 45px -12px rgba(0, 0, 0, 0.5),
        0 1px 2px rgba(255, 255, 255, 0.08) inset;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.brand {
    text-align: center;
    margin-bottom: 2rem;
}

.brand h1 {
    font-size: 1.9rem;
    font-weight: 600;
    background: linear-gradient(135deg, #f0f9ff, #bae6fd);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}

.brand p {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-label {
    display: block;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.input-field {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    font-size: 1rem;
    color: #f1f5f9;
    transition: all 0.2s ease;
    outline: none;
}

.input-field:focus {
    border-color: #38bdf8;
    background: rgba(30, 41, 59, 0.9);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.input-field::placeholder {
    color: #64748b;
    font-weight: 400;
    font-size: 0.9rem;
}

.demo-hint {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 0.65rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: #94a3b8;
    border-left: 3px solid #38bdf8;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.demo-hint code {
    background: #0f172a;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 0.7rem;
    color: #7dd3fc;
}

.login-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(95deg, #2563eb, #3b82f6);
    border: none;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn:hover {
    background: linear-gradient(95deg, #1d4ed8, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.4);
}

.login-btn:active {
    transform: translateY(1px);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.message-area {
    margin-top: 1.5rem;
    padding: 0.7rem;
    border-radius: 12px;
    font-size: 0.85rem;
    text-align: center;
    transition: all 0.2s;
    min-height: 58px;
}

.error-msg {
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.success-msg {
    background: rgba(34, 197, 94, 0.2);
    color: #bbf7d0;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.info-msg {
    background: rgba(59, 130, 246, 0.15);
    color: #bae6fd;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.7rem;
    color: #475569;
}

@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }
    .brand h1 {
        font-size: 1.6rem;
    }
}
