body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #E3F2FD, #CFEBF9);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background-color: #ffffff5d;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    width: 320px;
    text-align: center;
}

.login-container h2 {
    margin-bottom: 24px;
    color: #1e3a8a;
}

.login-container label {
    display: block;
    text-align: left;
    margin-bottom: 6px;
    font-weight: bold;
    color: #374151;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.login-container button {
    width: 100%;
    background-color: #2563eb;
    color: white;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-container button:hover {
    background-color: #1d4ed8;
}

/* Contenedor del logo ajustado */
.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Ajusta el margen para que el logo no se superponga */
}

/* Logo superior corregido */
.logo-superior {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 100%;
    margin-top: 10px;
}

/* Título principal corregido */
.titulo-principal {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: #1A3E70;
    margin: 10px 0 20px 0;
    padding: 0 15px;
    text-transform: uppercase;
    width: 100%;
}

/* Resto del código manteniendo todo igual */
.logo {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    filter: drop-shadow(0px 5px 10px rgba(0, 0, 0, 0.3));
    animation: breathing 3s infinite ease-in-out;
}

.error-message {
    background-color: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: bold;
    text-align: center;
}
