


:root {
            --gold: #c5a059;
            --dark-red: #4a0e0e;
            --ivory: #fcfaf5;
        }
  
  body {
      background: linear-gradient(135deg, #eef7ff, #ffffff, #f6fbff);
      color: #1e293b;
      padding: 30px;
    }

    {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', sans-serif;
    }

    
    .container {
      max-width: 1400px;
      margin: auto;
    }

    .header {
      background: linear-gradient(135deg, #0f4c81, #0b6aa2);
      color: white;
      border-radius: 25px;
      padding: 35px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15);
      margin-bottom: 30px;
    }

    .header-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .title h1 {
      font-size: 42px;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .calendar-icon {
      width: 90px;
      height: 90px;
      background: white;
      border-radius: 18px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 8px 20px rgba(0,0,0,0.2);
      flex-shrink: 0;
    }

    .calendar-month {
      background: #ef4444;
      color: white;
      text-align: center;
      font-size: 18px;
      font-weight: bold;
      padding: 8px 0;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .calendar-day {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      color: black;
      font-size: 40px;
      font-weight: bold;
    }

    .title p {
      color: #d6efff;
      font-size: 18px;
    }

    .calendar-box {
      background: rgba(255,255,255,0.15);
      backdrop-filter: blur(10px);
      padding: 20px;
      border-radius: 20px;
      border: 1px solid rgba(255,255,255,0.2);
      min-width: 250px;
    }

    .calendar-box h2 {
      font-size: 24px;
      margin-bottom: 8px;
    }

    /* Colores de Género */
.gender-men { border-left: 5px solid #0056b3; }
.gender-women { border-left: 5px solid #d63384; }

/* Fondo de Estatus Confirmado */
.status-confirmed {
    background-color: #d1e7dd;
    color: #0f5132;
    font-weight: bold;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-block;
}

/* --- ALINEACIÓN DEL ENCABEZADO --- */
.title h1 {
    display: flex !important;
    align-items: center !important; /* Centrado vertical */
    justify-content: center !important; /* Centrado horizontal */
    text-align: center;
    margin: 0 auto;
}

/* --- COLORES DEFINITIVOS (AZUL Y ROSA) --- */
/* Hombre: Azul Institucional */
.gender-men { 
    border-left: 6px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

/* Mujer: Rosa Institucional */
.gender-women { 
    border-left: 6px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}

/* Ajuste de tarjetas móviles para que el texto sea claro */
.card-header {
    font-weight: bold;
    margin-bottom: 5px;
}
/* Centrado total del encabezado */
.title h1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Colores definitivos forzados */
.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}
    .stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
      margin-bottom: 30px;
    }

    .card {
      padding: 25px;
      border-radius: 22px;
      background: white;
      box-shadow: 0 5px 20px rgba(0,0,0,0.08);
      border: 1px solid #e2e8f0;
      transition: 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
    }

    .card h3 {
      font-size: 18px;
      margin-bottom: 10px;
      color: #64748b;
    }

    .card .number {
      font-size: 40px;
      font-weight: bold;
    }

    .blue { border-left: 8px solid #0ea5e9; }
    .pink { border-left: 8px solid #ec4899; }
    .yellow { border-left: 8px solid #facc15; }

    .table-container {
      background: white;
      border-radius: 25px;
      overflow-x: auto;
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
      margin-bottom: 30px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
    }

    thead {
      background: #202b44;
      color: white;
    }

    th, td {
      padding: 18px;
      text-align: left;
      border-bottom: 1px solid #e2e8f0;
    }

    th {
      font-size: 15px;
      letter-spacing: 0.5px;
    }

    tbody tr:hover {
      background: #f0f9ff;
    }

    .month-row {
      background: linear-gradient(90deg, #fde047, #facc15);
      font-size: 22px;
      font-weight: bold;
      text-transform: uppercase;
      color: #1e293b;
    }

    .badge {
      padding: 8px 14px;
      border-radius: 50px;
      font-size: 12px;
      font-weight: bold;
      display: inline-block;
    }

    .men {
      background: #dbeafe;
      color: #1d4ed8;
    }

    .women {
      background: #fce7f3;
      color: #be185d;
    }

    .confirmed {
      background: #dcfce7;
      color: #15803d;
    }

    .pending {
      background: #fef3c7;
      color: #b45309;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 25px;
    }

    .panel {
      background: white;
      border-radius: 25px;
      padding: 30px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

    .panel h2 {
      margin-bottom: 20px;
      color: #0f172a;
      font-size: 28px;
    }

    .panel ul {
      list-style: none;
    }

    .panel ul li {
      margin-bottom: 14px;
      font-size: 17px;
      color: #475569;
    }

    .buttons {
      margin-top: 25px;
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
    }

    button {
      border: none;
      padding: 14px 24px;
      border-radius: 16px;
      font-size: 15px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s;
    }

    .btn-primary {
      background: #0891b2;
      color: white;
    }

    .btn-primary:hover {
      background: #0e7490;
    }

    .btn-secondary {
      background: #db2777;
      color: white;
    }

    .btn-secondary:hover {
      background: #be185d;
    }

    /* Contenedor principal de las tarjetas */
.stats {
    display: flex;
    justify-content: space-between; /* Distribuye las tarjetas uniformemente */
    gap: 10px;                     /* Espacio mínimo entre tarjetas */
    flex-wrap: nowrap;             /* Evita que bajen a la siguiente línea */
    width: 100%;
    margin-bottom: 20px;
}

/* Reducción al 75% aproximadamente y ajuste de escala */
.stats .card {
    flex: 1;                       /* Hace que todas tengan el mismo ancho */
    min-width: 0;                  /* Permite que la tarjeta se encoja más allá de su contenido */
    padding: 12px;                 /* Reducimos el relleno interno */
    border-radius: 8px;
}

/* Ajuste de los textos para que no se desborden */
.stats .card h3 {
    font-size: 0.85rem;            /* Texto de título más pequeño */
    white-space: nowrap;           /* Evita que el título se divida en dos líneas */
    overflow: hidden;
    text-overflow: ellipsis;       /* Agrega "..." si el texto es muy largo */
}

.stats .card .number {
    font-size: 1.5rem;             /* Número más compacto */
    margin-top: 5px;
}

/* Estilo General de la Tabla */
#retreatTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px; /* Crea el efecto de filas flotantes */
    margin-top: 20px;
}

/* Filas de Mes (Cabeceras de sección) */
.month-row td {
    padding: 15px 20px !important;
    background: linear-gradient(90deg, #2c3e50, #4ca1af) !important; /* Degradado elegante */
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Estilo para el contenedor del título del mes */
.month-title {
    background: linear-gradient(90deg, #2d6a7a 0%, #4a8b9e 100%) !important; /* Fondo degradado */
    color: #ffffff !important;           /* Texto blanco */
    text-align: left !important;         /* Alineado a la izquierda */
    padding: 10px 20px !important;       /* Espaciado */
    font-weight: 700 !important;         /* Negrita */
    font-size: 1.1rem !important;        /* Tamaño legible */
    border-radius: 4px;                  /* Bordes suaves */
    letter-spacing: 1px;                 /* Espaciado entre letras */
}
/* Filas de Datos */
#retreatTable tr:not(.month-row) td {
    background-color: #ffffff;
    padding: 16px 20px;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
    transition: all 0.3s ease;
}

/* Redondear las esquinas de cada fila de datos */
#retreatTable tr:not(.month-row) td:first-child {
    border-left: 1px solid #edf2f7;
    border-radius: 10px 0 0 10px;
}

#retreatTable tr:not(.month-row) td:last-child {
    border-right: 1px solid #edf2f7;
    border-radius: 0 10px 10px 0;
}

/* Efecto Hover al pasar el mouse */
#retreatTable tr:not(.month-row):hover td {
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    color: #2d3748;
}

/* Estilo de los Badges (Etiquetas) */
.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
}

/* Colores para el tipo de retiro */
.badge.women {
    background-color: #fff5f7;
    color: #d53f8c;
    border: 1px solid #fed7e2;
}

.badge.men {
    background-color: #ebf8ff;
    color: #3182ce;
    border: 1px solid #bee3f8;
}

/* Colores para el estado */
.badge.confirmed {
    background-color: #f0fff4;
    color: #38a169;
}

.badge.pending {
    background-color: #fffaf0;
    color: #dd6b20;
}

    .icon {
      font-size: 22px;
      margin-right: 8px;
    }

    @media (max-width: 768px) {
      .title h1 {
        font-size: 30px;
      }

      th, td {
        padding: 12px;
      }
    }

    /*  mobile*/  
    
    /* El contenedor DEBE ocupar el 100% y permitir scroll */
    .table-container {
        width: 100% !important;
        overflow-x: auto !important;
        display: block !important;
        margin: 20px 0;
    }

    /* Forzamos que la tabla no se colapse bajo ninguna circunstancia */
    table {
        width: 100% !important;
        min-width: 800px !important; /* Aumentado a 800px para dar más aire */
        border-collapse: collapse !important;
        table-layout: fixed !important; /* Esto evita que las columnas se muevan solas */
    }

    /* Aseguramos que las celdas se mantengan en una sola línea */
    th, td {
        padding: 8px 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        border-bottom: 1px solid #eee;
    }

.table-container {
    background: linear-gradient(to right, white 30%, rgba(255,255,255,0)), 
                linear-gradient(to right, rgba(0,0,0,0.1), white 70%) 0 100%;
    background-repeat: no-repeat;
    background-size: 40px 100%, 40px 100%;
    background-attachment: local, local;
}
    /* Diseño del título del mes */
    .month-title {
        background: linear-gradient(90deg, #2d6a7a 0%, #4a8b9e 100%) !important;
        color: white !important;
        text-align: left !important;
        padding: 10px 20px !important;
        font-weight: bold;
    }

    /* Badges (Estilo circular) */
    .badge { padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; color: white; display: inline-block; }
    .women { background-color: #e83e8c; }
    .men { background-color: #007bff; }
    .status-confirmado { background-color: #28a745; color: white; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; }
    .status-pendiente { background-color: #ffc107; color: black; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; }


    /* 1. Contenedor con scroll para evitar que la tabla rompa el diseño */
    .table-container {
        width: 100%;
        overflow-x: auto;
        margin: 10px 0;
    }

    /* 2. Tabla más compacta */
    #retreatTable {
        width: 100%;
        border-collapse: collapse;
        min-width: 500px; /* Esto fuerza a que se pueda hacer scroll si la pantalla es muy estrecha */
        font-size: 0.85rem; /* Reducimos un poco el tamaño de letra para ganar espacio */
    }

    /* 3. Reducimos el padding para estrechar las columnas */
    th, td {
        padding: 8px 4px; /* Menos espacio interno */
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    /* Ajuste específico para columnas de texto */
    td:first-child { text-align: left; } /* Parroquia alineada a la izquierda */

    /* 4. Ajuste para que el mes ocupe todo el ancho */
    .month-title {
        background: linear-gradient(90deg, #2d6a7a 0%, #4a8b9e 100%) !important;
        color: white !important;
        text-align: left !important;
        padding: 8px !important;
        font-weight: bold;
    }

    /* 5. Badges más compactos */
    .badge { 
        padding: 2px 6px; 
        border-radius: 8px; 
        font-size: 0.7rem; 
    }

/* Estilo calendario -6-6-2026 */


/* El secreto está en este contenedor */
    .table-container {
        width: 100%;
        overflow-x: auto; /* Esto crea la barra de desplazamiento necesaria en móvil */
        -webkit-overflow-scrolling: touch;
        margin: 15px 0;
    }

    /* Tabla siempre como tabla, nunca como bloque */
    #retreatTable {
        width: 100%;
        border-collapse: collapse;
        min-width: 800px; /* Obliga a la tabla a tener un ancho mínimo para que las 6 columnas quepan */
        font-size: 0.85rem;
    }

    /* Padding ajustado para optimizar espacio */
    th, td {
        padding: 8px 4px !important;
        border: 1px solid #dee2e6;
        text-align: center;
        white-space: nowrap; /* Evita que el texto se salte de línea y ocupe espacio extra */
    }

    /* Aseguramos que la parroquia (primera columna) se vea bien */
    td:first-child { text-align: left; white-space: normal; min-width: 150px; }

    .month-title {
        background: linear-gradient(90deg, #2d6a7a 0%, #4a8b9e 100%) !important;
        color: white !important;
        text-align: left !important;
        padding: 10px !important;
        font-weight: bold;
    }

    /* Eliminamos el diseño de tarjetas que rompe la tabla */
    @media (max-width: 767px) {
        .retreat-row { display: table-row !important; }
        td { display: table-cell !important; }
    }
    .month-title { font-weight: bold; background-color: #f4f4f4; text-align: left; }
.badge { padding: 4px 8px; border-radius: 4px; color: white; }
.women { background-color: #e83e8c; }
.men { background-color: #007bff; }
.confirmed { background-color: #28a745; }
.pending { background-color: #ffc107; color: black; }


/* El contenedor debe permitir el scroll horizontal */
.table-container {
    width: 100%;
    overflow-x: auto; /* IMPORTANTE: Esto habilita la barra de desplazamiento */
    -webkit-overflow-scrolling: touch; /* Suaviza el movimiento en iPhone/Android */
    margin: 20px 0;
}

/* Forzamos a la tabla a tener un ancho mínimo para que no se "aplasten" las columnas */
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px; /* Esto asegura que siempre haya espacio para las 6 columnas */
}

/* Estilo compacto para que quepa más contenido en pantalla */
th, td {
    padding: 8px 4px !important;
    text-align: center;
    border: 1px solid #dee2e6;
    font-size: 0.85rem; /* Letra un poco más pequeña */
}

/* Opcional: Para que la columna de parroquia tenga un poco más de prioridad */
td:first-child { 
    text-align: left; 
    min-width: 150px; 
}
/* Por defecto, la tabla se ve y las tarjetas están ocultas */
    .mobile-only { display: none; }

    /* En móviles (menos de 768px), invertimos: ocultamos tabla, mostramos tarjetas */
    @media (max-width: 767px) {
        .table-container { display: none !important; }
        .mobile-only { display: block !important; }
        
        .card {
            border: 2px solid #003366;
            border-radius: 10px;
            margin: 15px;
            padding: 15px;
            background: #fff;
        }
        .card-header { font-weight: bold; font-size: 1.2rem; color: #003366; margin-bottom: 10px; border-bottom: 2px solid #003366; }
        .card-item { display: flex; justify-content: space-between; margin: 5px 0; }
        .card-label { font-weight: bold; color: #555; }
    }
    /* Escritorio: Tabla visible, tarjetas ocultas */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
}

/* Móvil: Tabla oculta, tarjetas visibles */
@media (max-width: 767px) {
    .table-container { display: none !important; }
    .mobile-only { display: block !important; }
}
* Esto asegura que la tabla se oculte y las tarjetas se vean solo en móvil */
@media (max-width: 767px) {
    .table-container table { display: none !important; }
    .mobile-only { display: block !important; }
    
    .card { border: 1px solid #ccc; margin: 10px; padding: 15px; border-radius: 8px; background: #fff; }
    .card-header { font-weight: bold; color: #2d6a7a; margin-bottom: 5px; }
}

/* Ocultar tarjetas en pantallas grandes */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
}

/* Mostrar tarjetas y ocultar tabla en pantallas pequeñas */
@media (max-width: 767px) {
    .table-container table { display: none !important; } /* Oculta la tabla */
    .mobile-only { display: block !important; }           /* Muestra el contenedor de tarjetas */
    
    /* Estilo básico de las tarjetas */
    .card {
        border: 1px solid #ddd;
        margin: 15px;
        padding: 15px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    .card-header {
        font-weight: bold;
        color: #2d6a7a;
        margin-bottom: 10px;
        border-bottom: 2px solid #2d6a7a;
        font-size: 1.1rem;
    }
    .card-item {
        display: flex;
        justify-content: space-between;
        padding: 4px 0;
        font-size: 0.9rem;
    }
}

/* --- CONFIGURACIÓN DE VISIBILIDAD MÓVIL --- */
@media (max-width: 767px) {
    /* 1. Ocultamos la tabla grande que no cabe en el móvil */
    .table-container table {
        display: none !important;
    }

    /* 2. Mostramos el contenedor de tarjetas que creamos en el HTML */
    #mobileCardsContainer {
        display: block !important;
        width: 100% !important;
        padding: 10px;
    }

    /* 3. Estilo profesional para las tarjetas móviles */
    .card {
        background: #ffffff;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 15px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        border-left: 5px solid #2d6a7a;
    }

    .card-header {
        font-weight: bold;
        color: #2d6a7a;
        font-size: 1.1rem;
        margin-bottom: 8px;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }

    .card div {
        margin: 5px 0;
        font-size: 0.95rem;
    }
}

/* Escritorio: Ocultar tarjetas */
@media (min-width: 768px) {
    .mobile-only { display: none !important; }
    .desktop-only { display: block !important; }
}

/* Móvil: Ocultar tabla, mostrar tarjetas */
@media (max-width: 767px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }
    
    /* Aseguramos que la tarjeta sea visible */
    #mobileCardsContainer {
        display: block !important;
    }
    
    .card {
        border: 2px solid #2d6a7a;
        margin: 15px;
        padding: 15px;
        border-radius: 10px;
        background: #fff;
    }
}

@media (max-width: 767px) {
    .card {
        background: rgba(255, 255, 255, 0.95);
        border: none;
        border-radius: 16px;
        margin: 15px;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Sombra suave */
        position: relative;
        overflow: hidden;
    }

    /* Franja lateral de color para estilo premium */
    .card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 6px;
        background: #003366; /* Azul corporativo */
    }

    .card-header {
        font-size: 1.15rem;
        font-weight: 700;
        color: #003366;
        margin-bottom: 12px;
        padding-bottom: 8px;
        border-bottom: 1px solid #eee;
    }

    .card div {
        font-size: 0.9rem;
        color: #444;
        margin: 6px 0;
    }

    .card strong {
        color: #003366;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        margin-right: 5px;
    }
}@media (max-width: 767px) {
    .card {
        /* Fondo claro pero distinguible del fondo de la página */
        background-color: #ffffff; 
        border: 1px solid #e1e4e8; /* Borde sutil */
        border-radius: 12px;
        margin: 15px;
        padding: 20px;
        
        /* Sombra suave para dar profundidad */
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
        
        /* Esto le da el toque premium */
        transition: transform 0.2s ease;
    }

    /* Título de la tarjeta con fondo ligeramente más oscuro para separar */
    .card-header {
        background-color: #f1f3f5;
        padding: 10px;
        border-radius: 8px;
        margin-bottom: 12px;
        color: #003366;
        font-weight: 700;
    }

    /* Mejoramos el espacio entre líneas para que no se vea apretado */
    .card div {
        margin: 8px 0;
        color: #333;
    }
}
/* Estilos para Hombres */
.gender-men {
    border-left: 5px solid #0056b3 !important; /* Azul intenso */
    background-color: #f0f7ff !important;      /* Fondo azul muy claro */
}

/* Estilos para Mujeres */
.gender-women {
    border-left: 5px solid #d63384 !important; /* Rosa/Magenta */
    background-color: #fff5fa !important;      /* Fondo rosa muy claro */
}
/* 1. Ajuste del contenedor padre del título */
.title {
    padding-top: 20px; /* Damos espacio arriba */
    position: relative;
}

/* 2. El icono: aseguramos que no se corte */
.calendar-icon {
    display: inline-block;
    background: white;
    border-radius: 8px;
    padding: 5px 10px;
    /* Quitamos cualquier margin-top negativo si lo tienes */
    margin-top: 0 !important; 
    margin-bottom: 5px;
    margin-right: 15px;
    text-align: center;
    color: #d32f2f;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    /* Aseguramos que el icono tenga altura fija */
    height: 55px; 
    width: 55px;
    vertical-align: middle;
}

/* 3. Ajuste para que el texto del título no suba demasiado */
.title h1 {
    display: flex;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
}

.calendar-icon {
    display: inline-flex; /* Usamos flex para alinear mejor */
    flex-direction: column; /* Apilamos mes y día */
    justify-content: center; /* Centramos verticalmente */
    align-items: center; /* Centramos horizontalmente */
    background: white;
    border-radius: 8px;
    padding: 2px 8px; /* Ajuste de padding */
    margin-top: 10px; 
    margin-right: 15px;
    text-align: center;
    color: #d32f2f;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    min-width: 55px;
    min-height: 55px; /* Altura mínima que se expande si hace falta */
    vertical-align: middle;
}

.calendar-month {
    font-size: 0.65rem;
    font-weight: bold;
    line-height: 1;
}

.calendar-day {
    font-size: 1.3rem; /* Tamaño optimizado */
    font-weight: 800;
    color: #333;
    line-height: 1;
}

/* Asegura que el icono sea un contenedor flexible limpio */
.calendar-icon {
    display: inline-flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    background: #ffffff !important;
    border-radius: 8px !important;
    padding: 2px 8px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2) !important;
    margin-right: 15px !important;
    vertical-align: middle !important;
    color: #d32f2f !important;
}

/* Ajusta los tamaños para que no se sobrepongan */
.calendar-month {
    font-size: 0.6rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.calendar-day {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #333 !important;
    line-height: 1 !important;
}

/* Centrado del título y alineación vertical */
.title h1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding-top: 20px !important;
}

/* Colores laterales forzados */
tr.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

tr.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}

.card.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

.card.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}


/* Centrado forzado del título */
.header-top .title h1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}

/* Colores laterales forzados para escritorio (tr) */
.table-container table tbody tr.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

.table-container table tbody tr.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}

/* Colores laterales forzados para tarjetas móviles */
#mobileCardsContainer .card.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

#mobileCardsContainer .card.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}

/* Forzar colores de género con máxima prioridad */
tr.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

tr.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}

/* Para las tarjetas móviles */
.card.gender-men { 
    border-left: 8px solid #0056b3 !important; 
}

.card.gender-women { 
    border-left: 8px solid #e83e8c !important; 
}

/* Centrado del título */
.title h1 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Colores de género (Solo estilo) */
.gender-men { border-left: 8px solid #0056b3 !important; background-color: #f0f7ff !important; }
.gender-women { border-left: 8px solid #e83e8c !important; background-color: #fff5f8 !important; }

/* Estatus Confirmado */
.status-confirmed { background-color: #d1e7dd !important; color: #0f5132 !important; font-weight: bold; padding: 2px 6px; border-radius: 4px; }

/* Colores para las filas de la tabla (Desktop) */
tr.gender-men { 
    border-left: 8px solid #0056b3 !important; 
    background-color: #f0f7ff !important; 
}

tr.gender-women { 
    border-left: 8px solid #e83e8c !important; 
    background-color: #fff5f8 !important; 
}

/* Colores para las tarjetas (Mobile) - Esto ya lo tienes funcionando */
.card.gender-men { border-left: 8px solid #0056b3 !important; }
.card.gender-women { border-left: 8px solid #e83e8c !important; }
