* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Quicksand', sans-serif;
    font-size: 14px;
    background: linear-gradient(135deg, #bde0fe, #fff9c4);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.contenedor {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 20px;
}

.formulario {
    width: 400px;
    height: 550px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.barranavegacion {
    display: flex;
    align-items: center;
    position: relative;
    background: #e8f4fd;
    margin: 20px auto;
    width: 220px;
    height: 40px;
    border-radius: 4px;
}

#btnvai {
    position: absolute;
    left: 0;
    width: 110px;
    height: 40px;
    background: #4db8e8;
    border-radius: 4px;
    transition: left 0.5s;
    z-index: 0;
}

.botoncambiarcaja {
    flex: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: black;
    z-index: 1;
    transition: color 0.3s;
    height: 100%;
    font-family: 'Quicksand', sans-serif;
}

.botoncambiarcaja:focus {
    outline: none;
}

.grupo-entradas {
    position: absolute;
    top: 70px;
    left: 50px;
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: left 0.5s;
}

#frmregistrar {
    left: 450px;
}

.logovai {
    text-align: center;
    margin-bottom: 8px;
}

.logovai img {
    width: 65px;
    height: auto;
}

label {
    margin-top: 4px;
    color: #2a9bb5;
    font-weight: 600;
}

.cajaentradatexto,
.cajaentradarecaptcha {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #90d4f0;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    outline: none;
    transition: border-color 0.2s;
    font-family: 'Quicksand', sans-serif;
}

.cajaentradatexto:focus,
.cajaentradarecaptcha:focus {
    border-color: #4db8e8;
}

.fondorecaptcha {
    width: 100%;
    height: 40px;
    background: #fff9c4;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 6px;
    color: #c8961a;
    cursor: pointer;
    user-select: none;
    border: 1.5px dashed #f5c842;
}

.fondorecaptcha:hover {
    opacity: 0.8;
}

.botonenviar {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    background: #4db8e8;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: 'Quicksand', sans-serif;
}

.botonenviar:hover {
    background: #2a9bb5;
}

.botonenviar:active {
    transform: scale(0.98);
}

.piedepagina {
   background: #1a8fc5;
    color: #ffffff;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
}