/* ==============================
   ESTADOS DE INDICADORES
   ============================== */

.sus-indicator-status {
    font-size: 14px;
    line-height: 1.4;
}

.sus-adelantado {
    background: #e8f6df;
    border-left: 5px solid #4caf50;
}

.sus-en_linea {
    background: #fff8e1;
    border-left: 5px solid #ff9800;
}

.sus-retrasado {
    background: #fdecea;
    border-left: 5px solid #f44336;
}

/* ==============================
   TABLAS (AUDITORÍA / DASHBOARD)
   ============================== */

.sus-audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

/* 🔹 CABECERA — AJUSTE UX */
.sus-audit-table thead th {
    background: #f1f3f5;          /* gris claro */
    color: #333;                  /* texto oscuro */
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    border: 1px solid #ccc;
    padding: 8px;
}

/* Celdas */
.sus-audit-table td {
    border: 1px solid #ccc;
    padding: 8px;
    vertical-align: middle;
}

/* Filas válidas / inválidas (más suaves) */
.sus-valid {
    background: #f6fbf6;
}

.sus-invalid {
    background: #fbf3f3;
}

/* ==============================
   DASHBOARD
   ============================== */

.sus-dashboard h2 {
    margin-bottom: 16px;
}

.sus-dashboard .button {
    margin-right: 4px;
}

/* ==============================
   REPORTE INSTITUCIONAL
   ============================== */

#sus-report-wrapper {
    background: #ffffff;
    padding: 24px;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell,
                 "Helvetica Neue", sans-serif;
}

#sus-report-wrapper * {
    box-sizing: border-box;
}

.sus-report-header {
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.sus-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

#sus-company-logo {
    max-height: 48px;
    max-width: 160px;
    display: none;
}

#sus-company-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

/* ==============================
   FICHA TÉCNICA
   ============================== */

.sus-indicator-factsheet {
    background: #f9fafb;
    padding: 16px;
    border-left: 4px solid #64b02a;
    margin-bottom: 24px;
}

.sus-indicator-factsheet h3 {
    margin-top: 0;
}

.sus-indicator-factsheet ul {
    margin: 0;
    padding-left: 18px;
}

/* ==============================
   CONTEXTO INDICADOR (REGISTRO)
   ============================== */

.sus-indicator-context {
    background: #f9fafb;
    padding: 16px;
    border-left: 4px solid #64b02a;
    margin-bottom: 20px;
}

/* ==============================
   MODO EXPORTACIÓN
   ============================== */

body.sus-export-mode nav,
body.sus-export-mode header,
body.sus-export-mode footer,
body.sus-export-mode .breadcrumb,
body.sus-export-mode .site-header,
body.sus-export-mode .site-footer {
    display: none !important;
}

body.sus-export-mode {
    background: #ffffff;
}

body.sus-export-mode #sus-report-wrapper {
    box-shadow: none;
    margin: 0;
}

.sus-timestamp-proof {
    margin-top: 10px;
}

.sus-timestamp-proof img {
    max-width: 140px;
    height: auto;
}

.sus-status-pending {
    color: #c0392b;
    font-weight: 600;
}

.sus-status-signed {
    color: #f39c12;
    font-weight: 600;
}

.sus-status-certified {
    color: #27ae60;
    font-weight: 700;
}
