* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: var(--background);
    font-family: 'Roboto', sans-serif;
}

.auth-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    padding: 0 1rem;
    min-height: calc(100vh - 72px); /* Hauteur de l'en-tête */
}

.auth-main {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    padding: 0 1rem;
}

.auth-header {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.auth-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.auth-header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--white);
}

.auth-header .logo-image {
    height: 40px;
    width: auto;
    margin-right: 0.5rem;
}

.auth-header .logo-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
    color: var(--white);
}

.auth-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.auth-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.auth-nav a.active {
    background: var(--primary-yellow);
    color: var(--primary-blue);
}

.auth-nav a i {
    margin-right: 0.5rem;
}

.auth-container {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.auth-box {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.auth-box h1 {
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

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

.auth-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    padding: 5px;
}

.toggle-password:hover {
    color: var(--primary-blue);
}

.remember-me,
.terms {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"],
.terms input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.auth-button {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-button:hover {
    background-color: var(--secondary-blue);
}

.auth-links {
    margin-top: 1.5rem;
    text-align: center;
}

.auth-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
}

.auth-links a:hover {
    text-decoration: underline;
}

.forgot-password {
    display: block;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .auth-box {
        padding: 1.5rem;
    }

    .auth-box h1 {
        font-size: 1.75rem;
    }
}
