:root {
    --primary: #1e40af; /* Xerox Royal Blue */
    --primary-dark: #1e3a8a;
    --accent: #06b6d4; /* Laser Cyan */
    --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --text-heading: #1e293b;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-gradient);
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* Background Animated Circles */
.circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    filter: blur(60px);
}
.circle-1 { width: 300px; height: 300px; top: -100px; left: -100px; background: rgba(30, 64, 175, 0.15); }
.circle-2 { width: 250px; height: 250px; bottom: -50px; right: -50px; background: rgba(6, 182, 212, 0.1); }

.login-card {
    border: none;
    border-radius: 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 380px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.login-header {
    background: var(--primary);
    color: white;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-icon-container {
    position: relative;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: 2rem;
}

.header-scanner-line {
    position: absolute;
    width: 80%;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
    animation: scanHeader 2s infinite ease-in-out;
}

.login-header h3 {
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.form-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.aesthetic-input {
    border-radius: 0 12px 12px 0 !important;
    padding: 12px !important;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid #e2e8f0 !important;
}

.input-group-text {
    border-radius: 12px 0 0 12px !important;
    border: 1px solid #e2e8f0 !important;
    color: #64748b;
    padding-left: 15px;
}

.btn-login {
    background: var(--primary);
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-weight: 700;
    font-size: 0.9rem;
    color: white !important;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.btn-login:hover {
    background: var(--primary-dark);
    box-shadow: 0 10px 20px rgba(30, 64, 175, 0.3);
    transform: translateY(-2px);
}

.home-btn-container {
    margin-top: 1.8rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.back-home-btn:hover {
    background-color: white;
    color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.back-home-btn i {
    margin-right: 6px;
    font-size: 1rem;
}

.alert {
    border-radius: 14px;
    font-size: 0.75rem;
}

@keyframes scanHeader {
    0%, 100% { top: 10%; opacity: 0; }
    50% { top: 90%; opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-up {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}