/* ESTILOS PARA LOGIN */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.cover-all {
    background-image: url('../img/background2.png');
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center; 
}

.content-page {
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-contenedor {
    text-align: center;
    margin-bottom: 10px;
}

.logo-contenedor img {
    width: 100px; /* Ajusta según necesites */
}


.login-container {
    background-color: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.titulo-login {
    font-size: 22px;
}

.login-container h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #000000;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #0077b6;
}

.btn {
    width: 100%;
    padding: 12px;
    background-color: #005740;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #000000;
    color: #ffffff;
}

.btn-primary-gc {
    background-color:#005740 !important; color:#ffffff !important;
}
.btn-primary-gc:hover {
    background-color:#ee9a1d !important; color:#ffffff !important;
}

.text-center {
    display: block;
    text-align: center !important;
    margin-top: 20px;
}

.link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.link a {
    color: #0077b6;
    text-decoration: none;
}

.link a:hover {
    text-decoration: underline;
}

.alert {
    background-color: #f8d7da;
    color: #842029;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px;
        margin: 20px;
    }
}

/* FIN DE ESTILOS PARA LOGIN */

/* ESTILOS PARA DASHBOARD */

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* Botón de menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
}

.navbar-custom {
    background-color: #000000;
    padding: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-size {
    height: 70px; 
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-text {
    color: #fff;
}

.btn-logout {
    background-color: transparent;
    border: 1px solid #fff;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-logout:hover {
    background-color: #fff;
    color: #006699;
}

/*
.dashboard-container {
    max-width: 1300px;
    margin: 3rem auto;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.dashboard-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    padding: 2rem;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.dashboard-card h5 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dashboard-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.btn-dash {
    display: block;
    width: 100%;
    background-color: #005740;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-dash:hover {
    background-color: #000000;
}

.btn-alt {
    background-color: #6c757d;
}

.btn-alt:hover {
    background-color: #5a6268;
}

*/

/* Responsive: para pantallas menores de 768px */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navbar-right {
        display: none;
        width: 100%;
        margin-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-right.show {
        display: flex;
    }

    .btn-logout {
        width: 100%;
    }
}

/* FIN DE ESTILOS PARA DASHBOARD */

/* ESTILOS PARA HISTORIAL */

.container {
    margin-top: 30px;
}

h2 {
    font-size: 2rem;
    color: #333;
}
/* estilos de botón para limpiar el filtro del buscador */
.btn-clear-search {
    font-size: 2rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
}
.btn-clear-search:hover {
    color: #000;
}
/* fin de estilos de botón para limpiar el filtro del buscador */

table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

table th, table td {
    padding: 12px;
    text-align: left;
}

table th {
    background-color: #343a40;
    color: white;
}

table td {
    background-color: #f8f9fa;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #e9ecef;
}

/* Botones en la tabla */
.btn-inline {
    display: inline-block;
    width: auto !important;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
}

.btn-success {
    background-color: #28a745;
    color: white;
}

.btn-warning {
    background-color: #ffc107;
    color: black;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

/* Alerta de actualización exitosa */
.alerta {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Estilos del formulario de búsqueda */
form input[type="text"] {
    width: 100%;
    padding: 6px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 4px;
}

form input[type="text"]:focus {
    border-color: #0056b3;
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-item {
    margin: 0;
}

.page-link {
    padding: 0.5rem 1rem;
    color: #007bff;
    border: 1px solid #007bff;
    border-radius: 5px;
    text-decoration: none;
}

.page-link:hover {
    background-color: #007bff;
    color: white;
}

/* Responsive para pantallas más pequeñas */
@media (max-width: 768px) {
    .navbar-right {
        display: none;
        width: 100%;
        margin-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-right.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: white;
    }

    table th, table td {
        padding: 8px;
    }

}

/* FIN DE ESTILOS PARA HISTORIAL */

/* ESTILOS PARA BOLETA CONFIRMADA */

.confirm-box {
    max-width: 500px;
    margin: auto;
    padding: 3rem 2rem;
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}

.confirm-icon lottie-player {
    max-width: 120px;
    margin: 0 auto;
}

.btn-outline-primary {
    background-color:#5a6268;
}

/* FIN DE ESTILOS PARA BOLETA CONFIRMADA */

/* ESTILOS DE VER BOLETA PUBLICA */

body.responsive-validacion {
    background-color: #f4f6f9;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding-bottom: 3rem;
}

.ver-boleta {
    background-color: #f8f9fa;
    font-size: 1rem;
    min-height: 100vh;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.titulo-validacion {
    font-size: 1.6rem;
    font-weight: 600;
    color: #2e7d32;
}

.dato-boleta {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    background-color: #fff;
    border-radius: 0.5rem;
    margin-bottom: 0.6rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.dato-boleta strong {
    display: inline-block;
    width: 200px;
    font-weight: 600;
    color: #333;
}

.btn-descargar {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0.5rem;
}
@media (max-width: 576px) {
    .titulo-validacion {
        font-size: 1.3rem;
    }
    .dato-boleta {
        font-size: 0.95rem;
        padding: 0.5rem 0.8rem;
    }
}
.py-4 {
    margin-top: 1rem !important;
}
