/* Enhanced Login Page Styles */

/* Background gradient and overlay effects */
body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Authentication container */
.authentication {
    min-height: 100vh;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
}

/* Custom card styling with glass morphism effect */
.custom-card {
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.custom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* Logo link hover effect */
.logo-link {
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Form control focus states */
.form-control:focus,
.form-check-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* Input group text styling */
.input-group-text {
    border: 1px solid #dee2e6;
}

/* Primary button with gradient */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(102, 126, 234, 0.3);
}

/* Outline button styles */
.btn-outline-primary {
    border-color: #667eea;
    color: #667eea;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #667eea;
    border-color: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    transition: all 0.3s ease;
}

.btn-outline-secondary:hover {
    transform: translateY(-2px);
}

/* Alert styling */
.alert-danger {
    border-radius: 0.5rem;
    border-left: 4px solid #dc3545;
}

/* Divider text */
.divider-text {
    white-space: nowrap;
}

/* Security footer */
.security-footer {
    background: transparent;
    border-radius: 0;
    padding: 0.75rem 0;
    border: none;
}

.security-footer i {
    color: #6c757d;
    font-size: 1rem;
}

.security-footer .security-text {
    font-size: 0.813rem;
    font-weight: 400;
    color: #6c757d;
    letter-spacing: 0;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .authentication {
        padding: 1rem 0;
    }
    
    .card-body {
        padding: 2rem !important;
    }
}
