html, body {
    background: url('images/accueil.png');
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #fff;
}

body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: rgba(10, 30, 50, 0.85);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 500px;
    width: 100%;
    border: 2px solid #1e90ff;
}

h2 {
    color: #1e90ff;
    font-size: 2.2em;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: #add8e6;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #1e90ff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.5);
}

button[type="submit"] {
    background: #1e90ff;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #0066cc;
}

.message {
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: 500;
}

.message.success {
    background: #2e7d32;
    color: white;
}

.message.error {
    background: #c62828;
    color: white;
}

.login-link {
    margin-top: 20px;
    color: #add8e6;
}

.login-link a {
    color: #1e90ff;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}   