/*

Theme Name: Vision-2-theme

Description: Theme enfant Woffice

Author: Signarama France

Template: woffice

*/

/* Boutons de synthèse des reportings */
.custom-button {
    display: block;
    width: 100%;
    padding: 15px;
    text-align: center;
    font-family: open sans, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
    transition: background 0.3s, transform 0.2s;
}
a.custom-button.btn-red {
    color: #ffffff !important;
}

a.custom-button.btn-blue {
    color: #ffffff !important;
}

.custom-button:hover {
    transform: scale(1.05);
}

.btn-red {
    background-color: #c10a27 /* Rouge */
}

.btn-red:hover {
    background-color: #c9302c;
}

.btn-blue {
    background-color: #337ab7; /* Bleu */
}

.btn-blue:hover {
    background-color: #286090;
}



/* Styles modernes pour les tableaux de synthèse */
.table-container {
    width: 100%;
    overflow-x: auto;
}

.report-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.report-table thead {
    background: #2c3e50;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 14px;
}

.report-table th, .report-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.report-table tbody tr:hover {
    background: rgba(44, 62, 80, 0.1);
}

.report-table a {
    color: #3498db;
    text-decoration: none;
    font-weight: bold;
}

.report-table a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Style pour améliorer l'apparence du tri */
th {
    cursor: pointer;
    position: relative;
}

th::after {
    content: " ▲▼";
    font-size: 12px;
    color: #ccc;
    position: absolute;
    right: 10px;
}

th.sorted-asc::after {
    content: " ▲";
    color: #ffffff;
}

th.sorted-desc::after {
    content: " ▼";
    color: #ffffff;
}

/* Pagination et Recherche */
.dataTables_wrapper {
    margin-top: 10px;
}

.dataTables_filter input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}


/* Alignement du bloc "Afficher XX reportings" et de la barre de recherche */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    display: inline-block;
    vertical-align: middle;
    margin: 25px;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
}

.dataTables_wrapper .dataTables_length select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.dataTables_wrapper .dataTables_filter input {
    width: 200px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

/*===========PJ====================*/

.reporting-attachments {
    border: 1px solid #aa1111 !important;
    margin: 20px;
    padding: 20px;
}

.reporting-attachments h3 {
    font-size: 20px;
    font-weight: bold;
    color: #aa1111;
}

.reporting-attachments ul {
    list-style-type: none;
    padding-left: 0;
}

.reporting-attachments li {
    margin-bottom: 10px;
}

.reporting-attachments a {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

.reporting-attachments a:hover {
    text-decoration: underline;
    color: #aa1111;
}


.reporting-precision {
    margin-top: 20px;
    padding: 10px;
    background: #f8f8f8;
    border-left: 5px solid #aa1111;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.reporting-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: #aa1111;
    margin-top: 10px;
    margin-bottom: 20px;
}

/*.reporting-header {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}*/

.reporting-header-inner {
  /*  max-width: 900px;*/
    margin: 0 auto;
}

.reporting-title {
    font-size: 36px !important;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: bold;
}

.reporting-subtitle {
    font-size: 20px;
    color: #ffffff !important;
    font-weight: 300;
    margin-top: 0;
}

.reporting-header-inner {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}


h1.reporting-title {
    color: blue !important;
}

h3.reporting-subtitle {
    color: chocolate !important;
}

.reporting-meta {
    font-size: 16px;
    font-weight: 300;
    color: #cccccc;
    margin: 0 0 10px 0;
}

.canal-badge {
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
}

.canal-visite {
    background-color: #2c7a7b;
}
.canal-telephone {
    background-color: #b83280;
}
.canal-visioconference {
    background-color: #4c51bf;
}



