﻿.authPage {
    width: 100%;
}
  
    .authPage .authShell {
        min-height: calc(100vh - 700px);
        display: grid !important;
        place-items: center !important;
        padding: 18px !important;
        margin: 0 !important;
    }

    .authPage .authCard {
        width: 100%;
    margin: 0 auto !important;
        background: var(--card);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
        padding: 18px 18px 16px;
        /* evita “esticar” por alguma regra de flex do bootstrap */
        display: block !important;
    }

    .authPage .authBrand {
        display: grid;
        place-items: center;
        padding: 8px 0 4px;
    }

    .authPage .authLogo {
        max-height: 160px;
        width: auto;
        max-width: 100%;
        display: block;
    }

    .authPage .authTitle {
        margin-top: 6px;
        text-align: center;
    }

        .authPage .authTitle h1 {
            margin: 0;
            font-size: 18px;
            font-weight: 900;
            letter-spacing: .2px;
        }

        .authPage .authTitle p {
            margin: 6px auto 0;
            max-width: 42ch;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.35;
        }

    .authPage .authAlert {
        margin-top: 12px;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid rgba(225,38,28,.25);
        background: rgba(225,38,28,.08);
        color: #7f1d1d;
        font-weight: 700;
        font-size: 13px;
    }

    .authPage .authForm {
        margin-top: 14px;
        display: grid;
        gap: 12px;
    }

    .authPage .field {
        display: grid;
        gap: 6px;
    }

        .authPage .field span {
            font-size: 12px;
            font-weight: 800;
            color: var(--muted);
        }

        .authPage .field input {
            width: 100%;
            border: 1px solid var(--line);
            background: #fff;
            border-radius: 14px;
            padding: 12px 12px;
            font-size: 14px;
            font-weight: 800;
            outline: none;
            transition: border-color .15s ease, box-shadow .15s ease;
        }

            .authPage .field input:focus {
                border-color: rgba(0,94,168,.55);
                box-shadow: 0 0 0 4px rgba(0,94,168,.12);
            }


    .authPage .authBtn {
        width: 100%;
        border: 1px solid var(--accent);
        background: var(--accent);
        color: #fff;
        border-radius: 14px;
        padding: 12px 14px;
        font-weight: 900;
        font-size: 14px;
        cursor: pointer;
        box-shadow: 0 8px 18px rgba(0,0,0,.10);
    }

    .authPage .authFootnote {
        text-align: center;
        color: var(--muted);
        font-size: 12px;
    }
html, body {
    overflow-x: hidden;
}

.authPage
.authShell,
.authCard {
    max-width: 100%;
}

/* limite para desktop */
@media (min-width: 600px) {
    .authCard {
        max-width: 520px;
    }

    .authPage .authLogo {
        max-height: 85px; /* aqui controla o “gigante” */
    }
}

@media (max-width: 576px) {
    
    .authPage {
        padding: 14px 10px;
    }

    .authCard {
        width: 100%;
        max-width: 360px; 
        padding: 14px 14px 12px;
        border-radius: 16px;
    }
  
    .authPage .authLogo {
        max-height: 110px; /* aqui controla o “gigante” */
    }

    .authPage .authBrand {
        padding: 6px 0 2px; 
    }

    .authTitle h1 {
        font-size: 16px;
    }

    .authTitle p {
        font-size: 12px;
        max-width: 38ch;
    }

    .field input {
        padding: 11px 12px;
        font-size: 13px;
        border-radius: 13px;
    }

    .authBtn {
        padding: 11px 12px;
        font-size: 13px;
        border-radius: 13px;
    }
}
.returnBtn{
    width: 100%;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: #fff;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 900;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0,0,0,.10);
    text-decoration:none;
    margin-top:1em
}