/* Modern Auth Pages CSS */

.auth-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 420px;
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3);
}

.auth-header {
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.auth-logo {
    margin-bottom: 1.5rem;
}

.auth-logo img {
    height: 48px;
    width: auto;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-body {
    padding: 1.5rem 2rem 2rem;
}

.auth-form-group {
    margin-bottom: 1.25rem;
    position: relative;
}

.auth-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
}

.auth-form-group .form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.auth-form-group .form-control:focus {
    background-color: #fff;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-form-group .form-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.auth-form-group .form-control:focus + .form-icon {
    color: #3b82f6;
}

.auth-remember {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.auth-remember .form-check {
    margin: 0;
}

.auth-remember .form-check-input {
    border-color: #cbd5e1;
}

.auth-remember .form-check-input:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.auth-remember a {
    color: #3b82f6;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-remember a:hover {
    color: #2563eb;
}

.auth-submit {
    margin-bottom: 1.5rem;
}

.auth-submit .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
    border: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.auth-submit .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.auth-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.auth-footer-text {
    color: #64748b;
    font-size: 0.875rem;
}

.auth-footer-link {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-footer-link:hover {
    color: #2563eb;
}

/* Alert styles */
.auth-alert {
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-alert.alert-danger {
    background-color: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-alert i {
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .auth-card {
        margin: 1rem;
    }
    
    .auth-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .auth-body {
        padding: 1rem 1.5rem 1.5rem;
    }
}
