/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    --green: #10b981;
    --green-dim: rgba(16, 185, 129, 0.1);
    --bg-surface: #f8fafc;
    --text-dark: #0f172a;
    --border-light: rgba(0, 0, 0, 0.05);
    --r-md: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-surface);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 20%),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2364748b' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='2' cy='2' r='2'/%3E%3C/g%3E%3C/svg%3E");
    color: var(--text-dark);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.login-page { width: 100%; max-width: 440px; padding: 2rem; }

.login-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    padding: 3rem;
    border-radius: var(--r-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.8s ease-out;
}

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

.login-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
}

.brand-logo { height: 40px; }

.login-title { text-align: center; margin-bottom: 2.5rem; }
.login-title h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.login-title p { color: #94a3b8; font-size: 0.9rem; }

.input-group { margin-bottom: 1.5rem; }
.input-label { display: block; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; margin-bottom: 0.5rem; }

.input-field-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field-icon i {
    position: absolute;
    left: 1rem;
    color: #475569;
    font-size: 0.9rem;
}

.input-field {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.875rem 1rem 0.875rem 2.8rem;
    border-radius: 12px;
    color: var(--text-dark);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.input-field:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px var(--green-dim);
}

.btn-login {
    width: 100%;
    background: var(--green);
    color: #fff;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.2s;
    margin-top: 1rem;
}

.btn-login:hover { background: #16a34a; transform: translateY(-1px); box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3); }
.btn-login:disabled { opacity: 0.7; cursor: not-allowed; }

.login-back { text-align: center; margin-top: 2rem; }
.login-back a { color: #64748b; text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: color 0.2s; }
.login-back a:hover { color: var(--text-light); }

.fa-spinner { animation: spin 1s linear infinite; }
@keyframes spin { 100% { transform: rotate(360deg); } }
