/* structure génèrale */

.ftc-container h1 {
    margin-bottom: 10px;
}

.ftc-container .button {
    min-width: 90px;
    margin-right: 4px;
    vertical-align: middle;
    text-align: center;
}

.ftc-zone {
    background: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    margin-bottom: 25px;
    border-radius: 8px;
}

.ftc-zone h2 { 
    margin-top: 0;
}

.ftc-row {
    margin: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 15px;
}


.ftc-row label {
    display: inline-block;
    width: fit-content;
    font-weight: 600;
    margin-bottom: 6px;
}

.ftc-row input[type="text"] {
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 5px;
}

.form-label-div{
    display: flex;
    gap:1.5rem;
    align-items: baseline;
}

.ftc-zone table td, .ftc-zone table th, #ftc-table-lignes td, #ftc-table-lignes th {
    text-align: center;
}

.wp-list-table td:last-child {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.wp-list-table td:last-child .button {
    margin-bottom: 0 !important;
}

/* === Mise en forme des groupes de cases FTC === */
.ftc-checkbox-group {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    max-height: 180px;
    overflow-y: auto;
    width: fit-content;
    margin-left: 30px;
    margin-bottom: 15px;
    line-height: 1.8;
}

.ftc-checkbox {
    display: block;
    margin-bottom: 3px;
    margin-right: 15px;
    cursor: pointer;
}

/* bouton avec croix blanche */
.ftc-btn-plus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* symbole + blanc */
.ftc-plus {
    position: relative;
    width: 12px;
    height: 12px;
    display: inline-block;
    flex-shrink: 0;
}

.ftc-plus::before,
.ftc-plus::after {
    content: '';
    position: absolute;
    background: #fff;
    border-radius: 1px;
}

.ftc-plus::before {
    width: 2px;
    height: 12px;
    left: 5px;
    top: 0;
}

.ftc-plus::after {
    width: 12px;
    height: 2px;
    left: 0;
    top: 5px;
}

/* Style de notification */
.ftc-notice {
    margin-top: 15px;
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
