body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    margin: 0;
    padding: 0;
    color: #333;
}

header {
    background-color: #004d99;
    color: white;
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
	justify-content: center;
}

header h1 {
    margin: 0;
    font-size: 1.8em;
}

header p {
    margin: 5px 0 0;
    font-size: 0.9em;
}

.nombre-usuario {
    font-weight: bold;
    color: #ffd700; /* Color dorado */
}

.btn-logout {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8em;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}
.btn-admini {
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8em;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}
.btn-inicio {
    background-color: #22ff44;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.8em;
    margin-left: 10px;
    transition: background-color 0.3s ease;
}
.btn-logout:hover {
    background-color: #c82333;
}

.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.reserva-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.reserva-form {
    flex: 1;
    min-width: 300px;
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.reserva-form h2 {
    color: #004d99;
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.info{
	color: #bb0707;
    margin-top: 10px;
    font-size: 1em;
       padding-bottom: 10px;
        line-height: 29px;
}
.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.input-group select,
.input-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

#horarios-disponibles .instruccion-disponibilidad {
    color: #666;
    font-style: italic;
    text-align: center;
    padding: 20px;
    border: 1px dashed #ccc;
    border-radius: 5px;
    margin-top: 20px;
}

.mensaje-alerta {
    padding: 10px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.mensaje-exito {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mensaje-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos de la sección del calendario semanal */
#calendario-semanal-container {
    flex: 2;
    min-width: 600px;
}

#calendario-semanal-container h2 {
    color: #004d99;
    margin-top: 0;
    font-size: 1.5em;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 20px;
    text-align: center;
}

.navegacion-semanal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    background-color: #e9ecef;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-nav {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px; /* Bordes más redondeados */
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    display: flex; /* Para alinear icono y texto */
    align-items: center;
    gap: 5px; /* Espacio entre icono y texto */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-nav .icon {
    font-size: 1.2em; /* Tamaño del icono */
    line-height: 1; /* Para que el icono no añada espacio extra */
}

.btn-nav:hover {
    background-color: #0056b3;
    transform: translateY(-1px); /* Efecto ligero al pasar el ratón */
}

.btn-nav:active {
    transform: translateY(0); /* Quitar efecto al hacer clic */
}

.semana-actual {
    font-weight: bold;
    color: #004d99;
    font-size: 1.1em;
    text-align: center;
}

/* Estilos para la tabla del calendario */
.calendario-tabla-responsive {
    overflow-x: auto; /* Permite scroll horizontal en pantallas pequeñas */
    width: 100%;
}

.calendario-tabla {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* Ayuda a que las columnas tengan ancho fijo */
    min-width: 600px; /* Ancho mínimo para evitar que se comprima demasiado */
}

.calendario-tabla th,
.calendario-tabla td {
    border: 1px solid #e0e0e0;
    padding: 8px 5px; /* Padding más pequeño para hacer las celdas más compactas */
    text-align: center;
    font-size: 0.85em; /* Tamaño de fuente más pequeño */
}

.calendario-tabla thead th {
    background-color: #f0f0f0;
    color: #333;
    font-weight: bold;
    position: sticky; /* Fija el encabezado */
    top: 0;
    z-index: 10;
}

.calendario-tabla tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.calendario-tabla tbody tr:hover {
    background-color: #eaf6ff;
}

/* Columna de la hora a la izquierda */
.calendario-tabla tbody td:first-child {
    font-weight: bold;
    background-color: #f0f0f0;
    color: #004d99;
    width: 100px; /* Ancho fijo para la columna de la hora */
    position: sticky; /* Fija la columna de la hora */
    left: 0;
    z-index: 9;
}

/* Estilos para las celdas de horario */
.horario-slot {
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    height: 45px; /* Altura fija para las celdas */
   // display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.horario-disponible {
    background-color: #e6ffe6; /* Verde muy claro */
    color: #28a745; /* Verde oscuro */
}

.horario-disponible:hover {
    background-color: #d4edda; /* Verde más intenso al pasar el ratón */
    transform: scale(1.03);
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.5);
}

.horario-ocupado {
    background-color: #ffe6e6; /* Rojo muy claro */
    color: #dc3545; /* Rojo oscuro */
    cursor: not-allowed;
}

.horario-ocupado:hover {
    background-color: #f8d7da; /* Rojo más intenso al pasar el ratón */
}

.horario-mio {
    background-color: #fff3cd; /* Amarillo claro */
    color: #ffc107; /* Amarillo más oscuro */
    border: 1px solid #ffc107;
}

.horario-mio:hover {
    background-color: #ffeeba; /* Amarillo más intenso al pasar el ratón */
    transform: scale(1.03);
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

.estado-slot-texto {
    font-weight: bold;
    font-size: 0.9em;
    line-height: 1;
}

.reserva-usuario {
    font-size: 0.7em;
    color: #6c757d; /* Gris más suave para el nombre */
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

/* Estilos de la tabla de login */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #ffffff;
}

.login-form h2 {
    text-align: center;
    color: #004d99;
    margin-bottom: 20px;
}

.login-form .input-group {
    margin-bottom: 15px;
}

.login-form .input-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.login-form .input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.login-form .btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form .btn:hover {
    background-color: #0056b3;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .reserva-section {
        flex-direction: column;
    }

    .reserva-form {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 20px;
    }

    #calendario-semanal-container {
        min-width: 100%;
    }

    .navegacion-semanal {
        flex-direction: column;
        gap: 10px;
    }
    .semana-actual {
        order: -1; /* Mueve el rango de fechas al principio */
        margin-bottom: 5px;
    }
    .btn-nav {
        width: 100%;
        justify-content: center;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

        body {
            font-family: 'Inter', sans-serif;
            margin: 0;
            background-color: #f0f4f8;
            color: #1a202c;
        }

        /* Contenedor del menú */
        .header {
            background-color: #ffffff;
            padding: 1rem 2rem;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

 .nav-menu {
            display: flex;
            justify-content: center;
            align-items: center;
			 /* Limita el ancho y lo hace responsivo */
            max-width: 1200px;
            width: 100%;
        }

        /* Logo o título */
        .nav-logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #2c5282;
            text-decoration: none;
        }

        /* Lista de enlaces */
        .nav-list {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
			
        }

        .nav-item {
            margin-left: 2rem;
        }

        .nav-link {
            text-decoration: none;
             
    color: #ffd700;
            font-weight: 600;
            transition: color 0.3s ease;
        }

        .nav-link:hover {
            color: #2c5282;
        }

        /* Botón de hamburguesa para móviles */
        .menu-toggle {
            display: none;
            flex-direction: column;
            cursor: pointer;
            padding: 0.5rem;
        }

        .menu-toggle span {
            height: 3px;
            width: 25px;
            background-color: #4a5568;
            margin-bottom: 4px;
            border-radius: 2px;
            transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        }

        /* Estilos responsivos */
        @media (max-width: 768px) {
            .nav-list {
                position: fixed;
                top: 0;
                right: -100%;
                width: 70%;
                height: 100%;
                background-color: #ffffff;
                box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
                flex-direction: column;
                justify-content: center;
                align-items: center;
                transition: right 0.3s ease-in-out;
            }

            .nav-list.active {
                right: 0;
            }

            .nav-item {
                margin: 1.5rem 0;
            }

            .menu-toggle {
                display: flex;
            }

            /* Animación del botón de hamburguesa */
            .menu-toggle.active span:nth-child(2) {
                opacity: 0;
            }

            .menu-toggle.active span:nth-child(1) {
                transform: translateY(7px) rotate(45deg);
            }

            .menu-toggle.active span:nth-child(3) {
                transform: translateY(-7px) rotate(-45deg);
            }
        }
    