/* Police globale */
@import url("https://fonts.googleapis.com/css2?family=Century+Gothic&display=swap");

body, td, th, input, textarea, button {
    font-family: "Century Gothic", sans-serif;
}

/* Tableau */
table {
    border-collapse: collapse;
    width: 80%;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 9px rgba(0,0,0,0.1);
    background-color: #fff;
}

th, td {
    padding: 10px;
    text-align: center;
}

/* Alternance des lignes */
tbody tr:nth-child(odd) td {
    background-color: rgba(128, 128, 128, 0.07);
}

/* Boutons */
button {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

/* Bouton supprimer */
.zohe-delete-reporting-btn, .btn-delete {
    background-color: #fa8080;
    color: #fff;
    border: none;
    margin-right: 5px;
}

.zohe-delete-reporting-btn:hover {
    background-color: #ff4c4c;
}

/* Bouton détails */
.zohe-view-reporting-btn, .btn-view {
    background-color: #455a64;
    color: #fff;
    border: none;
}

.zohe-view-reporting-btn:hover {
    background-color: #37474f;
}

/* Bouton mini PDF */
.btn-mini {
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 50%;
    font-size: 12px;
    margin-right: 5px;
}

/* Style général des boutons */
#zohe-add-reporting-btn,
#zohe-confirm-assignment-btn {
    font-family: "Century Gothic", sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* espace entre texte et loader */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}



#zohe-add-reporting-btn:hover {
    background-color: #d5d5d5;
    transform: translateY(-2px);
}

/* Bouton Sauvegarder – rouge Hainaut Est */
#zohe-confirm-assignment-btn {
    background-color: #D32F2F;
    color: white;
}

#zohe-confirm-assignment-btn:hover {
    background-color: #B71C1C;
    transform: translateY(-2px);
}

.zohe-add-reporting-btn:hover {
    background-color: #ccc;
}

.signalement-textarea {
    resize: none; /* empêche le redimensionnement */
}

#zohe-loading-spinner, .loader-small {
    display: none;
    text-align: center;
}

.loader {
    border: 7px solid #f3f3f3;
    border-radius: 50%;
    border-top: 7px solid #000;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    display: inline-block;
}

.loader-small {
    width: 15px;
    height: 15px;
    margin-left: 10px;
    margin-top: 5px;
    border: 2px solid #f3f3f3;
    border-radius: 50%;
    border-top: 2px solid #000;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
