/* Custom styles for Login */
:root {
    --primary-color: #1a365d;
    --secondary-color: #2b77ad;
    --gradient-primary: linear-gradient(135deg, #1a365d 0%, #2b77ad 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    padding: 3rem;
    max-width: 450px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    max-height: 80px;
    margin-bottom: 1rem;
}

.login-title {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #666;
    font-size: 1rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(43, 119, 173, 0.25);
}

.btn-login {
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.btn-login:hover {
    background: linear-gradient(135deg, #0f2a4c 0%, #1e5f8a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.btn-microsoft {
    background: #0078d4;
    border: none;
    border-radius: 10px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
    color: white;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-microsoft:hover {
    background: #106ebe;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 110, 190, 0.3);
    color: white;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #666;
    font-size: 0.9rem;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.login-footer p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.alert {
    border-radius: 10px;
    border: none;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

.alert-success {
    background: #d1e7dd;
    color: #0a3622;
}

@media (max-width: 576px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
}
