.login-background {
    background: url("../../resources/images/fondo-auth.png") no-repeat center;
    background-size: cover;
    width: 100%;
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-panel {
    margin: 3rem 1rem;
    width: 35rem;
    max-width: 95vw;
    max-height: 80%;
    background-color: var(--color-white-bold);
    border-radius: .75rem !important;
    box-shadow: 4px 4px 4px 3px #0000001A;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: var(--z-content);
}

.registro-panel-container{
    display: flex;
    justify-content: center;
    align-items: center;
}

/* card panel registro */
.registro-panel{
    margin: 3rem 1rem;
    width: 60%;
    border-radius: .75rem !important;
    background-color: var(--color-white-bold);
    backdrop-filter: blur(10px); /* Desenfoque del fondo */
    box-shadow: 4px 4px 4px 3px #0000001A;
    padding: 1rem 2rem;
    z-index: var(--z-content);
}

@media (max-width: 1440px) {
    .registro-panel{
        width: 70%;
    }
    .login-background{
        min-height: 80vh;
    }
}

@media (max-width: 1024px) {
    .registro-panel{
        width: 80%;
    }
    .login-background{
        min-height: 75vh;
    }
}

@media (max-width: 768px) {
    .registro-panel{
        width: 85%;
        padding: 1rem;
    }
    .login-background{
        min-height: 70vh;
    }
}

@media (max-width: 640px) {
    .registro-panel{
        width: 90%;
    }
    .login-background{
        min-height: 60vh;
    }
}

/* cada fila de 2 inputs */
.input-group{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

/* Estilos para cualquier hijo directo de .input-group */
.input-group > * {
    flex: 1;
}

/* ajuste res pantalla 2 columnas -> 1 columna */
@media (max-width: 768px) {
    .input-group{
        flex-direction: column;
        gap: 1rem;
        min-height: 0;
        min-width: 0;
    }

    .input-group > * {
        width: 75% !important;
    }

}

/* ajuste res pantalla 2 columnas -> 1 columna */
@media (max-width: 480px) {

    .input-group > * {
        width: 90% !important;
    }

    .datePicker-fix-position .ui-datepicker{
        display: block;
        left: -3rem !important;
    }

}

/* Rombo flotante */
.rombo-flotante-auth {
    position: absolute;

    width: 62rem;
    height: 62rem;

    right: -22rem;
    top: -5rem;

    background: linear-gradient(
            225deg,
            #00B2EF 2.39%,
            #E30981 97.61%
    );

    opacity: 0.6;
    transform: rotate(45deg);
    border-radius: 3rem;
    overflow: hidden;
    z-index: var(--z-rombo-flotante);
}

@media (max-width: 1440px) {
    .rombo-flotante-auth {
        width: 55rem;
        height: 55rem;
        right: -15rem;
        top: -3rem;
    }
}

@media (max-width: 1024px) {
    .rombo-flotante-auth {
        width: 52rem;
        height: 52rem;
        right: -20rem;
        top: -1rem;
    }
}

@media (max-width: 640px) {
    .rombo-flotante-auth {
        width: 48rem;
        height: 48rem;
        right: -19rem;
        top: 0;
    }
}

@media (max-width: 480px) {
    .rombo-flotante-auth {
        display: none;
    }
}
