/* CSS Dinámico generado desde Parámetros del Sistema */

:root {
--bs-primary: #1a5fb4;
--bs-primary-rgb: 26,95,180;
--bs-secondary: #0078e0;
--bs-secondary-rgb: 0,120,224;
--bs-success: #5cb85c;
--bs-success-rgb: 92,184,92;
--bs-danger: #d9534f;
--bs-danger-rgb: 217,83,79;
--bs-warning: #f0ad4e;
--bs-warning-rgb: 240,173,78;
--bs-info: #5bc0de;
--bs-info-rgb: 91,192,222;
}

/* Colores de fondo */
.bg-primary { background-color: #1a5fb4 !important; }
.bg-secondary { background-color: #0078e0 !important; }
.bg-success { background-color: #5cb85c !important; }
.bg-danger { background-color: #d9534f !important; }
.bg-warning { background-color: #f0ad4e !important; }
.bg-info { background-color: #5bc0de !important; }

/* Colores de texto */
.text-primary { color: #1a5fb4 !important; }
.text-secondary { color: #0078e0 !important; }
.text-success { color: #5cb85c !important; }
.text-danger { color: #d9534f !important; }
.text-warning { color: #f0ad4e !important; }
.text-info { color: #5bc0de !important; }

/* Bordes */
.border-primary { border-color: #1a5fb4 !important; }
.border-secondary { border-color: #0078e0 !important; }
.border-success { border-color: #5cb85c !important; }
.border-danger { border-color: #d9534f !important; }
.border-warning { border-color: #f0ad4e !important; }
.border-info { border-color: #5bc0de !important; }

/* Botones */
.btn-primary {
background-color: #1a5fb4 !important;
border-color: #1a5fb4 !important;
color: white !important;
}
.btn-primary:hover {
background-color: #1a5fb4dd !important;
border-color: #1a5fb4dd !important;
}
.btn-secondary {
background-color: #0078e0 !important;
border-color: #0078e0 !important;
color: white !important;
}
.btn-secondary:hover {
background-color: #0078e0dd !important;
border-color: #0078e0dd !important;
}
.btn-success {
background-color: #5cb85c !important;
border-color: #5cb85c !important;
color: white !important;
}
.btn-success:hover {
background-color: #5cb85cdd !important;
border-color: #5cb85cdd !important;
}
.btn-danger {
background-color: #d9534f !important;
border-color: #d9534f !important;
color: white !important;
}
.btn-danger:hover {
background-color: #d9534fdd !important;
border-color: #d9534fdd !important;
}
.btn-warning {
background-color: #f0ad4e !important;
border-color: #f0ad4e !important;
color: white !important;
}
.btn-warning:hover {
background-color: #f0ad4edd !important;
border-color: #f0ad4edd !important;
}
.btn-info {
background-color: #5bc0de !important;
border-color: #5bc0de !important;
color: white !important;
}
.btn-info:hover {
background-color: #5bc0dedd !important;
border-color: #5bc0dedd !important;
}

/* Outline Buttons */
.btn-outline-primary {
color: #1a5fb4 !important;
border-color: #1a5fb4 !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
background-color: #1a5fb4 !important;
border-color: #1a5fb4 !important;
color: white !important;
}
.btn-outline-secondary {
color: #0078e0 !important;
border-color: #0078e0 !important;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
background-color: #0078e0 !important;
border-color: #0078e0 !important;
color: white !important;
}
.btn-outline-success {
color: #5cb85c !important;
border-color: #5cb85c !important;
}
.btn-outline-success:hover,
.btn-outline-success:focus {
background-color: #5cb85c !important;
border-color: #5cb85c !important;
color: white !important;
}
.btn-outline-danger {
color: #d9534f !important;
border-color: #d9534f !important;
}
.btn-outline-danger:hover,
.btn-outline-danger:focus {
background-color: #d9534f !important;
border-color: #d9534f !important;
color: white !important;
}
.btn-outline-warning {
color: #f0ad4e !important;
border-color: #f0ad4e !important;
}
.btn-outline-warning:hover,
.btn-outline-warning:focus {
background-color: #f0ad4e !important;
border-color: #f0ad4e !important;
color: white !important;
}
.btn-outline-info {
color: #5bc0de !important;
border-color: #5bc0de !important;
}
.btn-outline-info:hover,
.btn-outline-info:focus {
background-color: #5bc0de !important;
border-color: #5bc0de !important;
color: white !important;
}

/* Badges */
.badge.bg-primary { background-color: #1a5fb4 !important; }
.badge.bg-secondary { background-color: #0078e0 !important; }
.badge.bg-success { background-color: #5cb85c !important; }
.badge.bg-danger { background-color: #d9534f !important; }
.badge.bg-warning { background-color: #f0ad4e !important; }
.badge.bg-info { background-color: #5bc0de !important; }

/* Alerts */
.alert-primary {
background-color: #1a5fb420 !important;
border-color: #1a5fb4 !important;
color: #1a5fb4 !important;
}
.alert-secondary {
background-color: #0078e020 !important;
border-color: #0078e0 !important;
color: #0078e0 !important;
}
.alert-success {
background-color: #5cb85c20 !important;
border-color: #5cb85c !important;
color: #5cb85c !important;
}
.alert-danger {
background-color: #d9534f20 !important;
border-color: #d9534f !important;
color: #d9534f !important;
}
.alert-warning {
background-color: #f0ad4e20 !important;
border-color: #f0ad4e !important;
color: #f0ad4e !important;
}
.alert-info {
background-color: #5bc0de20 !important;
border-color: #5bc0de !important;
color: #5bc0de !important;
}

/* Links */
a { color: #1a5fb4; }
a:hover { color: #1a5fb4dd; }

/* Tabs activos */
.nav-link.active {
border-bottom-color: #1a5fb4 !important;
color: #1a5fb4 !important;
}

/* Card headers */
.card-header {
/* background-color: #1a5fb415 !important; */
/* border-color: #1a5fb4 !important; */
}

/* DataTables Pagination */
.pagination .page-link {
color: #1a5fb4 !important;
border-color: #dee2e6 !important;
background-color: white !important;
}

.pagination .page-link:hover {
background-color: #1a5fb415 !important;
border-color: #1a5fb4 !important;
color: #1a5fb4 !important;
}

.pagination .page-item.active .page-link {
background-color: #1a5fb4 !important;
border-color: #1a5fb4 !important;
color: white !important;
}

.pagination .page-item.disabled .page-link {
color: #6c757d !important;
background-color: white !important;
border-color: #dee2e6 !important;
}

/* Table hover */
.table-hover tbody tr:hover {
background-color: #1a5fb410 !important;
}

.form-check-input:checked {
background-color: #1a5fb4 !important;
border-color: #1a5fb4 !important;
}

/* Accordion Documentos */
.accordion-header-documentos {
background-color: #1a5fb410 !important;
}

.accordion-button-documentos {
color: #1a5fb4 !important;
}

/* Accordion Cuñas */
.accordion-header-cunas {
background-color: #1a5fb410 !important;
}

.accordion-button-cunas {
color: #1a5fb4 !important;
}

/* Accordion Imágenes */
.accordion-header-imagenes {
background-color: #1a5fb410 !important;
}

.accordion-button-imagenes {
color: #1a5fb4 !important;
}

/* Accordion Videos */
.accordion-header-videos {
background-color: #1a5fb410 !important;
}

.accordion-button-videos {
color: #1a5fb4 !important;
}

/* Upload/Download Icons */
.upload-icons i {
color: #1a5fb4 !important;
cursor: pointer !important;
font-size: 1.25rem !important;
padding: 5px 8px !important;
border-radius: 4px !important;
background-color: transparent !important;
}

.upload-icons i:hover {
color: white !important;
background-color: #1a5fb4 !important;
transform: scale(1.1) !important;
}

/* SweetAlert2 Buttons */
.swal2-confirm {
background-color: #1a5fb4 !important;
border-color: #1a5fb4 !important;
color: white !important;
}

.swal2-confirm:hover {
background-color: #1a5fb4dd !important;
border-color: #1a5fb4dd !important;
}

.swal2-cancel {
background-color: #d9534f !important;
border-color: #d9534f !important;
color: white !important;
}

.swal2-cancel:hover {
background-color: #d9534fdd !important;
border-color: #d9534fdd !important;
}

/* SweetAlert2 Icons */
.swal2-icon.swal2-success [class*='swal2-success-ring']::after {
background-color: #5cb85c !important;
}

.swal2-icon.swal2-error [class*='swal2-x-mark'] line {
stroke: #d9534f !important;
}

.swal2-icon.swal2-warning [class*='swal2-icon-content'] {
color: #f0ad4e !important;
}

.swal2-icon.swal2-info [class*='swal2-icon-content'] {
color: #5bc0de !important;
}

/* Colores para Pausas en Emisiones */
/* Tanda */
#emisiones-datatable tbody tr.pause-row.pause-tanda td {
background-color: #1a5fb4 !important;
color: #ffffff !important;
}

/* Destaque */
#emisiones-datatable tbody tr.pause-row.pause-destaque td {
background-color: #000000 !important;
color: #ffffff !important;
}

/* Badge del número de orden */
.order-badge {
background-color: #0078e0 !important;
}
