/* Login Page Styling */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    background: radial-gradient(circle at 50% 20%, #1e293b 0%, #0b0f19 80%);
    position: relative;
    overflow: hidden;
}

.login-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(55, 65, 81, 0.8);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(59, 130, 246, 0.1);
}

.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    font-size: 28px;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.login-header p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    font-size: 16px;
    pointer-events: none;
}

.form-control {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 10px;
    color: #f8fafc;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
    background-color: #0f172a;
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: transparent;
    color: var(--text-muted);
    font-size: 14px;
    padding: 4px;
}
.toggle-password:hover {
    color: var(--text-primary);
}

.btn-primary {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    display: none;
    line-height: 1.4;
}

.alert-error {
    background-color: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.alert-success {
    background-color: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.credentials-hint {
    margin-top: 24px;
    padding: 12px;
    background-color: rgba(30, 41, 59, 0.6);
    border: 1px dashed #334155;
    border-radius: 8px;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.credentials-hint strong {
    color: var(--accent-blue);
}
