/* ============================================
   STILI PAGINA LOGIN
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #f9fafb;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-container {
    background: #ffffff;
    border-radius: 32px;
    padding: 3rem 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header .logo-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.login-header h1 {
    font-size: 1.8rem;
    color: #1e3a8a;
    font-weight: 700;
}

.login-header .subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.3rem;
}

.login-header .subtitle i {
    color: #2563eb;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #1e3a8a;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.form-group label i {
    color: #2563eb;
    margin-right: 0.3rem;
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #eef2f6;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
    background: #fafbfc;
}

.form-group input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.06);
}

.form-group input::placeholder {
    color: #94a3b8;
}

.btn-login {
    width: 100%;
    padding: 0.9rem;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-login:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login i {
    font-size: 1rem;
}

.alert {
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.alert-error {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #dff0e4;
    color: #0f6e4a;
    border: 1px solid #b8d9c8;
}

.alert i {
    font-size: 1rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.login-footer i {
    color: #2563eb;
}

.otp-hint {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #f8fafc;
    border-radius: 8px;
}

.otp-hint i {
    color: #2563eb;
    margin-right: 0.3rem;
}

.back-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #2563eb;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 500px) {
    .login-container {
        padding: 2rem 1.5rem;
    }
    
    .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-header .logo-icon {
        font-size: 2.5rem;
    }
}