@charset "utf-8";
/* CSS Document */
/* style.css */

:root {
    --color-fondo-claro: #f9f9f9;
    --color-texto-claro: #111;
    --color-fondo-oscuro: #1e1e1e;
    --color-texto-oscuro: #f1f1f1;
    --color-primario: #007bff;
    --color-secundario: #6c757d;
    --color-widget-claro: #ffffff;
    --color-widget-oscuro: #2c2c2c;
    --radio-borde: 6px;
    --fuente-principal: 'Inter', system-ui, sans-serif;
}

body {
    margin: 0;
    font-family: var(--fuente-principal);
    transition: background 0.3s, color 0.3s;
}

body.modo-claro {
    background: var(--color-fondo-claro);
    color: var(--color-texto-claro);
}

body.modo-oscuro {
    background: var(--color-fondo-oscuro);
    color: var(--color-texto-oscuro);
}

.cabecera {
    background: var(--color-primario);
    color: white;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contenedor-titulo {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    align-items: center;
}

.titulo_grande {
    font-size: 1.8rem;
    margin: 0;
}

.navegacion {
    margin-top: 1rem;
    width: 100%;
    max-width: 1200px;
}

.menu-principal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.menu-item > a,
.menu-item > .btn-desplegable {
    color: white;
    background: none;
    border: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: var(--radio-borde);
    cursor: pointer;
    transition: background 0.3s;
    display: block;
    font-size: 1rem;
}

.menu-item > a:hover,
.menu-item > .btn-desplegable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.desplegable {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    background: white;
    color: black;
    border-radius: var(--radio-borde);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    margin-top: 0.5rem;
    min-width: 180px;
    z-index: 10;
}

.submenu li a {
    color: black;
    padding: 0.5rem 1rem;
    display: block;
    text-decoration: none;
}

.submenu li a:hover {
    background: #f0f0f0;
}

.menu-item.abierto .submenu {
    display: block;
}

.boton1 {
    background: white;
    color: var(--color-primario);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--radio-borde);
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.boton1:hover {
    background: #e6e6e6;
}

/* Clases extra para usar en widgets */
.color_fondo_widget {
    background: var(--color-widget-claro);
    border-radius: var(--radio-borde);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

body.modo-oscuro .color_fondo_widget {
    background: var(--color-widget-oscuro);
}

/* Tipografía y textos */
.titulo_normal {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.titulo_grande {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.titulo_rojo{
    /*Aquí tiene el mismo estilo que titulo_normal, pero con color rojo*/
    font-size: 1.4rem;
    color: yellow;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    background-color: rgba(150, 0, 0, 1);
    padding: 20px;
    border-radius: 8px;
}
.mensaje_exito{
    /*Aquí tiene el mismo estilo que titulo_normal, pero con color rojo*/
    font-size: 1.4rem;
    color: rgba(38, 0, 255, 0.514);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    background-color: rgb(30, 180, 0);
}

.texto_parrafo {
    font-size: 1rem;
    line-height: 1.6;
}

/* Tablas con bordes suaves */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radio-borde);
    overflow: hidden;
}

th, td {
    padding: 0.75rem;
    text-align: left;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

body.modo-oscuro tr:nth-child(even) {
    background-color: #2a2a2a;
}

/* --- Estilos para formularios tipo popup y tablas de formularios reutilizables --- */
.popup-form {
    max-width: 520px;
    margin: 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18), 0 1.5px 4px rgba(0,0,0,0.10);
    padding: 32px 28px 24px 28px;
    position: relative;
}
.popup-form.largo {
    max-width: 1200px;
}
.popup-form h2 {
    text-align: center;
    margin-bottom: 18px;
    color: #2a2a2a;
}
.tabla-formulario {
    width: 80%;
    min-width: 340px;
    max-width: 520px;
    margin: auto;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.tabla-formulario td {
    padding: 6px 8px;
    vertical-align: middle;
}
.tabla-formulario label {
    font-weight: 500;
    color: #333;
}
.tabla-formulario input[type="text"],
.tabla-formulario input[type="password"],
.tabla-formulario input[type="email"],
.tabla-formulario input[type="tel"],
.tabla-formulario select {
    width: 96%;
    min-width: 180px;
    max-width: 340px;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    background: #f8f9fa;
    color: #222;
    transition: background 0.2s, color 0.2s;
}
.tabla-formulario select {
    min-width: 200px;
}
.tabla-formulario input[type="checkbox"] {
    transform: scale(1.2);
    margin-left: 4px;
}
.tabla-formulario button.boton1 {
    width: 100%;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 1.1em;
    margin-top: 10px;
}
/* Tema oscuro para formularios */
body.modo-oscuro .popup-form {
    background: #232323;
    color: #f1f1f1;
}
body.modo-oscuro .tabla-formulario label {
    color: #f1f1f1;
}
body.modo-oscuro .tabla-formulario input[type="text"],
body.modo-oscuro .tabla-formulario input[type="password"],
body.modo-oscuro .tabla-formulario input[type="email"],
body.modo-oscuro .tabla-formulario input[type="tel"],
body.modo-oscuro .tabla-formulario select {
    background: #353535;
    color: #f1f1f1;
    border: 1px solid #444;
}
body.modo-oscuro .tabla-formulario input[type="text"]:focus,
body.modo-oscuro .tabla-formulario input[type="password"]:focus,
body.modo-oscuro .tabla-formulario input[type="email"]:focus,
body.modo-oscuro .tabla-formulario input[type="tel"]:focus,
body.modo-oscuro .tabla-formulario select:focus {
    background: #222;
    color: #fff;
    border: 1.5px solid #1e90ff;
}

/* --- Tabla de usuarios sombreada y responsiva --- */
.tabla-usuarios {
    width: 100%;
    border-radius: var(--radio-borde);
    overflow: hidden;
    background: var(--color-widget-claro);
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
    font-size: 1em;
}
body.modo-oscuro .tabla-usuarios {
    background: var(--color-widget-oscuro);
}
.tabla-sombreada tr:nth-child(even) {
    background: #f2f2f2;
}
body.modo-oscuro .tabla-sombreada tr:nth-child(even) {
    background: #232323;
}
.tabla-usuarios th {
    background: var(--color-primario);
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 0.8em 0.5em;
}
.tabla-usuarios td {
    text-align: left;
    padding: 0.7em 0.5em;
    vertical-align: middle;
}
.tabla-usuarios td:last-child {
    text-align: center;
}
.contenedor-tabla {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 2rem auto;
    overflow-x: auto;
}
.tabla-usuarios tbody {
    display: block;
    max-height: 420px;
    min-height: 220px;
    overflow-y: auto;
    width: 100%;
}
.tabla-usuarios thead, .tabla-usuarios tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.tabla-usuarios {
    border-collapse: separate;
    border-spacing: 0;
}
@media (max-width: 800px) {
    .tabla-usuarios, .tabla-formulario {
        font-size: 0.95em;
    }
    .tabla-usuarios th, .tabla-usuarios td {
        padding: 0.5em 0.3em;
    }
    .tabla-usuarios tbody {
        max-height: 320px;
        min-height: 120px;
    }
}
@media (max-width: 600px) {
    .tabla-usuarios, .tabla-formulario {
        font-size: 0.90em;
    }
    .contenedor-tabla {
        padding: 0 4px;
    }
}
.tabla-resultados { width: 100%; border-collapse: collapse; margin-top: 10px; }
.tabla-resultados th, .tabla-resultados td { border: 1px solid #ccc; padding: 6px 8px; }
.tabla-resultados th { background: #f0f0f0; }
.icono-ver::before { content: '\1F441'; color: #17a2b8; font-size: 1.2em; }
.icono-editar::before { content: '\270E'; color: #007bff; font-size: 1.2em; }
.icono-borrar::before { content: '\1F5D1'; color: #c00; font-size: 1.2em; }
.tabla-resultados a { text-decoration: none; margin: 0 4px; }

.lista-predictivo {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: absolute;
    z-index: 1000;
}
.item-predictivo {
    padding: 8px 12px;
    cursor: pointer;
}
.item-predictivo:hover {
    background: #f0f0f0;
}
.resultados-predictivo {
    position: relative;
}
.icono-desvincular {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url('data:image/svg+xml;utf8,<svg fill="%23c00" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16.24 7.76a5 5 0 0 0-7.07 0l-2.12 2.12a5 5 0 0 0 0 7.07l.71.71 1.41-1.41-.71-.71a3 3 0 0 1 0-4.24l2.12-2.12a3 3 0 0 1 4.24 0l.71.71 1.41-1.41-.71-.71zm-8.48 8.48a5 5 0 0 0 7.07 0l2.12-2.12a5 5 0 0 0 0-7.07l-.71-.71-1.41 1.41.71.71a3 3 0 0 1 0 4.24l-2.12 2.12a3 3 0 0 1-4.24 0l-.71-.71-1.41 1.41.71.71z"/></svg>') no-repeat center center;
    background-size: 16px 16px;
    vertical-align: middle;
    cursor: pointer;
    transition: filter 0.2s;
}
.icono-desvincular:hover {
    filter: brightness(1.3) drop-shadow(0 0 2px #c00);
}

/* Resalta cualquier fila seleccionable en tablas con la clase .servicio-row y cualquier elemento con la clase .seleccionable al pasar el mouse */
.servicio-row:hover,
.seleccionable:hover {
    background-color: #9bd7ff !important;
    transition: background 0.2s;
    cursor: pointer;
}

/* ===== ESTILOS PARA ELIMINAR_SERVICIO.PHP Y COMPONENTES BOOTSTRAP ===== */

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.text-center {
    text-align: center !important;
}

/* Alertas */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.alert h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.alert p {
    margin-bottom: 0.5rem;
}

.alert p:last-child {
    margin-bottom: 0;
}

.alert ol {
    margin-bottom: 0;
    padding-left: 1.5rem;
}

.alert ol li {
    margin-bottom: 0.25rem;
}

/* Iconos FontAwesome */
.fas {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.fa-exclamation-triangle::before {
    content: "\f071";
}

.fa-calculator::before {
    content: "\f1ec";
}

.fa-info-circle::before {
    content: "\f05a";
}

.fa-arrow-left::before {
    content: "\f060";
}

/* Cards */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

.card-header h5 {
    margin: 0;
    font-weight: 600;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}

/* Tablas responsivas */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}

.table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(0, 0, 0, 0.05);
}

.table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: transparent;
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px transparent;
}

.table > thead {
    vertical-align: bottom;
}

.table > tbody {
    vertical-align: inherit;
}

.table > thead > tr > th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
}

.bg-success {
    background-color: #198754 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
    color: #000 !important;
}

/* Botones */
.btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover {
    color: #212529;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5c636a;
    border-color: #565e64;
}

/* Utilidades de texto */
.text-danger {
    color: #dc3545 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Modo oscuro para los nuevos estilos */
body.modo-oscuro .alert-warning {
    color: #fbbf24;
    background-color: #451a03;
    border-color: #92400e;
}

body.modo-oscuro .alert-info {
    color: #67e8f9;
    background-color: #164e63;
    border-color: #0891b2;
}

body.modo-oscuro .alert-danger {
    color: #fca5a5;
    background-color: #450a0a;
    border-color: #dc2626;
}

body.modo-oscuro .card {
    background-color: var(--color-widget-oscuro);
    border-color: #404040;
}

body.modo-oscuro .card-header {
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom-color: #404040;
}

body.modo-oscuro .table {
    color: var(--color-texto-oscuro);
}

body.modo-oscuro .table-striped > tbody > tr:nth-of-type(odd) > td {
    background-color: rgba(255, 255, 255, 0.05);
}

body.modo-oscuro .table > thead > tr > th {
    background-color: #2c2c2c;
    border-bottom-color: #404040;
}

body.modo-oscuro .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

body.modo-oscuro .btn-secondary:hover {
    background-color: #5c636a;
    border-color: #565e64;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .alert {
        padding: 0.5rem 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        font-size: 0.9rem;
    }
    
    .table > :not(caption) > * > * {
        padding: 0.375rem 0.25rem;
    }
    
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.9rem;
    }
}

/* Popup de Alineación de Fechas */
.popup-alineacion {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.popup-alineacion.visible {
    opacity: 1;
    visibility: visible;
}

.popup-alineacion-contenido {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.popup-alineacion.visible .popup-alineacion-contenido {
    transform: scale(1);
}

.popup-alineacion-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    position: relative;
}

.popup-alineacion-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.popup-alineacion-cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.popup-alineacion-cerrar:hover {
    background: rgba(255, 255, 255, 0.2);
}

.popup-alineacion-body {
    padding: 25px;
}

.popup-alineacion-mensaje {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
}

.popup-alineacion-mensaje h4 {
    margin: 0 0 10px 0;
    color: #1976d2;
    font-size: 1.1rem;
}

.popup-alineacion-mensaje p {
    margin: 0;
    color: #424242;
    line-height: 1.5;
}

.popup-alineacion-servicios {
    margin-bottom: 20px;
}

.popup-alineacion-servicios h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
}

.servicio-pendiente {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.servicio-pendiente-info {
    flex: 1;
}

.servicio-pendiente-nombre {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.servicio-pendiente-descripcion {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.servicio-pendiente-valor {
    color: #007bff;
    font-weight: 600;
}

.popup-alineacion-opciones {
    margin-bottom: 20px;
}

.popup-alineacion-opciones h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.1rem;
}

.opcion-alineacion {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.opcion-alineacion:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.opcion-alineacion.seleccionada {
    border-color: #007bff;
    background: #e3f2fd;
}

.opcion-alineacion input[type="radio"] {
    margin-right: 10px;
}

.opcion-alineacion-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.opcion-alineacion-servicio {
    font-weight: 600;
    color: #333;
}

.opcion-alineacion-fecha {
    color: #007bff;
    font-weight: 600;
}

.popup-alineacion-resumen {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.popup-alineacion-resumen h4 {
    margin: 0 0 10px 0;
    color: #856404;
    font-size: 1.1rem;
}

.popup-alineacion-resumen p {
    margin: 5px 0;
    color: #856404;
}

.popup-alineacion-total {
    font-weight: 600;
    font-size: 1.1rem;
    color: #007bff;
}

.popup-alineacion-botones {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn-popup {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-popup-cancelar {
    background: #6c757d;
    color: white;
}

.btn-popup-cancelar:hover {
    background: #5a6268;
}

.btn-popup-confirmar {
    background: #28a745;
    color: white;
}

.btn-popup-confirmar:hover {
    background: #218838;
}

.btn-popup-confirmar:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

/* Modo oscuro para el popup */
body.modo-oscuro .popup-alineacion-contenido {
    background: var(--color-widget-oscuro);
    color: var(--color-texto-oscuro);
}

body.modo-oscuro .popup-alineacion-mensaje {
    background: #1a237e;
    border-left-color: #3f51b5;
}

body.modo-oscuro .popup-alineacion-mensaje h4 {
    color: #90caf9;
}

body.modo-oscuro .popup-alineacion-mensaje p {
    color: #e3f2fd;
}

body.modo-oscuro .servicio-pendiente {
    background: #2c2c2c;
    border-color: #404040;
}

body.modo-oscuro .servicio-pendiente-nombre {
    color: #f1f1f1;
}

body.modo-oscuro .servicio-pendiente-descripcion {
    color: #b0b0b0;
}

body.modo-oscuro .opcion-alineacion {
    background: #2c2c2c;
    border-color: #404040;
}

body.modo-oscuro .opcion-alineacion:hover {
    background: #1a237e;
    border-color: #3f51b5;
}

body.modo-oscuro .opcion-alineacion.seleccionada {
    background: #1a237e;
    border-color: #3f51b5;
}

body.modo-oscuro .opcion-alineacion-servicio {
    color: #f1f1f1;
}

body.modo-oscuro .popup-alineacion-resumen {
    background: #3e2723;
    border-color: #5d4037;
}

body.modo-oscuro .popup-alineacion-resumen h4,
body.modo-oscuro .popup-alineacion-resumen p {
    color: #ffcc02;
}

/* Responsive para el popup */
@media (max-width: 768px) {
    .popup-alineacion-contenido {
        width: 95%;
        margin: 20px;
    }
    
    .popup-alineacion-body {
        padding: 20px;
    }
    
    .popup-alineacion-botones {
        flex-direction: column;
    }
    
    .btn-popup {
        width: 100%;
    }
    
    .servicio-pendiente {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .servicio-pendiente-valor {
        margin-top: 10px;
    }
    
    .opcion-alineacion-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .opcion-alineacion-fecha {
        margin-top: 5px;
    }
}