/* login.css */

.auth {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 6rem 10%;
    background: white;
    min-height: 100vh;
}

.auth-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.form-container h2 {
    color: #01661f;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #444;
}

.form-group input {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.btn-primary {
    background: #01661f;
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-primary:hover {
    background: #003811;
    transform: scale(1.05);
}

.switch-link {
    margin-top: 1.5rem;
    color: #444;
}

.switch-link a {
    color: #01661f;
    text-decoration: none;
    font-weight: bold;
}

.switch-link a:hover {
    text-decoration: underline;
}

.message-erreur {
    background: #ffe5e5;
    border: 1px solid #b71c1c;
    color: #b71c1c;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

.message-succes {
    background: #e6ffe5;
    border: 1px solid #1b5e20;
    color: #1b5e20;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    text-align: center;
}

