/* Fonts et reset */
body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}
/* ==== NB Admin header ==== */


/* Form container */
form {
    max-width: 700px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background-color: #fefefe;
}

/* Fieldsets */
fieldset {
    border: 1px solid #d9d9d9;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

legend {
    font-weight: 600;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

/* Labels and inputs */
label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #005a9c; /* Couleur bleu officiel Swiss */
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 90, 156, 0.2);
}

/* Checkboxes / Radios */
input[type="checkbox"],
input[type="radio"] {
    margin-right: 0.5rem;
}

/* Button */
button.btn {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

button.btn-primary {
    background-color: #005a9c;
    color: #fff;
}

button.btn-primary:hover {
    background-color: #004a80;
}

/* Error messages */
.error {
    color: #d8000c;
    background-color: #ffd2d2;
    padding: 0.5rem;
    border-radius: 4px;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    form {
        padding: 1rem;
    }
}
