/* estilos.css */
body {
    /* background-color: #f4f7f6; */
    background: url('imagenes/fondo3.png');
    background-size: 250px 139px;
    background-repeat: repeat;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 15px auto;
    width: 90%;
    max-width: 450px;
    transform: scale(0.9);
    transform-origin: center;
}

h2 {
    color: #2c3e50;
    text-align: center;
    margin: 0 0 8px 0;
    font-size: 1.5rem;
}

p {
    color: #2c3e50;
    text-align: center;
    margin: 0 0 15px 0;
    font-size: 0.95rem;
}

.form-label {
    font-weight: 500;
    color: #34495e;
}

.form-control {
    border-radius: 5px;
    border: 1px solid #bdc3c7;
}

.btn-primary {
    background-color: #034672;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #1b6da8;
}

.alert {
    border-radius: 5px;
    font-weight: 500;
}

.alert-info {
    background-color: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Estilos actualizados para el reloj digital */
#reloj {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #2c3e50;
    color: white;
    padding: 35px 40px;
    border-radius: 8px;
    font-family: 'Digital', 'Roboto', sans-serif;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    transform: scale(0.85);
    transform-origin: top right;
}

#reloj:hover {
    transform: scale(1.05);
}

#reloj .hora {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 2px;
}

#reloj .fecha {
    font-size: 20px;
    opacity: 0.8;
}

/* Estilos para el mensaje de alerta */
#mensaje-alerta {
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Estilo para el ícono */
#mensaje-alerta .fas {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #0c5460;
}

/* Estilo para el texto del mensaje */
#mensaje-alerta .mensaje-texto {
    width: 100%;
    text-align: center;
}

/* Mantener la transición de opacidad */
#mensaje-alerta {
    transition: opacity 0.5s ease-out;
}

#mensaje-alerta.ocultar {
    opacity: 0;
}

/* Hacer el ícono un poco más grande */
.fas {
    font-size: 2.2em;
}
/* Estilo específico para el mensaje de espera */
#mensaje-alerta small {
    display: block;
    margin-top: 1px;
    color: #6c757d;
    font-size: 0.85em;
}

/* Hacer el mensaje de espera más visible */
#mensaje-alerta .mensaje-texto small {
    color: #dc3545;
    font-weight: 500;
}

/* Estilo para simular un display digital */
@font-face {
    font-family: 'Digital';
    src: url('https://fonts.cdnfonts.com/css/ds-digital') format('woff2');
}