@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1e1e2f, #3a3a5c);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 60px;
    color: #fff;
}

/* Formulaire container */
form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: fadeIn 1s ease;
}

/* Animation d’apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Titres */
form h1 {
    font-size: 26px;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
    font-weight: 600;
}

/* Libellés */
label {
    display: block;
    margin-bottom: 12px;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
}

/* Inputs & Select */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select {
    width: 100%;
    padding: 12px 16px;
    margin-top: 6px;
    margin-bottom: 20px;
    border: 1px solid #444;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
}

input:focus,
select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #88e0ef;
    box-shadow: 0 0 8px #88e0ef88;
}

/* Radios */
p {
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 15px;
    color: #ffffff;
}

input[type="radio"] {
    margin-right: 8px;
    accent-color: #88e0ef;
}

/* Boutons */
input[type="submit"],
input[type="reset"] {
    width: 48%;
    padding: 14px;
    font-size: 15px;
    font-weight: bold;
    margin-top: 25px;
    margin-right: 4%;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="submit"] {
    background: linear-gradient(135deg, #00c9ff, #92fe9d);
    color: #111;
    box-shadow: 0 4px 15px rgba(0, 201, 255, 0.4);
}

input[type="reset"] {
    background: #ffffff15;
    color: #fff;
    border: 1px solid #ffffff33;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #00b0e8, #79efb3);
}

input[type="reset"]:hover {
    background: #ffffff25;
}

/* Responsive */
@media (max-width: 600px) {
    form {
        padding: 30px 20px;
    }

    input[type="submit"],
    input[type="reset"] {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}
