*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* BODY */
body{
    font-family: Arial, sans-serif;
    background: #426bca;
}
/* HEADER */
header {
    background: #1e3c72;
    color: white;
    padding: 25px 40px;
    position: relative;
    text-align: center;
}

header .logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

header .logo img {
    width: 90px;
    height: 90px;
    object-fit: contain;
}
.cajafuera{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.formulariocaja{
    width: 400px;
    height: 500px;
    background: white;
    border-radius: 10px;
    border: 2px solid rgb(49, 23, 165);
    position: relative;
    overflow: hidden;
}

/* Botones cambiar */
.botondeintercambiar{
    width: 220px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
}

.botoncambiarcaja{
    width: 100px;
    height: 35px;
    border: none;
    background: #1C62C1;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}

#btnvai{
    display: none;
}

/* Logo */
.logovai{
    text-align: center;
}

.logovai img{
    width: 70px;
}

/* Formularios */
.grupo-entradas{
    width: 300px;
    position: absolute;
    top: 100px;
}

#frmlogin{
    left: 50px;
}

#frmregistrar{
    left: 450px;
}

.cajaentradatexto,
.fila-captcha input{
    width: 100%;
    height: 35px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1px solid gray;
    border-radius: 5px;
}

.fila-captcha{
    display: flex;
    gap: 5px;
}

.fondorecaptcha{
    width: 60px;
    height: 35px;
    background: gray;
    color: white;
    text-align: center;
    line-height: 35px;
    border-radius: 5px;
}

/* Botón enviar */
.botonenviar{
    width: 100%;
    height: 40px;
    border: none;
    background: #1C62C1;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.botonenviar:hover{
    background: #1550a0;
}
/* FOOTER */
.footer {
    margin-top: 50px;
    padding: 30px;
    background: #00438D;
    color: white;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.footer p {
    margin: 10px 0;
    color: #5dbecf;
    font-size: 14px;
    font-weight: bold;
}