@charset "UTF-8";

* {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to top, #22DDF2, #4B0091);
}

.container {
    width: 80%;
    height: 90vh;
    display: flex;
}

.form-image {
    width: 50%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to top, #22DDF2, #8401FF);
    box-shadow: none; /* Removendo a sombra lateral */
}

.form-image img {
    height: 100%;
}


.form {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding: 3rem;
    box-shadow: none; /* Removendo a sombra lateral */
}

.form-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
}

.form-header h1::after {
    content: '';
    display: block;
    width: 5rem;
    height: 0.3rem;
    background-color: #22DDF2;
    margin: 0 auto;
    position: absolute;
    border-radius: 10px;
}

.input-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 0;
}

.input-box {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-box input {
    margin: 0.6rem 0;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 10px;
    box-shadow: 1px 1px 6px #0000001c;
    font-size: 0.8rem;
}

.input-box input:hover {
    background-color: #eeeeee75;
}

.input-box input:focus-visible {
    outline: 1px solid #6c63ff;
}

.input-box label,
.gender-title h6 {
    font-size: 0.75rem;
    font-weight: 600;
    color: #000000c0;
}

.input-box input::placeholder {
    color: #000000be;
}

.gender-group {
    display: flex;
    justify-content: space-between;
    margin-top: 0.62rem;
    padding: 0 .5rem;
}

.gender-input {
    display: flex;
    align-items: center;
}

.gender-input input {
    margin-right: 0.35rem;
}

.gender-input label {
    font-size: 0.81rem;
    font-weight: 600;
    color: #000000c0;
}

.cadastrar-button input {
    width: 100%; 
    margin-top: 1rem;
    border: none;
    background-color: #4B0091;
    padding: 0.62rem;
    border-radius: 5px;
    cursor: pointer;
}

.cadastrar-button input:hover {
    background-color: #8401FF;
}

.cadastrar-button input {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
}

.form-check {
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
}




@media screen and (max-width: 1330px) {
    .form-image {
        display: none;
    }
    .container {
        width: 50%;
    }
    .form {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .form {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        padding: 1rem;
        border-radius: 20px;
        box-shadow: none; /* Removendo a sombra lateral */
    }

    .input-group {
        padding-right: 0; /* Remove o preenchimento à direita para dispositivos móveis */
    }

    .cadastrar-button input {
        width: 100%; /* Define a largura do botão como 100% para dispositivos móveis */
    }
}

@media screen and (max-width: 1064px) {
    .container {
        width: 90%;
        height: auto;
    }
    .input-group {
        flex-direction: column;
        z-index: 5;
        padding-right: 5rem;
        max-height: 10rem;
        overflow-y: scroll;
        flex-wrap: nowrap;
    }
    .gender-inputs {
        margin-top: 2rem;
    }
    .gender-group {
        flex-direction: column;
    }
    .gender-title h6 {
        margin: 0;
    }
    .gender-input {
        margin-top: 0.5rem;
    }
}
/* O Modal (fundo) */
/* Animação de entrada */
@keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

/* Estilos para o Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000; /* Valor alto para garantir que o modal fique à frente de outros elementos */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fundo semi-transparente */
    text-align: center;
}

.modal-dialog {
    position: relative;
    margin: 10% auto;
    padding: 0.2rem;
    background-color: #4B0091; /* Cor de fundo */
    border-radius: 10px; /* Borda arredondada */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Sombra */
    width: 70%; /* Largura do modal */
}

.modal-header {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid transparent; /* Linha separadora */

}

.modal-title {
    text-align: center;
    font-size: 1.5rem; /* Tamanho do título */
    color: #4B0091; /* Cor do título */
}

.modal-body {
    padding: 1rem 1;
}

.modal-body p {
    font-size: 1rem; /* Tamanho do texto */
    color: black; /* Cor do texto */
}

.btn-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.25rem; /* Tamanho do ícone de fechar */
    color: #22DDF2; /* Cor do ícone de fechar */
    background: none;
    border: none;
    cursor: pointer;
}
