/* --- Estilos para el módulo de Auditoría Profesional --- */

.module-title {
    font-size: var(--font-size-xxl);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-xl);
    font-weight: 800;
    background: var(--white);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.controls-area-container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    gap: 20px;
    margin-bottom: 30px;
    background: var(--bg-main);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.controls-area {
    display: flex;
    gap: 15px;
    flex: 1;
}

/* Tabla de Datos Premium */
.data-table-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-top: 20px;
}

.premium-data-table {
    width: 100%;
    border-collapse: collapse;
}

.premium-data-table th {
    background: var(--bg-main);
    padding: 15px 20px;
    text-align: left;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
}

.premium-data-table td {
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-main);
}

.premium-data-table tr:hover {
    background: var(--primary-light);
}

/* Badges de Estado Premium */
.status-badge {
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-aceptado { background: #dcfce7; color: #166534; }
.status-pendiente { background: #fef9c3; color: #854d0e; }
.status-rechazado { background: #fee2e2; color: #991b1b; }

/* Botones de Acción en Línea */
.edit-actions-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-action {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
}

.btn-edit-inline { background: var(--primary-light); color: var(--primary); }
.btn-edit-inline:hover { background: var(--primary); color: white; }

.btn-cancel-inline { background: #fee2e2; color: #ef4444; }
.btn-cancel-inline:hover { background: #ef4444; color: white; }

/* Iconos de Auditoría */
.action-icon-group { display: flex; gap: 15px; }
.audit-action-btn { font-size: 1.1rem; cursor: pointer; transition: transform 0.2s; color: var(--text-muted); }
.audit-action-btn:hover { transform: scale(1.2); color: var(--primary); }
.btn-pdf { color: #ef4444; }
.btn-xml { color: #3b82f6; }

@media (max-width: 900px) {
    .controls-area-container { flex-direction: column; align-items: stretch; }
}
