/* === LOGIN EMERALD & GOLD THEME === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #022c22; /* Deep Emerald */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(5, 150, 105, 0.15), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1), transparent 40%);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ecfdf5;
}

.login-container {
    max-width: 450px;
    width: 90%;
    background: rgba(6, 78, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem 2.5rem;
    border-radius: 28px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.brand { text-align: center; margin-bottom: 2.5rem; }
.brand img { width: 100px; height: auto; margin-bottom: 1.2rem; border-radius: 20px; border: 2px solid var(--accent); }
.brand h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; color: #fff; letter-spacing: -0.02em; }
.brand p { color: #86efac; font-size: 0.95rem; opacity: 0.8; }

.field-row { margin-bottom: 1.5rem; }
label { font-weight: 600; margin-bottom: 0.6rem; font-size: 0.9rem; color: #d1fae5; display: block; }

.form-control {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    background: rgba(2, 44, 34, 0.6);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(2, 44, 34, 0.8);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.btn-emerald {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
}

.btn-emerald:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.4);
}

.alert-box {
    background: rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    padding: 12px 18px;
    color: #fca5a5;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.theme-toggle:hover {
    color: white !important;
}

@media (max-width: 480px) {
    .login-container { 
        padding: 2.5rem 1.5rem; 
        width: 95%;
    }
    .brand h1 { font-size: 1.6rem; }
    .brand img { width: 80px; }
    .form-control { padding: 1rem; }
}