.container-registro{
    display: grid;
    grid-template-rows: 4em 1fr;
    width: 75%;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

.body-formulario{
    background-color: rgb(54, 57, 61);
    padding: 10px;
    display: grid;
    grid-template-rows: 1fr 5em;
    justify-items: center;
    row-gap: 30px;
    border-radius: 15px;
}

.contenido-formulario{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 50px;
    width: 80%;
}

.container-input{
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.input-register{
    border: 1px solid rgb(226, 232, 168);
    border-radius: 10px;
    padding: 5px;
    width: 100%;
    transition: border-color 0.3s;
    padding-right: 10px;
    &:hover {
        border-color: rgb(0, 100, 0);
    }
    &:focus-visible{
        border-color: rgb(0, 100, 0);
    }
}

.input-register:focus{
    border-color: rgb(0, 100, 0);
}

.container-botones{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 40px;
    justify-content: space-between;
}

.leyenda-enviar{
    color: rgb(107, 142, 176);
    font-weight: bold;
    text-align: center;
    margin: 0;
    margin-right: 10px;
    font-size: 1.5em;
    line-height: 2.5em;
}

.submit-registro{
    background-color: rgb(107, 142, 176);
    border: none;
    border-radius: 10px;
    height: 60px;
    width: 100px;
    transition: background-color 0.3s;
    &:hover{
        background-color: rgb(146, 171, 195 ); 
    }
}

.submit-login {
    /* Base del diseño original */
    display: inline-block;
    background: var(--accent);
    color: white; 
    text-decoration: none;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(66, 201, 186, 0.35);
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
    width: auto; 
    height: auto;
    min-width: 120px;
    &:hover {
        background-color: var(--accent);
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(66, 201, 186, 0.45);
    }
    &:active {
        transform: translateY(0);
    }
}

.carga-option{
    background-color: rgb(254, 244, 235);
    color: black;
    &:hover{
        background-color: rgb(253, 209, 182);
    }
}

.label-registro{
    color: white;
    font-weight: bolder;   
}

@media(max-width: 1199.98px){
    .container-registro{
        width: 85%;
    }
}

@media (max-width: 768px) {
    .contenido-formulario{
        grid-template-columns: 1fr;
        width: 100%;
    }

    .container-registro{
        grid-template-rows: 2em 1fr;
        width: 90%;
    }

    .titulo-principal{
        margin: 0px 20px;
    }

    .container-botones{
        flex-direction: column;
        row-gap: 10px;
        margin-bottom: 10px;
    }
}
