/* ================================
   Formulaire Administratif Claudium
   ================================ */

.form-admin {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    font-family: "Segoe UI", sans-serif;
    border-left: 6px solid #9ad4ff;
}

/* Titre centré */
.form-titre {
    text-align: center;
    font-size: 1.2em;
    font-weight: 600;
    color: #1a4a7a;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
}

/* Groupe */
.form-groupe {
    margin-bottom: 18px;
}

/* Label administratif */
.form-label {
    display: block;
    font-size: 0.9em;
    font-weight: 600;
    color: #1a4a7a;
    margin-bottom: 6px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 4px;
}

/* Champs */
.form-input,
.form-textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #cfd7e3;
    border-radius: 4px;
    background: #f8fbff;
    font-size: 0.95em;
    color: #333;
    box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #7bb6ff;
    background: #eef6ff;
    outline: none;
}

/* ================================
   Radio & Checkbox
   ================================ */

.form-radio,
.form-check {
    margin: 6px 0;
}

.form-radio label,
.form-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    color: #333;
}

/* Style des inputs */
.form-radio input,
.form-check input {
    width: 16px;
    height: 16px;
    accent-color: #1a4a7a; /* bleu administratif */
}

/* ================================
   Actions
   ================================ */

.form-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Boutons (reprend ton style existant) */
.btn {
    padding: 8px 14px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    color: #222;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
    background: #eaeaea;
    border-color: #bbb;
}

.btn.admin {
    border-color: #0078d4;
    color: #0078d4;
}

.btn.admin:hover {
    background: #e6f1fb;
}

.btn.danger {
    border-color: #d9534f;
    color: #d9534f;
}

.btn.danger:hover {
    background: #fbeaea;
}
/* ================================
   Radio & Checkbox Claudium
   ================================ */

.form-radio input,
.form-check input {
    appearance: none;              /* retire le style natif */
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 18px;
    height: 18px;
    border: 2px solid #7bb6ff;     /* même bleu que les inputs focus */
    border-radius: 4px;            /* carré doux pour checkbox */
    background: #ffffff;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

/* Checkbox cochée */
.form-check input:checked {
    background: #7bb6ff;
    border-color: #1a4a7a;
}

/* Checkmark */
.form-check input:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 9px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ================================
   Radio stylisé
   ================================ */

.form-radio input {
    border-radius: 50%;            /* rond */
}

/* Radio sélectionné */
.form-radio input:checked {
    background: #7bb6ff;
    border-color: #1a4a7a;
}

/* Point central */
.form-radio input:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
}
/* ================================
   GESTION CONTACT - BACKOFFICE
================================ */

.manager-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px 25px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #d0d7e2;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

.manager-container h2 {
    color: #1a4a7a;
    font-size: 1.8em;
    margin-bottom: 20px;
    text-align: center;
}

.contact-item {
    margin-top: 25px;
    padding: 20px;
    background: #f8fbff;
    border-radius: 10px;
    border: 1px solid #c9d6e5;
    box-shadow: 0 0 8px rgba(0,0,0,0.08);
}

.contact-item h3 {
    color: #1a4a7a;
    margin-bottom: 10px;
}

.contact-meta {
    font-size: 0.9em;
    color: #444;
    margin-bottom: 10px;
}

.contact-message {
    background: #ffffff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #d0d7e2;
    margin-bottom: 15px;
}

.reply-area {
    margin-top: 10px;
}

.reply-area textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #b8c6d9;
    background: #f8fbff;
}

.reply-area textarea:focus {
    border-color: #7bb6ff;
    background: #eef6ff;
    outline: none;
}

.reply-btn {
    margin-top: 10px;
    padding: 10px 18px;
    background: #1a4a7a;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.reply-btn:hover {
    background: #163d66;
}
