﻿.page
{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main
{
    display: flex;
    flex: 1;
}

.panel__header
{
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.panel__title
{
    font-size: 36px;
    color: var(--color-enfase);
}

.main__left
{
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-image: linear-gradient(to right top, rgb(0, 25, 51), rgb(0, 31, 64), rgb(0, 38, 77), rgb(0, 45, 89));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.main__right
{
    width: 100%;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-base);
}

.footer
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 53px;
    padding: 16px 28px;
    border-top: 0.5rem solid;
    border-image: linear-gradient(to right, #F47C3C 25%, #54B948 25%, #54B948 50%, #FFC700 50%, #FFC700 75%, #00ADEF 75%) 1;
    background-color: var(--bg-base-2);
}

.footer__copy-right
{
    display: flex;
    color: hsla(0, 0%, 0%, 0.64);
}

.footer--text
{
    font-size: var(--font-size-medium);
}

.footer__links
{
    display: flex;
    gap: 24px;
    color: hsla(0, 0%, 0%, 0.96);
    cursor: pointer;
    text-decoration: underline;
}

.footer__dropup
{
    position: relative;
    display: inline-block;
}

.footer__dropup-toggle
{
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
}

.footer__dropup-content
{
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: hsl(0, 0%, 100%);
    min-width: 320px;
    max-width: 480px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px -3px 12px hsla(0, 0%, 0%, 0.25);
    z-index: 999;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.2s ease;
}

.footer__dropup--open .footer__dropup-content
{
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.footer__dropup-address
{
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-style: normal;
    color: hsl(0, 0%, 20%);
    line-height: 1.6;
}

/* =========================== RESPONSIVIDADE =========================== */
@media (max-width: 1024px)
{
    .main
    {
        flex-direction: column;
    }

    .main__left, .main__right
    {
        width: 100%;
    }

    .main__right
    {
        padding: 40px 30px;
    }
}

@media (max-width: 768px)
{
    .main__right
    {
        padding: 30px 20px;
    }

    .footer
    {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer__links, .footer__copy-right
    {
        align-items: center;
    }
}

@media (max-width: 480px)
{
    .main__right
    {
        padding: 20px 15px;
    }

    .footer__links
    {
        flex-direction: column;
        gap: 8px;
    }

    .footer__dropup-content
    {
        min-width: 90%;
    }
}

/* =========================== TABS =========================== */
.tabs
{
    display: flex;
    justify-content: flex-start;
    margin-bottom: 32px;
}

.tabs__tab
{
    padding: 4px 32px;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--font-size-medium);
    color: hsl(210, 10%, 40%);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.tabs__tab--active
{
    color: hsl(210, 90%, 35%);
    border-bottom: 3px solid hsl(210, 90%, 35%);
}

.tabs__tab a
{
    text-decoration: none;
    color: inherit;
}

.tabs__tab:hover
{
    background-color: #87878717;
    border-radius: 0.2rem 0.2rem 0 0;
}

/* =========================== FORMULÁRIOS =========================== */
.form
{
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.form__group
{
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.form__group--with-icon
{
    position: relative
}

    .form__group--with-icon i
    {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        color: hsl(210,10%,60%)
    }

.form__input
{
    width: 100%;
    padding: 12px 16px 12px 2.5rem;
    border: 1px solid hsl(210,10%,80%);
    border-radius: 8px;
    font-size: var(--font-size-medium);
    transition: border 0.3s,box-shadow 0.3s;
    background-color: hsl(0,0%,100%);
    color: hsl(210,10%,20%)
}

    .form__input:focus
    {
        border-color: hsl(210,90%,35%);
        outline: none;
        box-shadow: 0 0 0 3px hsla(210,90%,35%,0.15)
    }

.form__line
{
    display: flex;
    align-items: center;
    gap: 2rem
}
/* BOTÕES */

.btn
{
    width: 100%;
    text-align: center;
    font-size: var(--font-size-medium);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s
}

.btn--login
{
    background-color: hsl(210,30%,18%);
    padding: 16px;
    letter-spacing: 1px;
    color: hsl(0,0%,100%)
}

    .btn--login:hover
    {
        background: hsl(177,70%,42%)
    }

    .btn--login:disabled
    {
        background-color: hsla(0,0%,0%,0.6);
        cursor: not-allowed;
        color: hsl(0,0%,80%)
    }

.btn--govbr
{
    background-color: hsl(218,80%,38%);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-weight: bold;
    font-size: var(--font-size-medium);
    padding: 12px 20px;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s
}

    .btn--govbr:hover
    {
        background-color: hsl(218,80%,31%)
    }

    .btn--govbr:focus
    {
        outline: 2px solid hsl(218,80%,31%);
        outline-offset: 2px
    }

    .btn--govbr:active
    {
        background-color: hsl(218,80%,24%)
    }

.heading-sc
{
    text-align: center;
    font-weight: 600;
    font-size: var(--font-size-medium);
    color: hsl(220,9%,36%)
}

.default-wrap
{
    display: flex;
    flex-direction: column;
    gap: 5px
}

.icone
{
    margin-right: 10px
}
