/*-------------------*/
    @font-face {
        font-family: 'hola';
        src: url('../fonts/superline-italic-webfont.woff2') format('woff2'),
             url('../fonts/superline-italic-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'hola2';
        src: url('../fonts/superline-lineitalic-webfont.woff2') format('woff2'),
             url('../fonts/superline-lineitalic-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'hola3';
        src: url('../fonts/superline-line-webfont.woff2') format('woff2'),
             url('../fonts/superline-line-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'hola4';
        src: url('../fonts/superline-outlineitalic-webfont.woff2') format('woff2'),
             url('../fonts/superline-outlineitalic-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'hola5';
        src: url('../fonts/superline-outline-webfont.woff2') format('woff2'),
             url('../fonts/superline-outline-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'hola6';
        src: url('../fonts/superline-regular-webfont.woff2') format('woff2'),
             url('../fonts/superline-regular-webfont.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }


/*--------------------*/
    @font-face {
        font-family: 'fuente1';
        src: url('../fonts/BrutalMilkNo1-Black.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Black.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente2';
        src: url('../fonts/BrutalMilkNo1-Bold.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Bold.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente3';
        src: url('../fonts/BrutalMilkNo1-Extrabold.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Extrabold.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente4';
        src: url('../fonts/BrutalMilkNo1-Extralight.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Extralight.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente5';
        src: url('../fonts/BrutalMilkNo1-Light.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Light.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente6';
        src: url('../fonts/BrutalMilkNo1-Medium.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Medium.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente7';
        src: url('../fonts/BrutalMilkNo1-Regular.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Regular.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente8';
        src: url('../fonts/BrutalMilkNo1-Semibold.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Semibold.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fuente9';
        src: url('../fonts/BrutalMilkNo1-Thin.woff2') format('woff2'),
             url('../fonts/BrutalMilkNo1-Thin.woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
/*--------------------*/





body {
/*    max-width: 1500px;*/
    margin: auto;
    font-family: 'fuente4'; /* Cambia la fuente para que sea más moderna */
/*    background-color: red; /* Color de fondo suave */*/*/
    color: #34495e; /* Color de texto principal */
    /* Ajusta según la altura de tu navbar */
/*    padding-top: 80px; */
/*    background-image: url('../img/fondo.jpg') !important;    */
/*    opacity: 93%;*/
    /* No repetir la imagen */
/*    background-repeat: no-repeat;*/
    /* Asegura que la imagen cubra todo el espacio disponible */
/*    background-size: cover;*/
    /* Fija la imagen de fondo */
/*    background-attachment: fixed;*/
    /* Centra la imagen en la página */
/*    background-position: center;    */
}

/* Tamaño de fuente para pantallas grandes (escritorio) */
input, select, textarea, button, label,p,a, strong {
    font-size: 14px !important;
}
h3 {
    font-size: 14px !important;
}

/* Tamaño de fuente para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    input, select, textarea, button, label,p,a, strong {
        font-size: 14px !important; /* Ajusta el tamaño según lo necesites */
    }
    h3 {
        font-size: 13px !important;
    }
}

label{
    font-weight: 500;
}


#toggleAll {
    margin-bottom: 10px;
}
.mb-3{
    margin-bottom: 5px !important;
}

.dropdown-menu {

    min-width: 300px !important;

}

.semaforo {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.semaforo.verde {
    background-color: green;
}

.semaforo.amarillo {
    background-color: yellow;
}

.semaforo.rojo {
    background-color: red;
}





/***************************************************************************/

.btn-warning {
    --bs-btn-color: #000;
    --bs-btn-bg: #ffc720;
    --bs-btn-border-color: #ffc720;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffca2c;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-focus-shadow-rgb: 217,164,6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #ffc720;
    --bs-btn-disabled-border-color: #ffc720;
}
/* Estilos generales para las tarjetas del proyecto */
.card-proyecto {
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
        border-left: 27px solid rgb(255 199 32);
    box-shadow: 0 .125rem .25rem rgb(251 171 0 / 62%) !important;
}

.card-proyecto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body{
    padding: 10px !important;
        font-size: 0.8rem !important;
}

.card-proyecto h5 {
    font-size: 17px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.card-proyecto p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

/* Estilos para los íconos de FontAwesome */
.info-actividad, .info-fecha, .info-fecha-max, .info-dias-transcurridos, .info-avance {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.info-actividad i, .info-fecha i, .info-fecha-max i, .info-dias-transcurridos i, .info-avance i {
    margin-right: 8px;
    color: #007bff;
    font-size: 16px;
}

/* Ajustes para el semáforo (solo el ícono) */
.icono-semaforo {
    font-size: 24px;
    position: absolute;
    top: 6px;
    right: 7px;
}

.icono-semaforo.verde {
    color: #28a745;
}

.icono-semaforo.amarillo {
    color: #ffc107;
}

.icono-semaforo.rojo {
    color: #dc3545;
}

/* Estilos para el botón */
.card-proyecto .btn {
/*    background-color: #007bff;*/
    border-radius: 50px;
    font-size: 14px;
    padding: 6px 20px;
    width: 100%;
    transition: background-color 0.2s ease;
}

/*.card-proyecto .btn:hover {
    background-color: #0056b3;
}*/

/* Ajustes responsive para las tarjetas */
@media (min-width: 768px) {
    .card-proyecto {
        display: flex;
        flex-direction: column;
        text-align: left;
    }
}

@media (max-width: 767px) {
    .icono-semaforo {
        margin: 0 auto 10px;
    }

    .card-proyecto .btn {
        width: 100%;
    }
}
/*******************************************************/
.actividad-item {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f1f1f1;
    border-radius: 8px;
}

.actividad-item h6 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.actividad-item p {
    margin: 5px 0;
}

.actividad-item i {
    margin-right: 5px;
}

.actividad-item hr {
    border-top: 1px solid #ddd;
}

/* Personalizar el semáforo dentro del modal */
.verde {
    color: #28a745;
    font-weight: bold;
}

.amarillo {
    color: #ffc107;
    font-weight: bold;
}

.rojo {
    color: #dc3545;
    font-weight: bold;
}
.close {
    font-size: 1.5rem; /* Ajusta el tamaño del ícono de cerrar */
    color: #000; /* Cambia el color del botón */
    opacity: 0.8; /* Añade algo de transparencia */
}

.close:hover {
    opacity: 1; /* Aumenta la visibilidad al pasar el mouse */
    color: #dc3545; /* Cambia el color al pasar el mouse (opcional) */
}
.tab-content {
    margin-top: 20px;
}

.actividad-item {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.actividad-item h6 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.actividad-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.card-title {
    font-weight: 600;
}

textarea {
    resize: vertical;
}

.notificacion-exito {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-exito i {
    margin-right: 10px;
}

.notificacion-exito.ocultar {
    opacity: 0;
}

.notificacion-exito {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745; /* Fondo verde para éxito */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-warning {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #ff9800; /* Fondo naranja para advertencia */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-danger {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #dc3545; /* Fondo rojo para peligro */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.notificacion-info {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #007bff; /* Fondo azul */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    display: flex;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

/*notificaciones*/

    .dropdown-item {
        display: flex;
        align-items: center;
        padding: 10px;
        font-size: 14px;
        color: #333;
        text-decoration: none;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa;
    }

    .dropdown-item .icono {
        font-size: 20px;
        margin-right: 8px;
    }

    .navbar-badge {
        background-color: #dc3545;
        color: white;
        padding: 5px 10px;
        border-radius: 50%;
        font-size: 12px;
        position: absolute;
        top: 8px;
        right: 8px;
    }

/*---------------------------------*/
/* Estilo de la lista de notificaciones */
.notificacion-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.notificacion-item:hover {
    background-color: #e2e6ea;
}

.icono-notificacion {
    width: 40px;
    height: 40px;
    background-color: #d1e7ff;
}

.descripcion-notificacion {
    font-size: 15px;
    color: #495057;
}

.text-secondary {
    font-size: 16px;
    color: #adb5bd;
}

@media (max-width: 576px) {
    #notificaciones-dropdown {
        width: 100% !important;
        max-width: 100% !important;
        left: -300px !important; /* Alinear al borde izquierdo en móvil */
    }
}

.btn-secondary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #9c9c9c;
    --bs-btn-border-color: #9c9c9c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #9c9c9c;
    --bs-btn-hover-border-color: #9c9c9c;
    --bs-btn-focus-shadow-rgb: 130,138,145;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #9c9c9c;
    --bs-btn-active-border-color: #9c9c9c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #9c9c9c;
    --bs-btn-disabled-border-color: #9c9c9c;
}

.icono-exclamacion {
    background-color: orange;  /* Fondo naranja */
    color: white !important;  /* Color blanco para el signo de exclamación */
    border-radius: 50%;  /* Hace que sea un círculo */
    width: 30px;  /* Ancho del círculo */
    height: 30px;  /* Alto del círculo */
    display: flex;  /* Para centrar el contenido */
    align-items: center;  /* Centrar verticalmente */
    justify-content: center;  /* Centrar horizontalmente */
    font-size: 16px;  /* Ajusta el tamaño del signo de exclamación */
}

.icono-palomita {
    background-color: green;  /* Fondo verde */
    color: white;  /* Color blanco para la palomita */
    border-radius: 50%;  /* Hace que sea un círculo */
    width: 30px;  /* Ancho del círculo */
    height: 30px;  /* Alto del círculo */
    display: flex;  /* Para centrar el contenido */
    align-items: center;  /* Centrar verticalmente */
    justify-content: center;  /* Centrar horizontalmente */
    font-size: 16px;  /* Ajusta el tamaño de la palomita */
}
.icono-exclamacion-rojo {
    background-color: red;  /* Fondo rojo */
    color: white;  /* Color blanco para el signo de exclamación */
    border-radius: 50%;  /* Hace que sea un círculo */
    width: 30px;  /* Ancho del círculo */
    height: 30px;  /* Alto del círculo */
    display: flex;  /* Para centrar el contenido */
    align-items: center;  /* Centrar verticalmente */
    justify-content: center;  /* Centrar horizontalmente */
    font-size: 16px;  /* Ajusta el tamaño del signo */
}

.btn {
    border-radius: 50px !important;
}


.semaforo-verde {
    color: green;
    font-weight: bold;
}

.semaforo-rojo {
    color: red;
    font-weight: bold;
}

.atraso-nota {
    color: red;
    font-style: italic;
    font-size: 0.9rem;
}

#productosContainer .card {
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

#productosContainer .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.placeholder-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

#rutasDropdown {
    max-width: 300px;
}

#btnGuardarCambios, #btnCancelarEdicion {
    margin-left: 10px;
}
.manitas:hover{
    cursor:pointer;
}

.table td, .table th {
    vertical-align: middle;
}

/* Estilo general */
body {
    font-family: Arial, sans-serif;
}

/* Tabla */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.table th,
.table td {
    text-align: center;
    vertical-align: middle;
    padding: 8px;
    border: 1px solid #ddd;
}

.table th {
    background-color: #f8f9fa;
    font-weight: bold;
}

.table img {
    max-height: 50px;
    width: auto;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    list-style: none;
    padding-left: 0;
}

.pagination .page-item {
    margin: 0 5px;
}

.pagination .page-link {
    padding: 8px 12px;
    text-decoration: none;
    color: #007bff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pagination .page-item.active .page-link {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.pagination .page-link:hover {
    background-color: #0056b3;
    color: white;
}

/* Tarjetas */
.card-remision {
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-remision .card-header {
    background-color: #f8f9fa;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.card-remision .card-body {
    padding: 10px;
    font-size: 14px;
    color: #333;
}

.card-remision .img-evidencia {
    max-width: 100%;
    border-radius: 4px;
    margin-top: 10px;
}

/* Responsividad */
@media (max-width: 768px) {
    .table {
        display: none;
    }

    .card-remision {
        display: block;
    }
}

@media (min-width: 769px) {
    .card-remision {
        display: none;
    }
}

#btnMostrarTodas {
    display: none; /* Ocultar por defecto */
}

#btnExportarExcel {
    display: none; /* Ocultar por defecto */
}

@media (min-width: 768px) {
    #btnMostrarTodas {
        display: inline-block; /* Mostrar en dispositivos de escritorio */
    }
    #btnExportarExcel {
        display: inline-block; /* Mostrar en dispositivos de escritorio */
    }
}
#imagenAmpliada {
    max-width: 100%;
    max-height: 80vh; /* Ajustar altura máxima al 80% de la ventana */
    margin: auto;
    display: block;
}
#usuariosCards .card {
    border: 1px solid #ddd;
    border-radius: 8px;
}

#usuariosCards .card img {
    border-radius: 50%;
    object-fit: cover;
}

#usuariosCards .card .btn {
    font-size: 0.85rem;
}
.card {
    border-radius: 12px;
    background-color: #f8f9fa;
}

.card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card img {
    border: 2px solid #dee2e6;
}

.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: #fff;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: #fff;
}
table tr td {
    vertical-align: middle; /* Centra verticalmente el contenido */
}

.badge {
    font-size: 0.85rem;
    padding: 0.4em 0.6em;
}

.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

.btn-outline-warning:hover {
    background-color: #ffc107;
    color: white;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}


        body {
            padding-top: 70px; /* Ajusta el valor según la altura de tu navbar */
        }

        .hero {
            background-image: url('https://via.placeholder.com/1920x600');
            background-size: cover;
            background-position: center;
            color: red;
          /*  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);*/
            padding: 80px 20px;
        }

        .countdown {
            font-size: 1.5rem;
            color: #dc3545;
        }

        .btn-custom:hover {
            background-color: #a71d2a;
            color: white;
        }
        .countdown-timer {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .time-box {
            text-align: center;
            background: #fff;
            border: 2px solid #dc3545;
            border-radius: 10px;
            padding: 15px;
            min-width: 100px;
            box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
        }

        .icon-time {
            font-size: 1.5rem;
            color: #dc3545;
            margin-bottom: 10px;
        }

        .time-value {
            font-size: 1.5rem;
            font-weight: bold;
            color: #333;
            display: block;
        }

        .time-label {
            font-size: 0.9rem;
            font-weight: normal;
            color: #555;
        }
        @media (max-width: 768px) {
            .countdown-timer {
                flex-wrap: nowrap; /* Todo en una línea */
                overflow-x: auto; /* Permite desplazamiento horizontal si es necesario */
                justify-content: flex-start; /* Alinea elementos al inicio */
                gap: 10px;
            }

            .time-box {
                flex: 1 1 auto; /* Asegura que las cajas se adapten dinámicamente */
                margin: 5px; /* Reduce el margen en móviles */
                min-width: 19%; /* Reduce el ancho mínimo para caber mejor */
                padding: 2px;
            }

            .icon-time {
                font-size: 1.2rem; /* Reduce el tamaño del icono */
            }

            .time-value {
                font-size: 1.2rem; /* Reduce el tamaño del valor */
            }

            .time-label {
                font-size: 0.8rem; /* Reduce el tamaño de la etiqueta */
            }
        }
        /* Estilos para el formulario */
        .form-section {
            background-color: #f8f9fa;
            border: 1px solid #ddd;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        .form-section h1 {
            font-size: 1.75rem;
            color: #333;
            margin-bottom: 20px;
        }

        .form-section .form-label {
            font-weight: bold;
        }

        .form-section .btn {
            font-size: 1.1rem;
            padding: 10px 20px;
        }

        /* Iconos en los títulos */
        .form-section .form-title-icon {
            font-size: 1.5rem;
            color: #0d6efd;
            margin-right: 10px;
        }

        /* Diseño para campos de entrada */
        .form-control,
        .form-select {
            border: 2px solid #ddd;
            border-radius: 5px;
        }

        .form-control:focus,
        .form-select:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 5px rgba(13, 110, 253, 0.5);
        }

        /* Botones personalizados */
        .btn-success {
            background-color: #28a745;
            border-color: #28a745;
        }

        .btn-success:hover {
            background-color: #218838;
            border-color: #1e7e34;
        }

        .btn-primary {
            background-color: #007bff;
            border-color: #007bff;
        }

        .btn-primary:hover {
            background-color: #0056b3;
            border-color: #004085;
        }

/* =========================
   NAVBAR MODERNO Y ELEGANTE
   ========================= */

/* Fondo blanco y sombra suave */
.navbar {
    background-color: #ffffff !important;
    border-bottom: 1px solid #dee2e6 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease-in-out !important;
}

/* Logo un poco más pequeño y redondeado */
.navbar .navbar-brand img {
    border-radius: 8px !important;
    transition: transform 0.3s ease-in-out !important;
}

.navbar .navbar-brand img:hover {
    transform: scale(1.05) !important;
}

/* Enlaces de navegación */
.navbar .nav-link {
    color: #495057 !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease-in-out !important;
}

/* Hover elegante para enlaces */
.navbar .nav-link:hover {
    background-color: #f8f9fa !important;
    color: #dc3545 !important;
    box-shadow: inset 0 0 5px rgba(220, 53, 69, 0.2) !important;
}

/* Botón rojo (Subir Comprobante) más destacado */
.navbar .btn-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.3) !important;
    transition: all 0.3s ease-in-out !important;
}

.navbar .btn-danger:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
    transform: scale(1.05) !important;
}

/* Icono de login (más grande y color neutro) */
.navbar .nav-link i {
    font-size: 1.2rem !important;
    color: #6c757d !important;
}

.navbar .nav-link i:hover {
    color: #dc3545 !important;
    transform: scale(1.2) !important;
}

/* Navbar toggler para móviles con diseño elegante */
.navbar-toggler {
    border: none !important;
    outline: none !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(220, 53, 69, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}


/* ==========================
   HERO CON DEGRADADO DINÁMICO
   ========================== */
/* HERO CON TRANSICIÓN COMPLETA DE COLOR */
.hero {
    height: 80vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    background-color: #dc3545 !important; /* Comienza en rojo */
    transition: background-color 3s ease-in-out, color 3s ease-in-out !important;
    padding: 40px 20px !important;
    border-radius: 0 0 0px 0px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Texto */
.hero h1,
.hero p,
.hero .countdown {
    font-family: 'fuente3', sans-serif !important;
    /*font-weight: bold !important;*/
    color: #ffffff !important; /* Texto blanco al inicio */
    /*transition: color 3s ease-in-out !important;*/
}
.hero {
    background: linear-gradient(to right, #dc3545, #dc3545);
    border-radius: 12px;
    padding: 50px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

#section_inicio img {
    max-height: 400px;
    object-fit: cover;
    border: 4px solid #ffff;
}

/* Contador con diseño elegante */
.countdown {
    margin-top: 20px !important;
    font-size: 1.8rem !important;
    font-weight: 600 !important;
    border: 2px solid #fff !important;
    border-radius: 30px !important;
    display: inline-block !important;
    padding: 10px 20px !important;
    background-color: rgba(255, 255, 255, 0.2) !important;
}


/* Título de la galería */
    #eventCarousel + h2,
    h2.text-center.mb-4 {
        font-family: 'fuente3', sans-serif !important;
        font-size: 2.2rem !important;
        color: #dc3545 !important;
        font-weight: bold !important;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2) !important;
        margin-bottom: 30px !important;
    }

    /* Estilo para el carrusel */
    #eventCarousel {
        border-radius: 15px !important;
        overflow: hidden !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        background-color: #f8f9fa !important;
    }

    /* Imágenes del carrusel */
    #eventCarousel img {
        height: 450px; /* Altura fija */
        width: 100%; /* Ajusta el ancho del contenedor */
        object-fit: contain; /* Asegura que la imagen se ajuste dentro sin recortarse */
        background-color: #f4f4f4; /* Agrega un fondo para imágenes más pequeñas */
        display: block;
    }
    #eventCarousel .carousel-inner {
        height: 450px; /* Fija la altura del contenedor del carrusel */
    }

    @media (max-width: 768px) {
        #eventCarousel .carousel-inner {
            height: 100% !important; /* Fija la altura del contenedor del carrusel */
        }

        #section_inicio img {
            display: none !important;
            max-height: 400px;
            object-fit: cover;
            border: 4px solid #dc3545;
        }
    }

    #eventCarousel img {
        height: 450px !important; /* Ajusta la altura de las imágenes */
        object-fit: fill !important; /* Que llenen el espacio sin deformarse */
        border-radius: 10px !important;
        transition: transform 0.5s ease-in-out !important;
    }

    #eventCarousel .carousel-item.active img:hover {
        transform: scale(1.05) !important; /* Efecto de zoom al pasar el mouse */
    }

    /* Botones del carrusel */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(220, 53, 69, 0.8) !important; /* Rojo con transparencia */
        border-radius: 50% !important;
        padding: 15px !important;
        transition: background-color 0.3s ease-in-out !important;
    }

    .carousel-control-prev-icon:hover,
    .carousel-control-next-icon:hover {
        background-color: rgba(220, 53, 69, 1) !important; /* Rojo intenso al hover */
    }

    /* Ajustes en móviles */
    @media (max-width: 767px) {
        #eventCarousel img {
            height: 250px !important; /* Reducir altura en móviles */
        }

        h2.text-center.mb-4 {
            font-size: 1.8rem !important;
        }
    }


#containerEvento {
    background: linear-gradient(135deg, #dc3545, #ffffff);
    border-radius: 15px;
    padding: 40px 20px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: background 3s ease-in-out, color 0.5s ease;
}

#containerEvento:hover {
    background: linear-gradient(135deg, #ffffff, #dc3545);
    color: #333 !important;
}

#containerEvento h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
}

#containerEvento p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

#containerEvento p strong {
    color: black; /* Amarillo para destacar la palabra "Fecha", "Hora", etc. */
}

#btnNuevoSubirComprobante {
    background-color: #dc3545;
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 1.1rem;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#btnNuevoSubirComprobante:hover {
    background-color: #a71d2a;
    transform: scale(1.05);
}


#eventosActivos {
    background: linear-gradient(to bottom, #ffffff, #f8d7da);
    border-radius: 15px;
    padding: 50px 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: background 2s ease-in-out;
}

#eventosActivos h2 {
    font-size: 2rem;
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
    color: #dc3545;
}

#eventosActivos h2::after {
    content: "";
    display: block;
    width: 60%;
    height: 4px;
    background-color: #dc3545;
    margin: 10px auto 0;
    border-radius: 2px;
    animation: subrayado 2s infinite alternate;
}

@keyframes subrayado {
    0% { width: 30%; background-color: #ffc107; }
    100% { width: 60%; background-color: #dc3545; }
}



#eventosContainer .card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#eventosContainer .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

#eventosContainer .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

#eventosContainer .card-body {
    padding: 15px;
}

#eventosContainer .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

#eventosContainer .card-text {
    font-size: 1rem;
    color: #666;
}

#eventosContainer .btn {
    background-color: #dc3545;
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.95rem;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#eventosContainer .btn:hover {
    background-color: #a71d2a;
    transform: scale(1.05);
}
