*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.auth-body {
    height: 100vh;
    height: 100dvh;
    font-family: var(--font-sans);
    color: #f7fbf7;
    background: #07120e;
    overflow: hidden;
}

.auth-shell {
    height: 100%;
    width: 100%;
}

.auth-page {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
    gap: clamp(20px, 5vw, 72px);
    align-items: center;
    padding: clamp(20px, 4vw, 56px);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.auth-parallax {
    position: fixed;
    inset: -8vh 0;
    z-index: -3;
    overflow: hidden;
}

.auth-parallax__image {
    position: absolute;
    inset: -10vh -4vw;
    background: url("../imagens/agricultura-familiar-parallax.png") center / cover no-repeat;
    filter: blur(2px) saturate(.96) contrast(.92);
    transform: translate3d(0, 0, 0) scale(1.04);
    animation: authDrift 22s ease-in-out infinite alternate;
}

.auth-parallax__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 28 28'%3E%3Ccircle cx='2' cy='2' r='.8' fill='%23ffffff' fill-opacity='.14'/%3E%3Cpath d='M0 14H28' stroke='%23ffffff' stroke-opacity='.04' stroke-width='.6'/%3E%3C/svg%3E");
    background-size: 28px 28px;
    mix-blend-mode: soft-light;
    opacity: .34;
}

.auth-copy {
    max-width: 620px;
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-brand--hero {
    margin-bottom: 24px;
}

.auth-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #f4f8ed;
    color: #164433;
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 18px 36px rgba(0, 0, 0, .22);
}

.auth-brand strong,
.auth-brand small {
    display: block;
}

.auth-brand strong {
    font-size: 15px;
    letter-spacing: .02em;
}

.auth-brand small {
    color: rgba(247, 251, 247, .72);
    font-size: 12px;
}

.auth-copy h1 {
    max-width: 11ch;
    font-family: var(--font-title);
    font-size: clamp(34px, 5.4vw, 68px);
    line-height: .95;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: 0 22px 60px rgba(0, 0, 0, .36);
}

.auth-copy p {
    max-width: 430px;
    margin-top: 14px;
    color: rgba(247, 251, 247, .82);
    font-size: 16px;
    line-height: 1.55;
}

.auth-panel {
    width: 100%;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--space-1);
    background: rgba(251, 253, 248, .72);
    color: #10251d;
    box-shadow: 0 30px 90px rgba(4, 20, 16, .38);
    -webkit-backdrop-filter: blur(22px) saturate(1.12);
    backdrop-filter: blur(22px) saturate(1.12);
}

.auth-panel .panel-title {
    margin-bottom: 22px;
}

.auth-panel .form-stack {
    gap: 18px;
}

.auth-panel .form-control {
    min-height: 46px;
    background: rgba(255, 255, 255, .78);
}

.form-control{
    border-radius: var(--space-1);
}

.auth-panel .form-action {
    justify-content: center;
    min-height: 44px;
    width: 100%;
}

.auth-panel .flash-card {
    background: rgba(255, 255, 255, .66);
}

@keyframes authDrift {
    from {
        transform: translate3d(-1.5vw, -1vh, 0) scale(1.06);
    }

    to {
        transform: translate3d(1.5vw, 1vh, 0) scale(1.1);
    }
}

@media (max-width: 860px) {
    body.auth-body {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
        overflow-y: auto;
    }

    .auth-shell {
        height: auto;
        min-height: 100%;
    }

    .auth-page {
        height: auto;
        min-height: 100%;
        grid-template-columns: 1fr;
        align-items: center;
        justify-items: center;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .auth-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .auth-brand--hero {
        margin-bottom: 12px;
    }

    .auth-copy h1 {
        max-width: 12ch;
        font-size: clamp(30px, 9vw, 48px);
    }

    .auth-copy p {
        max-width: 380px;
    }

    .auth-panel {
        padding: 22px;
    }
}
.borda-gaucha {
  display: inline-block; /* Necessário para ajustar bem a borda ao redor do texto */
  padding-bottom: 4px; /* Dá um respiro entre a palavra e a borda */
  font-weight: bold; /* Opcional: deixa o texto mais destacado */

  /* Configuração da borda inferior */
  border-bottom: 2px solid #009b3a;
  box-shadow: 0 2px 0 #ffdf00, 0 4px 0 #ed1c24;
}
