#reservation-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-family: "Segoe UI", sans-serif;
}
#reservation-form .sect-form-resa {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
}
#reservation-form h2 {
    margin-top:0;
}
#reservation-form .sect-form-resa input,
#reservation-form .sect-form-resa textarea,
#reservation-form .sect-form-resa select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
#reservation-form .sect-form-resa input:hover,
#reservation-form .sect-form-resa textarea:hover,
#reservation-form .sect-form-resa select:hover{
    border-color: #38bdf8;
}
#reservation-form .sect-form-resa input:focus,
#reservation-form .sect-form-resa textarea:focus,
#reservation-form .sect-form-resa select:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 2px rgba(0, 115, 230, 0.2);
    outline: none;
}
#reservation-form #time-form select{
    width:100%;
}
#reservation-form .reservation-time {
    appearance: none; /* Supprime le style natif */
    -webkit-appearance: none; /* Pour Safari */
    -moz-appearance: none; /* Pour Firefox */
    background: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 0.5em center;
    background-size: 2em;
}
#reservation-form .sect-form-resa p {
    margin-top: 0;
}
#reservation-form textarea {
    resize: vertical;
    min-height: 80px;
}

#reservation-form button[type="submit"] {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#reservation-form #checkbox-form {
    flex-direction: row;
    gap: 10px;
    align-items: center;
}
#reservation-form  input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    margin:0;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    transition: border-color 0.3s, box-shadow 0.3s;
    line-height: 1;
    padding:0;
    min-width:25px;
    min-height:25px;
    height:25px;
    width:25px;
}
#reservation-form  input[type="checkbox"]:focus {
    box-shadow: none;
}
#reservation-form  input[type="checkbox"]:hover {
    border-color: #38bdf8 !important;
    cursor: pointer;
}
#reservation-form input[type="checkbox"]:checked::before {
    content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");
    float: left;
    display: inline-block;
    vertical-align: middle;
    width: 25px;
    height: 25px;
    margin-left: -2px;
}
#reservation-form input[type="checkbox"]:checked {
    padding: 0;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 0 2px rgba(0, 115, 230, 0.2);
    outline: none;
}
/* Date et Time */
#reservation-form input[type="date"]:hover, #reservation-form .sect-form-resa select:hover{
    background-color: #f7f7f7;
    cursor: pointer;
}
#reservation-form input[type="date"]::-webkit-calendar-picker-indicator {
    height: 28px;
    width: 28px;
    transition: 0.2s ease;
    cursor:pointer;
}
#reservation-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    transform:scale(1.1);
    opacity: 0.7;
}
#reservation-form input[type="date"], #reservation-form select{
    transition: 0.2s ease;
    cursor:pointer;
}
#reservation-form input[type="number"]::-webkit-inner-spin-button,
#reservation-form input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
    height: 1.5em;
    transform: scale(1.4);
    padding-right:2px;
}

/*** RESPONSIVE TEL ***/
@media only screen and (max-width: 800px) {
    #reservation-form{
        margin: 15px !important;
        padding:20px;
    }
    #reservation-form input[type="number"]::-webkit-inner-spin-button,
    #reservation-form input[type="number"]::-webkit-outer-spin-button {
        width:15px;
        transform: scale(1.2);
    }
    #reservation-form .sect-form-resa input,
    #reservation-form .sect-form-resa textarea {
        padding: 8px;
    }
    #reservation-form  input[type="checkbox"] {
        padding:0;
    }
}