body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: #ECE5DD;
    /* fondo WhatsApp */
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 10px 20px;
}

/* Caja principal */
.login-box {
    background: #ffffffee;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    animation: fadeInUp 0.6s ease;
}

/* Logo */
.login-box img {
    margin-bottom: 15px;
}

/* Título */
h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #075E54;
    font-size: 22px;
    font-weight: 600;
}

/* Inputs */
.login-box input[type="text"],
.login-box input[type="password"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-box input:focus {
    border-color: #25D366;
    box-shadow: 0 0 8px rgba(37, 211, 102, 0.3);
    outline: none;
}

/* PIN digits */
.pin-digit {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 12px;
    margin: 0 4px;
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pin-digit.filled {
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

/* Botón submit */
input[type="submit"] {
    width: 100%;
    padding: 14px;
    background-color: #075E54;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-top: 15px;
}

input[type="submit"]:hover {
    background-color: #064C48;
    transform: translateY(-2px);
}

input[type="submit"]:active {
    transform: scale(0.96);
}

/* Notas */
.note {
    font-size: 13px;
    color: #333;
    text-align: center;
    margin-top: 12px;
}

/* Animación */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Splash */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #075E54;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

#splash img {
    max-width: 200px;
}