/* ==========================================================================
   G21 — Telas não autenticadas (layout split-screen)
   Painel de marca (laranja) + painel de formulário (branco).
   ========================================================================== */

body {
    margin: 0;
    min-height: 100svh;
    background: #ffffff;
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.auth {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    min-height: 100svh;
}

/* ===== Painel de marca (esquerda) ====================================== */
.auth__brand {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 52px;
    background: radial-gradient(130% 130% at 82% 12%, #ff8a3d 0%, #f06400 46%, #b94c00 100%);
    color: #fff;
}

.auth__brand::after {
    content: "";
    position: absolute;
    right: -130px;
    bottom: -130px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.auth__brand::before {
    content: "";
    position: absolute;
    left: -90px;
    top: -90px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.auth__logo {
    position: relative;
    z-index: 1;
    display: inline-block;
}

.auth__logo img {
    width: 132px;
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .18));
}

.auth__tagline {
    position: relative;
    z-index: 1;
    max-width: 440px;
}

.auth__tagline h2 {
    color: #fff;
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin: 0 0 12px;
}

.auth__tagline p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .92);
}

.auth__foot {
    position: relative;
    z-index: 1;
    font-size: .85rem;
    color: rgba(255, 255, 255, .8);
}

/* ===== Painel de formulário (direita) ================================== */
.auth__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.auth__card {
    width: 100%;
    max-width: 384px;
}

.auth__card h3 {
    font-weight: 800;
    letter-spacing: -.02em;
    color: #1d2433;
}

.auth__card label {
    font-weight: 600;
    font-size: .85rem;
    color: #454c5a;
    margin-bottom: .3rem;
}

.auth__card .form-control {
    border: 1px solid #e0e3ea;
    border-radius: 12px;
    padding: .7rem .9rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.auth__card .form-control:focus {
    outline: 0 !important;
    border-color: #f06400 !important;
    box-shadow: 0 0 0 3px rgba(240, 100, 0, .16) !important;
}

.auth__card .form-control:disabled {
    background: #f6f7f9;
}

/* Mantém o visual "colado" dentro de input-group */
.auth__card .input-group .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* ===== Botão principal ================================================= */
.btn-gradient {
    color: #fff;
    background: linear-gradient(120deg, #ff8a3d, #f06400);
    border: none;
    border-radius: 100px;
    padding: .8rem 1rem;
    font-weight: 700;
    width: 100%;
    box-shadow: 0 8px 20px -6px rgba(240, 100, 0, .55);
    transition: filter .15s ease, transform .05s ease;
}

.btn-gradient:hover {
    filter: brightness(1.05);
    color: #fff;
}

.btn-gradient:active {
    transform: translateY(1px);
}

.py-3_5 {
    padding: .75rem 3.5rem;
}

/* ===== Mobile: empilha; marca vira faixa no topo ====================== */
@media (max-width: 860px) {
    .auth {
        grid-template-columns: 1fr;
    }

    .auth__brand {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        padding: 22px 24px;
    }

    .auth__brand::after,
    .auth__brand::before {
        display: none;
    }

    .auth__logo img {
        width: 70px;
    }

    .auth__tagline,
    .auth__foot {
        display: none;
    }

    .auth__panel {
        padding: 32px 20px;
    }
}
