/* Estilos base para todo el sitio excepto el login */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Alinea el contenido en la parte superior */
    font-family: monospace;
    background-color: #333;
    color: #fff;
}


a:link, a:visited {
    color: inherit; /* Hereda el color del texto del elemento padre */
    text-decoration: none; /* Elimina el subrayado */
}

a:hover, a:active {
    text-decoration: underline; /* Añade subrayado al pasar el mouse para indicar interactividad */
}

/* Contenedor de contenido para el panel de control */
.content {
    width: 95%;
    min-height: 92vh;
    margin: 2vh 2.5%;
    background-color: #404040;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
}


.titulo {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-self: flex-start;
    font-size: 20px;
    font-weight: bolder;
    font-family: monospace;
    width: 100%;
    height: 30px;
}

.bloque_titulo{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;

}

.centra_verticalmente{
    margin-top: 6px;
}

.subtitulo{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    align-self: flex-start;
    padding-left: 5px;
    font-size: 14px;
    font-family: monospace;
    margin-top: -10px;

}

/* Contenedor específico para el login para mantenerlo centrado */
/* Estilos específicos para el login */
.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 35vh;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #444;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20vh;
    margin-right: 2vh;
    margin-left: 2vh;

}




/* Imagen de login */
.login-image {
    width: 200px; /* Ajustar según el tamaño deseado */
    object-fit: cover;
  
    margin-bottom: 20px; /* Espacio entre la imagen y el primer campo de texto */
}

.material-icons {
    cursor: pointer;
    color: #fff; /* Color blanco para los iconos */
    transition: color 0.3s; /* Suaviza la transición de color */
}

.material-icons:hover {
    color: #ccc; /* Cambia de color al pasar el mouse por encima */
}

/* Estilos para los campos de texto */
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px; /* Espacio entre los campos de texto */
    border: 1px solid #555; /* Bordes más sutiles */
    border-radius: 4px;
    background: #fff; /* Fondo blanco para los campos de texto */
    color: #333; /* Texto oscuro para mejor contraste */
}

/* Estilos para el botón */
button {
    width: 100%;
    padding: 10px;
    background-color: #0066cc; /* Color del botón */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s; /* Transición suave al cambiar de color */
}

button:hover {
 /*   background-color: #0056b3;*/
}


.bloque_pagina{

    background: floralwhite;
    border-radius: 8px;
    padding-left: 10px;
    padding-right: 10px;
    color: black;
    width: 96%;
}   


.tabla-contenedor {
    max-height: 800px; /* Ajusta este valor basado en la altura de tus filas */
    overflow-y: auto; /* Habilita el desplazamiento vertical */
    border: 1px solid #ccc; /* Opcional: añade un borde para la claridad visual */
}

table {
    width: 100%; /* Asegura que la tabla use todo el espacio disponible del contenedor */
    border-collapse: collapse; /* Opcional: para estilos de tabla */
}

th, td {
    border: 1px solid #ddd; /* Opcional: añade bordes a las celdas */
    padding: 8px; /* Añade espacio dentro de las celdas */
    text-align: left; /* Alinea el texto a la izquierda */
}

thead {
    background-color: #f9f9f9; /* Color de fondo para la cabecera de la tabla */
}

.boton-icono {
    padding: 10px 20px;
    background-color: #4CAF50; 
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 160px;
    height: 30px;
    margin-top: 5px;
}

.boton-icono i {
    margin-right: 5px; 
    vertical-align: middle; 
}



.boton-icono:hover {
    margin-top: 5px;
    background-color: #45a049;
    width: 160px;
    height: 30px;
}



.modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: #444;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 85%;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    cursor: pointer;
}

.close:hover {
    color: #f00;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.form-group input {
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.form-group textarea {
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
    resize: vertical; /* Permitir al usuario ajustar el tamaño verticalmente */
}

.btn-guardar {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
}

.btn-guardar:hover {
    background-color: #0056b3;
}


.btn-eliminar {
    width: 100%;
    padding: 10px;
    background-color: #dc3545;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-volver-escanear {
width: 100%;
    padding: 10px;
    background-color: #048300;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    /* color: black; */
    font-weight: bolder;
}


.btn-marcar-usado {
width: 100%;
    padding: 10px;
    background-color: #8b0000;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    /* color: black; */
    font-weight: bolder;
}

.btn-eliminar:hover {
    background-color: #c82333;
}


.qr-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

#qrcode {
    width: 200px;
    height: 200px;
}

.share-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-whatsapp, .btn-email {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 100px;
}

.btn-email {
    background-color: #007BFF;
}

.btn-whatsapp i, .btn-email i {
    margin-right: 5px;
}

.btn-whatsapp:hover {
    background-color: #1ebc59;
}

.btn-email:hover {
    background-color: #0069d9;
}

.btn-scan{
    width: 100%;
    padding: 10px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: center;
    margin-bottom: 10px;
}

.logo_en_pase{
    width: 175px;
    border-radius: 150px;
    object-fit: cover;
    border: 1px solid #000000;
}

.qr_en_pase{
    padding: 10px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.id_del_pase{
    font-size: x-small;
}

.error-message{
    background: maroon;
color: yellow;
padding: 10px;
margin-bottom: 5px;
border-radius: 8px;
font-weight: bolder;
}

.fade-out {
    animation: fadeOut 4s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}




.fila_comp_pase{
    display: flex;
    flex-direction: column;
}

.titulo_comp_pase{
    margin-bottom: 5px;
}

.dato_comp_pase{
    background: white;
    color: black;
    font-weight: bolder;
    padding: 5px;
    width: 100% !important;
    display: flex;
    font-size: 20px;
    border-radius: 8px;
}

.dato_comp_pase_id{
	display: none;
    background: white;
    color: #444;
    font-weight: bolder;
    padding: 5px;
    width: 100% !important;
    display: flex;
    font-size: 0px;
    border-radius: 8px;
}

.dato_comp_pase_text_area{
    background: white;
    color: black;
    font-weight: bolder;
    padding: 5px;
    width: 100% !important;
    display: flex;
    font-size: 14px;
    height: 60px;
    border-radius: 8px;
}

.estado-valido {
 
    background-color: #28a745;
    color: #ffffff;
    font-weight: bolder;
    padding: 5px;
    width: 100% !important;
    font-size: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.estado-suspendido {
    background-color: #dc3545; /* Rojo */
    color: #ffffff;
    font-weight: bolder;
    padding: 5px;
    width: 100% !important;
    font-size: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

.boton_cerrar_modal{
    font-size: 25px;
    font-weight: bolder;
    border-radius: 8px;
    margin-top: 20px;
    width: 130px;
    align-self: center;
}

.nombre_cliente_en_qr{
       font-size: 6vw !important;
    font-family: monospace;
    color: #ffbf00;
    /* background: #252525; */
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 7px;
    /* box-shadow: 0 0 10px 1px #000000; */
    padding-left: 20px;
    padding-right: 20px;

}

.notas_cliente_en_qr{
background: white;
    color: black;
    border-radius: 7px;
    padding: 10px;
}