/* Main container styling */
.auth-fluid {
    min-height: 100vh;
    background: #f5f5f5;
}

.auth-fluid-form-box {
    max-width: 480px;
    background: #ffffff;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

/* Logo styling */
.brand-logo {
    width: 250px; /* Augmentez la largeur */
    height: auto; /* Maintient les proportions */
    max-width: 100%; /* Empêche le débordement */
}

/* Form elements styling */
.form-floating > .form-control {
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    padding: 0.75rem 1rem;
    height: 52px;
}

.form-floating > .form-control:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.1);
}

.form-floating > label {
    padding: 0.75rem 1rem;
}

/* Sign in button */
.btn-signin {
    background: #4F46E5;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: #4338CA;
    transform: translateY(-1px);
}

.btn-signin:active {
    transform: translateY(0);
}

/* Alert styling */
.custom-alert {
    border: none;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    animation: slideIn 0.3s ease-out;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-icon {
    font-size: 1.25rem;
}

.alert-message {
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    padding: 0.25rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

.alert-danger.custom-alert {
    background-color: #fee2e2;
    color: #dc2626;
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Keyframe animation for fade-in effect */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Right side content */
.auth-fluid-right {
    position: relative;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.auth-fluid-right .overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.auth-user-testimonial {
    position: relative;
    z-index: 1;
    padding: 2rem;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: fadeInUp 1.5s ease-in-out;
}

.auth-user-testimonial h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.auth-user-testimonial .lead {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 2rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.auth-user-testimonial p {
    font-size: 1.2rem;
    color: #f0f0f0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.auth-user-testimonial h5 {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .auth-fluid-right {
        display: none;
    }
    
    .auth-fluid-form-box {
        width: 100%;
        max-width: none;
    }

    .brand-logo {
        height: 100px;
    }

    .login-message {
        font-size: 1.25rem;
    }
    
    .login-subtitle {
        font-size: 0.9rem;
    }

    .auth-user-testimonial h2 {
        font-size: 2rem;
    }
    
    .auth-user-testimonial .lead {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 80px;
    }
}

/* Additional styles */
.auth-brand {
    padding: 1.5rem 0;
    text-align: center;
    transition: transform 0.3s ease;
}

.auth-brand:hover {
    transform: scale(1.02);
}

.logo-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.login-message {
    color: #1a3353;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #6c757d;
    font-weight: 400;
    transition: color 0.3s ease;
}

.login-subtitle:hover {
    color: #495057;
}