/* Fuente Corra-Montserra */
@font-face {
    font-family: Corra-Montserra-Bold;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Regular;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-SemiBold;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Semibold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-SemiBold;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Semibold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Black;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Black.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Light;
    src: url(./fuentes/corra-montserra/TTF/Corra-Montserra-Light.ttf);
    font-display: swap;
}

/* Fuente Gilroy */
@font-face {
    font-family: Gilroy-Black;
    src: url(./fuentes/Gilroy/Gilroy-Black.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-BlackItalic;
    src: url(./fuentes/Gilroy/Gilroy-BlackItalic.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Bold;
    src: url(./fuentes/Gilroy/Gilroy-Bold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-BoldItalic;
    src: url(./fuentes/Gilroy/Gilroy-BoldItalic.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-ExtraBold;
    src: url(./fuentes/Gilroy/Gilroy-ExtraBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Light;
    src: url(./fuentes/Gilroy/Gilroy-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Medium;
    src: url(./fuentes/Gilroy/Gilroy-Medium.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Regular;
    src: url(./fuentes/Gilroy/Gilroy-Regular.ttf);
    font-display: swap;
}

@font-face {
    font-family: Gilroy-Thin;
    src: url(./fuentes/Gilroy/Gilroy-Thin.ttf);
    font-display: swap;
}

:root {
    --fontFamily: "Gilroy-Regular", sans-serif;
    --fontFamilyBold: "Gilroy-Bold", sans-serif;
    --colorBlanco: #ffffff;
    --blackColor: #1f2428;
    --colorGris: #999999;
    --bg-header: rgba(231, 226, 218, 0.4);
    --font-size-p: 1rem;
    --transition: 0.5s;
    --boxShadow: rgba(80, 79, 79, 0.1) 0px 0px 16px;
    --bg-header: rgba(231, 226, 218, 0.4);
    --bg-content: #f2f2f2;
    --bg-hero: #f3f0f6;
    --text-color: #333;
    --max-width: 1200px;
    --veda-principal: grey;
    --colorMujer: #E4007C;
    --colorHombre: #084d6e;
    --arena: #f1f1f1;
    --color1: #5f1b2d;
    --color2: #861e34;
    --color3: #af1731;
    --color4: #c79b66;
    --color5: #0c312d;
    --color6: #246257;
    --color7: #609b84;
    --color8: #484747;
    --colortitulos: #660033;
    --colorPDF: red;
}

body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: var(--fontFamily) !important;
}

a {
    color: var(--color4);

    &:hover {
        color: var(--color6);
    }
}

/* EStilos nuevos */
.navbar {
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-link i {
    font-size: 1.1rem;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    background-color: #f3f4f6;
    color: #111827 !important;
}

.nav-link:hover i {
    opacity: 1;
    transform: scale(1.1);
}

.nav-link.active {
    color: var(--arena) !important;
    background-color: var(--color4)
}

.nav-link.active i {
    opacity: 1;
}

.dropdown-menu {
    border: 0 !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border-radius: 0.75rem !important;
    padding: 0.5rem !important;
}

.dropdown-menu .dropdown-item,
.dropdown-menu .dropdown-link {
    border-radius: 0.5rem !important;
    padding: 0.5rem 1rem !important;
    font-weight: 500 !important;
    color: #4b5563 !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    text-wrap: auto;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-link:hover {
    background-color: #f3f4f6 !important;
    color: #111827 !important;
    text-decoration: none !important;
}

.dropdown-menu .dropdown-item i,
.dropdown-menu .dropdown-link i {
    width: 20px !important;
    margin-right: 0.5rem !important;
    text-align: center !important;
    opacity: 0.7 !important;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.login-planeader {
    /* background-color: aqua; */
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;

    .contenedor {
        display: flex;
        width: 100%;
        height: 100%;

        .login-form {
            background-color: #4a4a4a;
            color: white;
            padding: 40px;
            width: 40%;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
    }
}

.login-form h2 {
    margin-bottom: 10px;
}

.login-form p {
    margin-bottom: 30px;
    text-align: center;
}

.login-form input {
    /* width: 100%; */
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 5px;
    box-sizing: border-box;
}

.login-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #666;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #555;
}

.footer {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    width: 100%;
}

.footer img {
    max-width: 500px;
}

.image-container {
    width: 60%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
    }

    .image-container {
        display: none !important;
    }

    .login-form {
        width: 100% !important;
        height: 100vh;
    }

    .footer img {
        width: 90vw;
    }
}

.text-left {
    text-align: left !important;
}

.event-form-container h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}

.event-form-container .form-group {
    margin-bottom: 15px;
}

.event-form-container .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #666;
}

.event-form-container .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
}

.event-form-container .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.event-form-container button[type="submit"],
.event-form-container .btn-secondary {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.event-form-container button[type="submit"] {
    background-color: #007bff;
}

.event-form-container button[type="submit"]:hover {
    background-color: #0056b3;
}

.event-form-container .btn-secondary {
    background-color: #6c757d;
}

.event-form-container .btn-secondary:hover {
    background-color: #5a6268;
}

.custom-section-title {
    background-color: #f1f1f1;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.custom-section-title i {
    margin-right: 10px;
}

.form-header {
    /* background: linear-gradient(135deg, #cb1111 0%, #2575fc 100%); */
    /* background: radial-gradient(circle,rgba(175, 23, 49, 1) 0%, rgba(199, 155, 102, 1) 50%, rgba(36, 98, 87, 1) 100%); */
    background: var(--color6);
    background-image: url('../img/fondo-pajaro.png');
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
}

.form-header h2 {
    font-weight: bold;
    margin: 0;
}

.imagen-grande {
    display: none;
    /* Inicialmente oculta */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* background-color: white;  */
    z-index: 9999;
}

.imagen-grande img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* Centrar la imagen */
    max-width: 80%;
    /* Tamaño máximo de la imagen */
    max-height: 80%;
}

.imagen-grande p {
    color: white;
}

.w-md-50 {
    @media (min-width: 768px) {
        width: 50% !important;
    }
}

.w-sm-100 {
    @media (max-width: 768px) {
        width: 100% !important;
    }
}

.table-responsive {
    background-image: url('../img/fondo-dragon.png');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.tarjeta-admin {
    background-color: white;

    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-custom-primary {
    background-color: var(--color4);
    color: var(--arena);
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-custom-primary:hover {
    background-color: var(--color1);
    color: var(--arena);
}

.btn-custom-secondary {
    background-color: var(--color5);
    color: var(--arena);
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-custom-secondary:hover {
    background-color: var(--color6);
    color: var(--arena);
}

/* Para que el badge de acta tenga los colores institucionales suaves */
.bg-primary-subtle {
    background-color: #e7f1ff !important;
    color: var(--color7) !important;
}

/* Efecto al pasar el mouse por la fila */
.table-hover tbody tr:hover {
    background-color: #fcfcfc;
    box-shadow: inset 4px 0 0 #bc955c;
    /* Un detalle en dorado Puebla al borde */
}

/* Ajuste fino para la columna de información */
.text-primary-integration {
    color: #702232;
    /* El guinda oficial si lo prefieres */
}

.pdf-lista {
    width: 35px;
    transition: 0.3s;
}

.pdf-lista:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
}

.texto-terracota {
    color: var(--color4);
}

.text-primary {
    color: var(--color2) !important;
}

select[name="publicado"] {
    cursor: pointer;
    font-weight: 500;
    border-color: var(--color4);
    /* Usar el color del tema */
}

select[name="publicado"]:focus {
    box-shadow: 0 0 0 0.25rem rgba(36, 98, 87, 0.25);
    /* Glow verde institucional */
}

/* Ajuste para que coincida con el borde de tu tarjeta-admin */
.border-end-lg {
    @media (min-width: 992px) {
        border-right: 1px solid #eee;
    }
}

/* Upload zone con colores institucionales */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed #ccc;
    /* Gris suave por defecto */
    border-radius: 8px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: #fdfdfd;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--color4);
    /* El color de tus botones (Guinda/Terracota) */
    background-color: #fff9f9;
    /* Un tono muy sutil rojizo/crema */
}

.file-upload-wrapper .upload-icon {
    font-size: 2rem;
    color: #bc955c;
    /* El dorado que usas en la sombra de la tabla */
    margin-bottom: 0.5rem;
}

/* Input invisible para cubrir todo el area */
.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* --- Personalización Paginación DataTables --- */
/* 1. Estilo de los botones normales (sin seleccionar) */
.dt-bootstrap5 .page-link {
    color: var(--color4);
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

/* 2. Estilo cuando pasas el mouse por encima (Hover) */
.dt-bootstrap5 .page-link:hover {
    color: #fff;
    background-color: #bc955c;
    border-color: #bc955c;
}

/* 3. Estilo del botón de la página ACTUAL (Activo) */
.dt-bootstrap5 .page-item.active .page-link {
    background-color: var(--color4) !important;
    border-color: var(--color4) !important;
    color: #fff !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 4. Quitar el anillo de enfoque azul (Focus) feo de Bootstrap */
.dt-bootstrap5 .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(112, 34, 50, 0.25);
}

/* 5. Estado deshabilitado (ej. botón "Anterior" en pág 1) */
.dt-bootstrap5 .page-item.disabled .page-link {
    color: #6c757d;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.imagen-lista {
    width: 50px;
    height: auto;
    object-fit: cover;
}

.mw-100px {
    max-width: 100px;
    height: auto;
}

/* Estilos de listado de copladep */
.firma-img {
    max-height: 50px;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    padding: 2px;
}


.grid-asientos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.5rem;
}

.asiento {
    border-radius: 6px;
    padding: 6px 5px;
    text-align: center;
    height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
    cursor: pointer;
}

.asiento:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nombre-truncado {
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 0px;
}

/* Colores institucionales */
.llegado {
    background-color: #198754;
    color: white;
    border: 1px solid #146c43;
}

.faltante {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px dashed #ced4da;
}

.badge-rep {
    font-size: 0.6rem;
    background-color: #ffc107;
    color: #000;
    padding: 2px 4px;
    border-radius: 4px;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hora-llegada {
    font-size: 0.65rem;
    opacity: 0.9;
}

.bg-mujer {
    background-color: var(--colorMujer);
}

.bg-hombre {
    background-color: var(--colorHombre);
}

.ts-dropdown {
    z-index: 1060 !important;
}

.asiento.tolerancia {
    background-color: #ffc107 !important;
    color: #000 !important;
    border: 1px solid #e0a800 !important;
}