@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

:root {
    --preto: #172B3E;
    --cinza-escuro: #444444;
    --cinza-medio: #8C8C8C;
    --cinza-medio2: #ABABAB;
    --cinza-medio3: #cfcfcf;
    --cinza-claro2: #E5E5E5;
    --cinza-claro: #F3F3F3;
    --azul: #2BD9E2;
    --azul-medio: #1DC7D0;
    --azul-escuro: #25BBC2;
    --vermelho-escuro: #5c0b1f;
    --magenta: #EA3D90;
    --rosa-claro: #e7b8cf;
}

body {
    font-family: "Nunito", sans-serif;
    color: var(--cinza-escuro);
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    font-family: "Nunito", sans-serif;
}

button,
input[type='submit'],
input[type='reset'],
.padrao-botao,
::-webkit-file-upload-button {
    border-radius: 8px;
    font-size: 13px;
    padding: 9px 20px 9px 20px;
    border: 1px solid #dfdfdf;
    color: var(--preto);
    background-color: white;
    cursor: pointer;
    font-weight: 800;

}

button:hover,
input[type='submit']:hover {
    border: 1px solid #00929c;
    background-color: #effeff;
    color: #00828b;
}

button:focus,
input:focus,
select,
::-webkit-file-upload-button {
    outline: none;
}

.primario {
    border: 1px solid #df3989;
    color: white !important;
    /* background-color: var(--azul-medio) !important; */
    background-color: #EA3D90 !important;
    /* text-shadow: -1px -1px 0px rgba(0, 0, 0, 0.2); */
    font-weight: 800;
    /* letter-spacing: 0.1em; */
}

.primario:hover {
    border: 1px solid white !important;
    color: white !important;
    background-color: var(--azul) !important;
}

.mesma_linha {
    white-space: nowrap;
}

.texto-p {
    font-size: 12px;
}

.texto-cinza {
    color: #4e4e4e;
}

input[type='text'],
input[type='email'],
input[type='password'],
.padrao-campo {
    border: none;
    /* border-bottom: 1px solid var(--cinza-medio); */
    padding: 10px 10px;
    font-size: 1em;
    min-width: 300px;
    color: var(--preto);
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    font-weight: 700;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='password']:focus,
.padrao-campo:focus {
    border-bottom: 1px solid var(--preto);
}

/* 
input:-internal-autofill-selected {
    appearance: menulist-button;
    background-image: none !important;
    background-color: red;
    color: -internal-light-dark(black, white) !important;
} */
input:-webkit-autofill {
    -webkit-background-clip: text;
}

input::placeholder {
    color: var(--cinza-medio3);
}

select {
    padding: 9px 5px;
    border: none;
    /* border-bottom: 1px solid var(--cinza-medio); */
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.06);
    /* font-weight: 700; */
    font-size: 1em;
}

label {
    font-size: 0.8em;
}

.bloco {
    display: block;
}

.bloco-centro {
    margin: 0 auto;
}

.texto-centro {
    text-align: center;
}

.texto-direita {
    text-align: right;
}

.tela-centro {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 50px));
}

.erro {
    background: var(--rosa-claro);
    color: var(--vermelho-escuro);
    padding: 10px;
    margin: 10px;
}

.btn-mini,
::-webkit-file-upload-button {
    font-size: 12px;
    padding: 5px 15px;
}

fieldset {
    margin: 0 20px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    border-radius: 20px;
}

fieldset legend {
    /* background-color: var(--cinza-medio); */
    color: var(--cinza-medio);
    font-size: 11px;
    padding: 5px 8px;
    border-radius: 8px;
}

.edit_field {
    padding: 0;
    background: #ffffff66;
}


.edit_field input[type='text'] {
    width: 100%;
    height: 100%;
    margin: 0;
    border: none;
    padding: 0 10px 5px 10px;
    font-size: 18px;
}




.controlEdit {
    width: calc(100% - 40px);
    position: relative;
    /* border: 1px solid red; */
    left: 20px;
    top: 23px;
    text-align: right;
}

.editHabilitado {
    min-height: 30px;
    background-color: white;
    padding: 5px;
    font-weight: 800;
    color: var(--preto) !important;
}

.editHabilitado:focus {
    outline: none;
}


.btn-ia {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    /* Gradiente de IA */
    border: none;
    border-radius: 25px;
    /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;

    display: none;
    margin-top: 20px;
}

.btn-ia:hover {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    /* Inversão do gradiente ao passar o mouse */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    /* Elevação no hover */
    border: none;
    color: #fff;
}

.btn-ia:active {
    transform: translateY(1px);
    /* Simulação de clique */
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-ia::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(#4388ff, #6a11cb);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: scale(0);
    /* z-index: 1; */
    border: none;
}

.btn-ia:hover::before {
    opacity: 1;
    transform: scale(1.5);
    /* Animação de brilho */
    border: none;
}

.btn-ia span {
    position: relative;
    /* z-index: 2; */
}


.noflex {
    display: block !important;
}

textarea {
    background: rgba(0, 0, 0, 0.06);
    border: none;
    padding: 10px 20px;
    width: 100%;
    border-radius: 20px;
}





/* Sobreposição para o carregamento */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Fundo escuro com transparência */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    /* Sempre acima de outros elementos */
    color: white;
    font-size: 14px;
    text-align: center;
    display: none;
    /* Inicialmente escondido */

    div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Animação de carregamento */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mensagem de conclusão */
.completed-message {
    font-size: 16px;
    color: #4cf3f9;
}