@import url('./styles.css');
@import url('./header.css');
@import url('./footer.css');
@import url('./dark-mode.css');

.wb-tabs {
    position: relative;
}

.icheck.checked {
    background-color: #737f54;
}

.icheck input[type=checkbox] {
    visibility: initial;
    max-width: 1px;
    max-height: 1px;
    opacity: 0;
    bottom: 0;
    right: 0;
}

.form-control[type=text],
.form-control[type=password] {
    background-color: #FFF;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #fff0;
    border-color: #0000001a;
}

#content-wrapper {
    display: grid;
    grid-template-columns: 0% 100%;
    min-height: 1010px;
}

#forms-area {
    position: relative;
    overflow: hidden;
}

.form-control {
    border-color: #999;
}

a.form-tab {
    color: #737f54;
}

a.form-tab.active {
    color: #f09600;
}

a.form-tab:hover,
a.form-tab:focus {
    color: #e8bf1f
}

/* #form-login {
            animation: 120ms loginOut;
            animation-fill-mode: forwards;
            display: none;
        } */



#form-cadastro {
    animation: 120ms cadastroOut;
    animation-fill-mode: forwards;
    display: none;
}

#form-login.selected {
    animation: 120ms loginIn;
    animation-fill-mode: forwards;
    display: block;
}

#form-cadastro.selected {
    animation: 120ms cadastroIn;
    animation-fill-mode: forwards;
    display: block;
}

@keyframes loginIn {
    from {
        opacity: 0;
        transform: translateX(-64px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes loginOut {
    from {
        opacity: 1;
        transform: translateX(0px);
    }

    to {
        opacity: 0;
        transform: translateX(-64px);
    }
}

@keyframes cadastroIn {
    from {
        opacity: 0;
        transform: translateX(64px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

@keyframes cadastroOut {
    from {
        opacity: 1;
        transform: translateX(0px);
    }

    to {
        opacity: 0;
        transform: translateX(64px);
    }
}


@media (min-width: 576px) and (max-width: 767px) {
    #content-wrapper {
        padding: 0px 90px;
    }
}

@media (min-width: 768px) {
    #content-wrapper {
        grid-template-columns: 40% 60%;
    }
}

@media (min-width: 992px) {
    #content-wrapper {
        grid-template-columns: 50% 50%;
    }
}

@media (min-width: 1200px) {
    #content-wrapper {
        grid-template-columns: 60% 40%;
    }
}

.s-hero-login {
    background-color: var(--orange);
    padding-block: 22.3rem 8rem;
    position: relative;

    @media (max-width: 1023px) {
        padding-block: 12rem 4rem;
    }
}

.s-hero-login::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: white;
    width: 100%;
    height: 16.1rem;
}

.s-hero-login .container .area-form {
    width: 100%;
    max-width: 82.7rem;
    margin: 0 auto;
    position: relative;
}

.s-hero-login .container .area-form p.text-error {
    text-align: center;
    font-size: 1.6rem;
    color: var(--orange);
    margin-block: 20px;
    font-weight: 600;
}

.s-hero-login .container .area-form #content-form-login {
    width: 100%;
    max-width: 56rem;
    background-color: var(--black);
    margin: 0 auto;
    border-radius: 3.2rem;
    padding: 4rem;
    position: relative;
    z-index: 2;

    @media (max-width: 1023px) {
        padding: 2rem;
    }
}

.s-hero-login .container .area-form .top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4rem;
    margin-bottom: 2.4rem;

    @media (max-width: 767px) {
        flex-direction: column;
        align-items: center;
        gap: 2.4rem;
    }
}

.s-hero-login .container .area-form fieldset label {
    color: white;
    margin-bottom: 0;
    cursor: pointer;
}

.s-hero-login .container .area-form fieldset .item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.s-hero-login .container .area-form form .group label,
.s-hero-login .container .area-form form .group input {
    display: block;
}

.s-hero-login .container .area-form form .group label {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
}

.s-hero-login .container .area-form form .group.login {
    margin-bottom: 2.4rem;
}

.s-hero-login .container .area-form form .group input {
    width: 100%;
    padding: 1.1rem 1.6rem;
    border-radius: 2.4rem;
    background-color: white;
    color: var(--Cinza-Escuro, #5B5B5B);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

.s-hero-login .container form .form-group {
    margin-block: 1.6rem;
}

.s-hero-login .container .area-form .form-group label {
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
}

.s-hero-login .container .area-form .form-group label a {
    color: white;
    text-decoration: underline;
}

.s-hero-login .container .area-form .form-group input {
    width: 100%;
    padding: 1.1rem 1.6rem;
    border-radius: 2.4rem;
    background-color: white;
    color: var(--Cinza-Escuro, #5B5B5B);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

.s-hero-login .container .area-form .form-group.check {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
}

.s-hero-login .container .area-form .form-group.check .icheck {
    width: 20px;
    height: 20px;
    background-color: transparent;
    border: 1px solid var(--orange);
    cursor: pointer;
}

.s-hero-login .container .area-form .form-group.check label {
    margin-bottom: 0;
}

.s-hero-login .container .area-form .form-group.check .icheck #inputCandidatoCheck {
    background-color: var(--orange);
}

.s-hero-login .container .area-form .form-group.check label {
    cursor: pointer;
}

.s-hero-login .container .area-form .form-group .icheck.checked {
    background-color: var(--orange);

}

.s-hero-login .container .area-form .btn-cadastrar {
    padding: 1rem 1.6rem;
    background-color: var(--orange);
    width: 100%;
    color: var(--Branco, #FFF);
    font-size: 20px;
    font-weight: 500;
    border-radius: 4.5rem;
    line-height: 140%;
    margin-top: 2rem;
    cursor: pointer;
    transition: all .3s ease;
}

.s-hero-login .container .area-form .btn-cadastrar:hover {
    background-color: var(--orange-01);
}

.s-hero-login .alert.alert-danger span {
    color: white;
}



.s-hero-login .container .area-form form .group a {
    color: var(--Branco, #FFF);
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
    text-align: center;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
    margin-top: 5px;
    margin-block: 1.6rem 4rem;
    display: table;
    margin-inline: auto;
}

.s-hero-login .container .area-form form input[type="submit"] {
    padding: 1rem 1.6rem;
    background-color: var(--orange);
    width: 100%;
    color: var(--Branco, #FFF);
    font-size: 20px;
    font-weight: 500;
    border-radius: 4.5rem;
    line-height: 140%;
    cursor: pointer;
    transition: all .3s ease;
}

.s-hero-login .container .area-form form input[type="submit"]:hover {
    background-color: var(--orange-01);
}

.s-hero-login .container .area-form .bottom {
    margin-top: 3.2rem;
    padding-top: 3.2rem;
    border-top: 1px solid white;
}

.s-hero-login .container .area-form .bottom p {
    color: var(--Branco, #FFF);
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    margin-bottom: 2.8rem;
}

.s-hero-login .container .area-form .bottom a {
    padding: 1rem 1.6rem;
    border-radius: 4.5rem;
    color: var(--orange);
    border: 1px solid var(--orange);
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    text-align: center;
    display: inline-block;
    transition: all .3s ease;
    width: 100%;
}

.s-hero-login .container .area-form .oauth-button {
    text-align: center;
    display: table;
    margin-inline: auto;
    color: white;
}

.s-hero-login .alert.alert-info {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.s-hero-login .container .area-form #locktime-message {
    color: white;
}

.s-hero-login .alert.alert-info button {
    height: 24px;
    display: flex !important;
    align-items: center;
    margin-bottom: 0 !important;
}

.s-hero-login .alert.alert-info span,
.s-hero-login .alert.alert-info button {
    color: white;
}

.s-hero-login .ou {
    color: white;
    text-align: center;
    font-size: 1.2rem;
    display: block;
    margin-block: 1rem;
}

.s-hero-login .container .area-form .bottom a:hover {
    background-color: var(--orange);
    color: white;
}

.s-hero-login .container .area-form img:nth-child(1) {
    position: absolute;
    right: 43px;
    top: -60px;
    z-index: 4;

    @media(max-width: 767px) {
        display: none;
    }
}

.s-hero-login .container .area-form img.frame-bottom {
    position: absolute;
    left: -40px;
    bottom: 0;

    @media(max-width: 767px) {
        display: none;
    }
}

.s-hero-login.redefinir {

    &::before {
        background-color: var(--orange);
    }

    .container {
        h1 {
            text-align: center;
            margin-bottom: 3.2rem;
            color: white;
        }

        .area-form {
            max-width: 50rem;

            form {
                .buttons {
                    margin-top: 2.4rem;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    gap: 1.6rem;
                }

                .form-group {
                    &:not(:last-child) {
                        margin-bottom: 1.6rem;
                    }
                }
            }
        }
    }
}

.s-empty {
    padding-bottom: 4rem;
}

body.dark-mode .s-hero-login {
    background-color: var(--black);
}

body.dark-mode .s-hero-login::before {
    background-color: var(--black);
}

body.dark-mode {
    .s-empty {
        background-color: var(--black);
    }
}

input[type="radio"] {
    appearance: none;
    background-color: white;
    /* Remove o estilo padrão do navegador */
    width: 2rem;
    height: 2rem;
    border: 1px solid orange;
    /* Define a borda laranja */
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    position: relative;
    cursor: pointer;
}

input[type="radio"]:checked,
input[type="radio"].active {
    background-color: orange;
}

input[type="radio"].active::before,
.s-hero-login .container .area-form .form-group .icheck.checked::before {
    content: "✔";
    font-size: 14px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

input[type="radio"]:checked::before {
    display: block;
}