/* Contenedor general */
.utpn-solicitudes {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 30px 50px;
    width: 500px;
    margin: 20px auto;
    font-family: 'Arial', sans-serif;
}

/* Título del formulario */
.utpn-solicitudes h3 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 46px;
    padding: 1px;
}

/* Grupos de formulario */
.form-group {
    margin-bottom: 25px;
}

.inline-fields {
    display: flex;
    justify-content: center; /* Centramos los campos */
    gap: 30px; /* Más separación entre los campos */
}

/* Campos en línea */
.inline-group {
    flex: 1;
}

label {
    display: block;
    font-size: 16px; /* Texto más grande */
    color: #555;
    margin-bottom: 8px;
}

input[type="number"],
input[type="time"] {
    width: 100%;
    padding: 12px; /* Más espacio interno */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px; /* Fuente más grande */
    color: #333;
}


input[type="number"]::placeholder {
    color: #aaa;
}

.error-message {
    font-size: 13px;
    color: red;
    margin-top: 5px;
}

/* Días hábiles */
.dias-habiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Más separación entre días */
    justify-content: flex-start; /* Alineación a la izquierda */
}




.custom-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 45px; /* Tamaño más grande */
    height: 45px; /* Tamaño más grande */
    color: #555;
    transition: all 0.3s ease;
    background-color: #fff;
}

.custom-checkbox:hover {
    background-color: #d3d3d3;
    /* cursor: pointer; */
}

.custom-checkbox.selected {
    background-color: #000; /* Fondo negro */
    color: #fff; /* Texto blanco */
}


.custom-checkbox input {
    display: none;
}

.custom-checkbox:hover {
    border-color: #007bff;
}

.custom-checkbox input:checked + label {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

/* Botón aplicar */
.apply-button {
    display: block;
    margin-left: auto;
    padding: 12px 24px;
    font-size: 23px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 186px;
    height: 66px;
    background: #323E48 0% 0% no-repeat padding-box;
    border-radius: 5px;
    opacity: 1;
}



.apply-button:hover {
    background: transparent linear-gradient(88deg, #77C577 0%, #86C9AF 50%, #9ACEF3 100%) 0% 0% no-repeat padding-box;
    border-radius: 5px;
    opacity: 1;
}

/* Ajustes adicionales */
.form-group:last-of-type {
    margin-bottom: 0;
}

/* Aseguramos que todo esté dentro del contenedor */
.utpn-solicitudes:after {
    content: "";
    display: table;
    clear: both;
}




.bienvenida-tarjetas {
    display: flex;
    align-items: stretch;
    background-color: white;
    padding: 15px;
    gap: 15px;
    border-radius: 4px;
    box-sizing: border-box;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    margin: 0px 20px;
}

.bienvenida-container {
    padding: 25px;
    display: flex;
    align-items: center;
    max-width: 50%;
    width: 50%;
}

.bienvenida {
    margin: 0;
    color: #2c3338;
    font-size: 25px;         /* Cambiado a 25px específicamente */
    font-weight: 700;        /* Aumentado a 700 para más negrita */
    line-height: 1.2;
}

.tarjetas-container {
    
        display: flex;
        gap: 15px;
        max-width: 50%;
        width: 100%;
}

.tarjeta {
    background-color: #F0F3F5;
    padding: 15px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 50%;
}

.tarjeta h3 {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px 0;
    font-weight: normal;
}

.tarjeta p {
    font-size: 20px;         /* Cambiado a 20px */
    margin: 0;
    color: #2c3338;
    font-weight: 700;        /* Añadido negrita */
}

.tarjeta strong {
    color: #1e1e1e;
    font-weight: 700;        /* Aumentado a 700 para más negrita */
    font-size: 20px;         /* Asegurando que los números tengan 20px */
}

.tarjeta .hora-restante {
    font-size: 14px;
}

/* Estilo específico para el tiempo y hora */
#hora-actual {
    font-size: 20px;         /* Asegurando que la hora tenga 20px */
    font-weight: 700;        /* Negrita para la hora */
}

.hora-actual h3:nth-of-type(2) {
    margin-top: 10px;
}

/* Corregir posible conflicto con h4 dentro de p */
.bienvenida h4 {
    margin: 0;
    display: inline;
    font-size: inherit;
    font-weight: inherit;
}



.mensaje-shor{
    font-size: 25px;
    margin: 1.33em 0;
    font-weight: 700;
}

.tarjeta.solicitud-disponible {
    width: 32%;
}

.tarjeta.hora-actual {
    width: 60%;
}

/* Ajustes responsivos */
@media (max-width: 992px) {
    .bienvenida-tarjetas {
        flex-direction: column;
    }
    
    .tarjetas-container {
        flex-direction: column;
    }
    
    .tarjeta {
        width: 50%;
    }
}


/* Añadir a tus estilos existentes */

.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fefefe !important;
    margin: auto;
    border: 1px solid #888 !important;
    width: 100% !important;
    max-width: 980px;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 10px;
}

.close:hover {
    color: #000;
}

.loading {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #666;
}

.error {
    color: #dc3232;
    padding: 10px;
    background: #fff6f6;
    border-left: 4px solid #dc3232;
    margin: 10px 0;
}

/* Paginación mejorada */
.tablenav-pages {
    float: right;
    margin: 15px 0;
}

.tablenav-pages .pagination-links {
    display: inline-block;
}

.tablenav-pages a,
.tablenav-pages span.current {
    display: inline-block;
    min-width: 30px;
    height: 30px;
    margin: 0 2px;
    padding: 0 4px;
    font-size: 13px;
    line-height: 28px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #f7f7f7;
    cursor: pointer;
}

.tablenav-pages span.current {
    border-color: #0073aa;
    background: #0073aa;
    color: #fff;
    font-weight: 600;
}

.tablenav-pages a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.displaying-num {
    margin-right: 10px;
    color: #555;
}

/* Mejoras en la tabla */
.wp-list-table td {
    vertical-align: middle;
}

.view-details {
    width: 100%;
    text-align: center;
}

/* Mejoras en el formulario de búsqueda */
.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 20px;
}

.search-form input[type="text"] {
    min-width: 200px;
}


.menu{
    padding-bottom: 0px !important;
  }
  #mensaje-edicion.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
#mensaje-edicion.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
