@import "form.css";

main {
    background: linear-gradient(45deg, #54fce3, #3f3ff9, #1a0e38);
    /*background: linear-gradient(to top, #54fce3, #3f3ff9, #1a0e38);*/
}

form {
    margin: 0 2rem;
    box-shadow: none;
    background: transparent;
}

.campos > .campo.required > .rotulo label::after, .campos > .campo.required > .controle label::after {
    color: #f2f2f2;
}

.campos > .campo > .rotulo label, .campos > .campo > .controle label {
    color: #f2f2f2;
}

.botoes {
    justify-content: space-between;
    margin: 0;
}

.campos {
    margin: 2rem 0;
}

.botoes > button, .botoes > a.button {
    flex: 0 1 calc(50% - 0.25rem);
    margin: 0;
}

.botoes > a.button.link {
    flex: 1 1 100%;
}

#b-esqueci {
    margin-top: 1.5rem;
    flex: 1 1 auto;
}

#mensagem {
    color: #f2f2f2;
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
}

header {
    display: none;
}

p {
    margin: 1rem 0;
}

h1, p {
    text-align: center;
}

@media (min-width: 768px) {
    body.menu-docado #alerta {
        left: 50%;
    }
}

.botoes > button, .botoes > a.button {
    flex: 1 1 auto;
    border-radius: 10px;
}

.logo {
    display: block;
    height: 12rem;
    background: url("../../core/templates/gaidodev/img/logo-oposto.svg") no-repeat center;
    background-size: contain;
}

@media (min-width: 1024px) {
    .logo {
        height: 15rem;
    }
}
.botoes button.primario, .botoes a.button.primario, .butbot.primario {
    background: var(--turquesa);
    color: var(--azul-profundo);
}

.botoes button.primario:hover, .botoes a.button.primario:hover, .butbot.primario:hover {
    background: var(--turquesa);
    color: var(--azul);

}

.botoes > a.button.link {
    color: #f2f2f2;
    border: none;
}

.botoes button.link:hover, .botoes a.button.link:hover {
    border: none;
    color: var(--azul-turquesa);
}

button:focus, a.button:focus {
    box-shadow: none;
}

div.campo {
    width: 100%;
    margin: 15px 0;
    position: relative;
}

div.campo label {
    font-size: 14px;
    position: absolute;
    left: 0;
    bottom: 5px;
    color: #f2f2f2;
    cursor: text;
    padding: 42px 0px;
}

div.campo .input {
    background: transparent;
    width: 100%;
    padding: 5px;
    color: white;
    border: 0;
    border-bottom: 2px solid #f2f2f2;
    outline: 0;
    font-size: 16px;
}

div.campo .input:focus,
div.campo .input:valid {
    background: transparent;
    border-bottom: 2px solid #f2f2f2;
}

/*descomentar esse código como solução emergencial em caso
de incompatibilidade em versões futuras do browser*/
/*input:-webkit-autofill,*/
/*input:-webkit-autofill:hover,*/
/*input:-webkit-autofill:focus,*/
/*input:-webkit-autofill:active{*/
/*    -webkit-box-shadow: 0 0 0 30px rgba(63,63,249,0.85) inset ;*/
/*    -webkit-text-fill-color: #f2f2f2 !important;*/
/*}*/

/*as configurações abaixo são para deixar os inputs transparentes para preservar o gradiente
caso isso pare de funcionar em futuras versões do browser, pode-se descomentar o código acima*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
.campos > .campo input:valid,
.campos > .campo input:invalid {
    /*-webkit-transition: "color 9999s ease-out, background-color 9999s ease-out";*/
    -webkit-transition-delay: 9999s;
}

.campos > .campo > .mensagem {
    font-style: italic;
    color: #f2f2f2;
    font-size: 0.8rem;
    text-align: left;
}

input:not([type=radio]):not([type=checkbox]):not([type=range]), textarea {
    border-radius: 0;
}