body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #00A3FF 0%, #073264 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
}

.login-container {
    background: #eafffe;
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(224, 229, 229, 0.3);
    border: 1px solid rgba(0, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    width: 400px;
    transition: transform 0.3s ease;
}

.login-container:hover {
    transform: scale(1.02);
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

h2 {
    color: #033849;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

input {
    width: 90%;
    padding: 12px 20px;
    background: #9efdff;
    border: none;
    border-radius: 5px;
    border: 1px solid #5bf9ff;
    color: black;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

input:focus {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.5);
}

label {
    position: absolute;
    top: 10px;
    left: 20px;
    color: rgba(15, 14, 14, 0.7);
    transition: all 0.3s ease;
    pointer-events: none;
}

input:focus + label,
input:not(:placeholder-shown) + label {
    top: -10px;
    left: 20px;
    font-size: 12px;
    color: #00ffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 0 5px;
}

button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #00ffff 0%, #0099ff 100%);
    border: none;
    border-radius: 5px;
    color: #0a1f2e;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.footer-login {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 20px;
}

/* Animaciones */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.logo {
    animation: float 3s ease-in-out infinite;
}

input:focus {
    animation: pulse 1s ease-out;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 255, 0); }
}


/* Estilos para la alerta central */
.alert-container {
    display: none; /* Oculto por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    color: rgba(255, 0, 0, 0.9);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 300px;
}

.alert-container button {
    margin-top: 10px;
    padding: 8px 15px;
    border: none;
    background-color: white;
    color: white;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
}

.alert-container button:hover {
    background-color: lightgray;
}

