/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Georgia', serif;
}

body {
    height: 100vh;
    background: url('Hero.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: #fff;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Enhanced overlay for luxury ambiance */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Login Container */
.login-container {
    text-align: center;
}

.login-box {
    background: rgba(255, 255, 255, 0.9); /* Softer white background */
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Stronger shadow for depth */
    width: 100%;
    max-width: 400px;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-box:hover {
    transform: translateY(-5px); /* Slight hover effect */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo img {
    max-width: 130px;
    margin-bottom: 20px;
}

/* Header and Text */
h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #003366; /* Bleu foncé */
    font-weight: bold;
}

p {
    font-size: 15px;
    margin-bottom: 30px;
    color: #666; /* Softer gray */
}

/* Input Group */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: flex;
    align-items: center;
    gap: 10px; /* Icon spacing */
    font-size: 15px;
    margin-bottom: 8px;
    color: #333;
}

input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    border-color: #003366;
    box-shadow: 0 0 8px rgba(0, 51, 102, 0.4); /* Subtle glow effect */
    outline: none;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    background: linear-gradient(45deg, #003366, #002244); /* Gradient button */
    color: #fff;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background: linear-gradient(45deg, #002244, #001122); /* Darker gradient */
    transform: scale(1.02); /* Slight enlarge effect */
}

.btn i {
    margin-right: 8px; /* Icon spacing */
}

/* Forgot Password Link */
.forgot-password {
    display: block;
    margin-top: 15px;
    font-size: 13px;
    color: #003366;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
    color: #002244;
}

/* Signup Link */
.signup-link {
    margin-top: 25px;
    font-size: 15px;
    color: #333;
}

.signup-link a {
    color: #003366;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.signup-link a:hover {
    color: #002244;
}

/* Additional Styles for Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.login-box {
    animation: fadeIn 0.5s ease-in-out;
}

/* Input group label with icons */
.input-group label {
    display: flex;
    align-items: center;
    gap: 10px; /* Spacing between icon and text */
    font-size: 14px;
}

.input-group i {
    color: #003366; /* Bleu foncé matching the theme */
}

.btn i {
    margin-right: 8px; /* Spacing before button text */
}

.signup-link i {
    margin-right: 5px;
}
