/* =========================
   LABELS
========================= */

label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
}

/* =========================
   CHAMPS
========================= */

input[type="email"],
input[type="password"],
input[type="tel"],
input[type="text"] {
    width: 97%;
    padding: 14px 16px;
    margin-bottom: 20px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
    background: #fff;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59,130,246,0.15);
}

/* ==========================
   Select moderne
========================== */

select {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    font-size: 15px;
    color: #374151;
    background-color: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

select:hover {
    border-color: #93c5fd;
}

select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* =========================
   CASE A COCHER
========================= */

label input[type="checkbox"] {
    margin-right: 8px;
}

label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-weight: 500;
    cursor: pointer;
}

/* =========================
   CASE RADIO
========================= */

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    cursor: pointer;
}

.radio-option input {
    margin: 0;
}

/* =========================
   BOUTON
========================= */

button {
    width: 100%;
    border: none;
    padding: 14px;
    border-radius: 10px;
    background: #2563eb;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

button:active {
    transform: translateY(0);
}


/* =========================
   MESSAGE ERREUR
========================= */

.error {
    background: #fee2e2;
    color: #b91c1c;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-size: 14px;
}

.hidden {
	display: none;
}

.show {
	display: block;
}