:root {
    --switch-size: 18px;
    --primary-color-switch: #3a66d9;
    --primary-color-light-switch: #7c97e6;
    --input-background-switch: #fff;
    --focus-color-switch: #6c9ee3;
}

#ci-form-container,
#ci-simp-step1-form {
    max-width: 800px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 20px;
    border: 2px solid #0073aa;
    border-radius: 4px;
    margin-top: 50px;
}

#ci-form-container h3,
#ci-simp-step1-form h3 {
    margin-bottom: 15px;
}

#ci-form-container label,
#ci-simp-step1-form label {
    display: block;
    margin-top: 10px;
}

#ci-form-container input[type="text"],
#ci-form-container input[type="email"],
#ci-form-container input[type="file"],
#ci-form-container input[type="password"],
#ci-form-container textarea,
#ci_password,
#ci_password_confirm,
#ci-simp-step1-form input[type="text"],
#ci-simp-step1-form input[type="email"],
#ci-simp-step1-form input[type="file"],
#ci-simp-step1-form input[type="password"],
#ci-simp-step1-form textarea {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    resize: vertical;
    transition: border-color 0.2s ease-in-out;
}

#ci-form-container .ci-field-error {
    border-color: #d63638 !important;
    box-shadow: 0 0 3px rgba(214, 54, 56, 0.5);
}

#ci-form-container .ci-navigation {
    margin-top: 20px;
    text-align: right;
}

#ci-form-container .ci-navigation button {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 2px;
    cursor: pointer;
}

#ci-form-container .ci-navigation button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#ci-form-container .required {
    color: red;
}

.ci-tooltip {
    display: inline-block;
    margin-left: 5px;
    cursor: help;
    color: #0073aa;
    font-weight: bold;
}

.ci-tooltip:hover {
    text-decoration: underline;
}

/* 2.1. Conteneur pour garder l’alignement texte + icône centré */
.ci-field-with-tooltip {
    display: inline-flex;
    align-items: center;
}

/* 2.2. Style pour l’icône “?” dans un cercle */
.ci-help-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    background-color: #969696;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    cursor: help;
    position: relative;
    transition: background-color 0.2s ease;
}

/* 2.3. Variante au survol (pour indiquer que c’est cliquable / survolable) */
.ci-help-icon:hover {
    background-color: #0073aa;
}

/* 2.4. (Optionnel) Si vous voulez une bordure fine */
.ci-help-icon {
    border: 1px solid #999;
}

.ci-doc-block {
    border: 1px solid #ccc;
    width: 48%;
    height: 60px;
    position: relative;
    text-align: center;
    cursor: pointer;
}

/* On replace line-height=100px par un positionnement « top » et centré horizontal */
.ci-doc-plus {
    font-size: 2em;
    /* position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%); */
    color: #777;
}

/* Texte court, line-height fixé à 1 pour ne pas remonter ou descendre */
.ci-doc-label {
    /* position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px; */
    font-size: 0.8em;
    line-height: 1;
    /* ligne dense, pas centré verticalement */
    text-align: left;
}

button.ci-prev-button {
    color: #0073aa !important;
    background-color: white !important;
    border: 1px solid #0073aa !important;
}

/* --- Avant : */
.ci-doc-block {
    border: 1px solid #ccc;
    /* height: 100px; */
    position: relative;
    text-align: center;
    cursor: pointer;
    padding: 0 5px;
}

.ci-doc-plus {
    font-size: 2em;
    /* position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%); */
    color: #777;
}

/* --- Après : */
.ci-doc-block {
    border: 1px solid #0073aa;
    /* un peu plus large pour loger le texte + le "+" */
    height: 75px;
    /* hauteur réduite, puisque le contenu est sur une seule ligne */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: white;

}

.ci-doc-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4px;
}

.ci-doc-label {
    font-size: 0.85em;
    color: #0073aa;
}

.ci-doc-plus {
    font-size: 1.5em;
    color: #777;
}

.ci-two-columns {
    display: flex;
    gap: 20px;
}

.ci-two-columns>div {
    flex: 1;
    min-width: 0;
}

.label-switch-register {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.label-switch-register {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 50px;
    /* Espace pour le switch */
    min-height: 36px;
    /* Hauteur du switch */
    cursor: pointer;
    font-size: 16px;
}

.label-switch-register input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    left: 0;
    width: 40px;
    height: 17px;
    background: #99b4df;
    border-radius: 34px;
    transition: .4s;
    margin-top: 4px;
}

.switch-slider:before {
    content: "";
    position: absolute;
    height: 11px;
    width: 11px;
    left: 4px;
    bottom: 4px;
    background: white;
    border-radius: 50%;
    transition: .4s;
    top: 3px;
}

.label-switch-register input:checked+.switch-slider {
    background: #0073aa;
}

.label-switch-register input:checked+.switch-slider:before {
    transform: translateX(20px);
}

.label-switch-register input:focus+.switch-slider {
    box-shadow: 0 0 1px #0073aa;
}

#ci-simp-step1-next {
    margin-top: 10px;
}

#ci-simp-step2-prev {
    background-color: white !important;
    color: #24648c !important;
    border: 1px solid #24648c;
}

textarea.select2-search__field {
    height: 40px !important;
}