/* reset css */
* {
    margin: 0;
    padding: 0;
}

html {
    background: transparent !important;
}

body {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    background-color: #240342;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;
    -webkit-text-fill-color: #858585 !important;
    /* Mantém o texto visível */
    transition: background-color 5000s ease-in-out 0s;
    /* Evita que o fundo seja alterado */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Rajdhani", sans-serif;
    font-weight: 500;
}

/* fonts styles */
.main_title_size {
    font-size: 60px !important;
}

.main_tittle_color {
    background: linear-gradient(to bottom right, #ffffff, #c990ff) !important;
    background-clip: text;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent;
}

.sub_title {
    font-size: 22px !important;
    color: #e4c6ff;
}

/* placeholder styles */
.placeholder_wrapper {
    max-width: fit-content;
    background: #fff;
    color: #000;
    display: flex !important;
    flex-direction: row;
    font-size: clamp(1.5rem, 1.2143rem + 0.5952vw, 1.75rem) !important;
    justify-content: end;
    align-items: center !important;
    border-radius: 120px 120px 120px 120px;
    font-family: "Rajdhani", sans-serif;
}

.placeholder_wrapper input::placeholder {
    background: none !important;
    color: #000;
}

.placeholder_wrapper input::placeholder {
    color: #858585;
}

.placeholder_wrapper input:focus,
.placeholder_wrapper select:focus {
    outline: none;
    background: none !important;
}

/* acessibilidade - focus visível */
.placeholder_wrapper input:focus-visible,
.placeholder_wrapper select:focus-visible,
.btn_color_primary:focus-visible,
.termos-checkbox:focus-visible,
.term-lb a:focus-visible {
    outline: 2px solid #c990ff;
    outline-offset: 2px;
}

.placeholder_wrapper input:focus-visible,
.placeholder_wrapper select:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px #240342, 0 0 0 4px #c990ff;
}

#step_two_form .placeholder_wrapper {
    max-width: 400px;
    width: 400px;
    justify-content: start;
    font-size: 20px !important;
}

/* button styles */
.btn_color_primary {
    font-family: "Rajdhani", sans-serif;
    color: #fff !important;
    border: none !important;
    background: linear-gradient(to bottom right,
            rgba(254, 0, 254, 1),
            rgba(124, 3, 142, 1));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 48px;
}

.btn_color_primary:hover {
    font-family: "Rajdhani", sans-serif;
    color: #fff !important;
    border: none !important;
    background: linear-gradient(to bottom right,
            rgba(124, 0, 254, 1),
            rgba(254, 3, 142, 1));
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(124, 3, 142, 0.4);
}

.btn_color_primary:active {
    transform: translateY(0);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #000 !important;
}

input#username{
    background: none;
}

.btn span {
    font-size: 16px;
}

/* helper style */
.helper_text strong {
    font-weight: 600;
    color: #ff9f43;
}

img.new-ico {
    height: 25px;
}

.helper_text {
    margin-top: 0 !important;
    font-size: 16px !important;
    text-align: center !important;
    display: inline-block;
}

/* step two form spacing */
.step-two-fields {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.logo-wrapper {
    margin-bottom: 0.5rem;
}

/* termos wrapper */
.termos-wrapper {
    flex-wrap: wrap;
}

.termos-checkbox {
    width: 20px;
    height: 20px;
    min-width: 20px;
    cursor: pointer;
    accent-color: #7C038E;
}

.term-lb {
    cursor: pointer;
    font-size: 14px;
}

.term-lb a {
    color: #c990ff;
    text-decoration: underline;
}

.term-lb a:hover {
    color: #e4c6ff;
}

#step_two_form #term-lb {
    color: #fff;
}

#helper_text_default {
    margin-left: -5rem !important;
}

#helper_text_close {
    color: #FF0C37 !important;
}

#helper_text_okay {
    color: #4BFF0C !important;
}

.hidden {
    display: none !important;
}

.grecaptcha-badge{visibility:hidden !important;}

@media screen and (max-width:760px) {
    main {
        margin-top: 30px !important;
        overflow: hidden !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .logo-wrapper {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    #btn_icon {
        display: none;
    }

    .btn span {
        font-size: 20px;
    }

    .main_title_size {
        padding: 1rem !important;
        line-height: 46px !important;
        font-size: 44px !important;
        text-align: center;
    }

    .sub_title {
        padding-left: 1rem !important;
        font-size: 18px !important;
        color: #fff;
        text-align: center;
        padding: 0 5%;
    }

    .placeholder_wrapper {
        max-width: fit-content !important;
        min-width: 520px !important;
        background: #fff;
        transform: scale(.6);
        font-size: 20px;
        margin-inline: auto !important;
    }

    /* step_two_form mobile */
    #step_two_form {
        width: 100%;
        padding: 0 1rem;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    #step_two_form section {
        max-width: 100% !important;
        width: 100%;
        margin: 0 auto;
        padding: 0;
    }

    #step_two_form .placeholder_wrapper {
        min-width: unset !important;
        max-width: 100% !important;
        width: 100% !important;
        transform: none;
        margin: 0.5rem 0 !important;
        padding: 0.75rem 1rem !important;
        font-size: 16px !important;
    }

    #step_two_form .placeholder_wrapper input,
    #step_two_form .placeholder_wrapper select {
        font-size: 16px !important;
    }

    #step_two_form #btnConcluir {
        margin-top: 0.5rem;
        padding: 0.875rem 1rem;
    }

    .termos-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0 !important;
    }

    #step_two_form #term-lb,
    .term-lb {
        font-size: 13px;
        padding: 0.25rem 0;
        text-align: center;
    }

    .termos-checkbox {
        margin: 0;
    }

    .btn_color_primary {
        max-width: 320px !important;
    }

    .helper_text {
        font-size: 12px !important;
    }

    #helper_text_default {
        margin-left: 0 !important;
    }
}

@media screen and (min-width:765px) {
    main {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
        max-width: 720px;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #main_title,
    #main_subtitle {
        text-align: center;
    }
}

svg.loader {
    animation: loader 2s linear .2s infinite;
}

@keyframes loader {
    to {
        transform: rotate(360deg);
    }

    from {
        transform: rotate(0deg);
    }
}