* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    padding: 0px;
    background-color: #1D242F;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Sistema de carrusel personalizado (sin Bootstrap) */
.custom-carousel {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #1D242F;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.carousel-container {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Sistema de grid personalizado para tarjetas */
.cards-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Desktop: 2 cards per slide */
@media (min-width: 769px) {
    .cards-grid {
        flex-direction: row;
    }

    .cards-grid .card {
        flex: 1;
        max-width: calc(50% - 10px);
        min-width: 0;
    }
}

/* Mobile: 1 card per slide */
@media (max-width: 768px) {
    .cards-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .cards-grid .card {
        width: 90%;
        max-width: 500px;
        margin-bottom: 20px;
    }

    .carousel-slide {
        padding: 10px;
    }
}

/* Estilos de las tarjetas */
.card {
    color: white;
    background: #1D242F;
    border-radius: 10px;
    border: 5px solid dodgerblue;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 15px;
    text-align: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: bold;
}

.card #status_ops {
    font-weight: 900;
    color: orangered;
    font-size: 22px;
    margin: 10px 0;
}

.card #num_ops {
    background-color: dodgerblue;
    font-weight: 900;
    color: white;
    font-size: 22px;
    padding: 8px;
    border-radius: 5px;
    margin: 10px 0;
    display: inline-block;
}

.card #total_pax {
    font-weight: 900;
    color: orangered;
    font-size: 22px;
    margin: 10px 0;
}

.card #type_ops {
    font-weight: 900;
    color: rgb(0, 255, 47);
    font-size: 22px;
    margin: 10px 0;
}

.card #create_at {
    font-size: 18px;
    margin: 15px 0;
    font-weight: bold;
}

.card #date {
    color: dodgerblue;
    font-weight: bold;
}

.card p {
    margin: 8px 0;
    font-weight: bold;
}

/* Barra de progreso con porcentaje centrado */
.progress-container {
    width: 100%;
    height: 30px;
    background-color: #2a3441;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-bar {
    height: 100%;
    background-color: dodgerblue;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 5px;
}

.porcent {
    font-weight: 900;
    color: white;
    font-size: 22px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    z-index: 10;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* Tablas personalizadas */
.table {
    width: 100%;
    margin-top: 15px;
    border-collapse: collapse;
    background-color: #2a3441;
    border-radius: 5px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 8px;
    text-align: left;
    border-bottom: 1px solid #404854;
    color: white;
    font-size: 13px;
}

.table th {
    background-color: #1D242F;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 11px;
}

.table tr:hover {
    background-color: #35404d;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Indicadores del carrusel - Estilo original mejorado */
.carousel-indicators {
    position: fixed !important;
    bottom: 50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
}

.indicator {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.6) !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    flex-shrink: 0 !important;
}

.indicator.active {
    background-color: #0066ff !important;
    transform: scale(1.4) !important;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.8) !important;
    visibility: visible !important;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8) !important;
    transform: scale(1.1) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        min-height: 350px;
        padding: 12px;
        margin-bottom: 15px;
    }

    .card h3 {
        font-size: 1.3em;
        margin-bottom: 12px;
    }

    .card #status_ops,
    .card #total_pax,
    .card #type_ops {
        font-size: 20px;
    }

    .card #num_ops {
        font-size: 20px;
        padding: 6px;
    }

    .card #create_at {
        font-size: 16px;
    }

    .table th,
    .table td {
        padding: 6px;
        font-size: 12px;
    }

    .table th {
        font-size: 10px;
    }

    .carousel-indicators {
        bottom: 20px !important;
        padding: 12px 20px !important;
        gap: 12px !important;
    }

    .indicator {
        width: 16px !important;
        height: 16px !important;
        border-width: 2px !important;
    }

    .indicator.active {
        transform: scale(1.3) !important;
    }
}

@media (max-width: 576px) {
    .card {
        min-height: 320px;
        padding: 10px;
        width: 95%;
    }

    .card h3 {
        font-size: 1.2em;
    }

    .card #status_ops,
    .card #total_pax,
    .card #type_ops {
        font-size: 18px;
    }

    .card #num_ops {
        font-size: 18px;
    }

    .card #create_at {
        font-size: 14px;
    }

    .table th,
    .table td {
        padding: 4px;
        font-size: 10px;
    }

    .table th {
        font-size: 9px;
    }

    .card #date {
        font-size: 12px !important;
    }

    .indicator {
        width: 14px !important;
        height: 14px !important;
        border-width: 2px !important;
    }

    .carousel-indicators {
        gap: 10px !important;
        padding: 10px 16px !important;
    }
}

/* Estilos para pantallas muy pequeñas */
@media (max-width: 400px) {
    .cards-grid .card {
        width: 98%;
    }

    .carousel-slide {
        padding: 5px;
    }

    .card {
        padding: 8px;
        min-height: 300px;
    }

    .card h3 {
        font-size: 1.1em;
    }

    .table {
        font-size: 9px;
    }

    .table th,
    .table td {
        padding: 3px;
        font-size: 9px;
    }
}