/* Fondo general */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #e6f0ff;
    /* Azul muy claro */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Contenedor general */
.container {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 40px 30px;
    width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.4s ease;
}

/* Título */
h2 {
    text-align: center;
    color: #004aad;
    margin-bottom: 25px;
}

/* Formularios */
form {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

/* Inputs y select */
input,
select {
    padding: 12px;
    border-radius: 8px;
    border: 1.8px solid #bcd0f7;
    font-size: 15px;
    width: 100%;
    outline: none;
    transition: all 0.3s;
}

input:focus,
select:focus {
    border-color: #004aad;
    box-shadow: 0 0 4px rgba(0, 74, 173, 0.4);
}

/* Botones */
button {
    background-color: #004aad;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #00337a;
}

/* Checkbox y textos */
label {
    font-size: 14px;
    color: #333;
}

.switch {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.switch a {
    color: #004aad;
    font-weight: 600;
    text-decoration: none;
}

.switch a:hover {
    text-decoration: underline;
}

/* Ocultar contenedor secundario */
.hidden {
    display: none;
}

/* Íconos dentro de inputs */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 10px;
    color: #004aad;
    font-size: 18px;
}

.input-group input {
    padding-left: 35px;
}

/* Animación de transición */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --------------------------------------------------------- */
/* 🟦 LOGO CON NEÓN AZUL + ANIMACIÓN DE PALPITAR */
/* --------------------------------------------------------- */

.logo {
    width: 120px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    animation: pulse 2s infinite ease-in-out;

    /* Sombra neón azul */
    box-shadow:
        0 0 10px #3a7bff,
        0 0 20px #3a7bff,
        0 0 40px #3a7bff,
        0 0 60px rgba(58, 123, 255, 0.7),
        0 0 80px rgba(58, 123, 255, 0.5);
}

/* Animación de pulso */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow:
            0 0 10px #3a7bff,
            0 0 20px #3a7bff,
            0 0 40px #3a7bff,
            0 0 60px rgba(58, 123, 255, 0.7),
            0 0 80px rgba(58, 123, 255, 0.5);
    }

    50% {
        transform: scale(1.07);
        box-shadow:
            0 0 15px #5b93ff,
            0 0 30px #5b93ff,
            0 0 50px #5b93ff,
            0 0 70px rgba(91, 147, 255, 0.8),
            0 0 100px rgba(91, 147, 255, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow:
            0 0 10px #3a7bff,
            0 0 20px #3a7bff,
            0 0 40px #3a7bff,
            0 0 60px rgba(58, 123, 255, 0.7),
            0 0 80px rgba(58, 123, 255, 0.5);
    }
}