/* Estilos isolados para o login. O dashboard continua usando somente app.css. */
body.public-shell.login-screen {
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle at 97% 6%, #91c6b0 0, #4a987b 30%, #0c6448 65%, #005338 100%);
    color: #06283b;
    display: block;
}
body.public-shell.login-screen .public-main {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    padding: 10px clamp(10px, 5vw, 80px);
    margin: 0;
    display: grid;
    place-items: center;
    box-sizing: border-box;
}
.gm-login, .gm-login *, .gm-login *::before, .gm-login *::after { box-sizing: border-box; }
.gm-login {
    width: min(100%, 1468px);
    min-height: min(914px, calc(100vh - 20px));
    display: grid;
    grid-template-columns: 55% 45%;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(1, 41, 30, .1);
    background: #fff;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.gm-login__aside {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #fff;
    padding: 40px clamp(34px, 3vw, 52px) 65px;
    background: radial-gradient(ellipse at 89% 73%, rgba(38,125,95,.72), transparent 59%),
                linear-gradient(150deg, #001e17 0%, #001f18 55%, #032c22 100%);
}
.gm-login__aside-top { display: flex; justify-content: center; }
.gm-brand { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; }
.gm-brand--plate { min-height: 70px; padding: 10px 18px; background: transparent; border-radius: 9px; color: #fff; }
.gm-brand__symbol {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    width: 130px;
    height: 62px;
    border-radius: 10px;
    /* background: #008a59; */
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -2px;
}
.gm-brand__text { display: flex; flex-direction: column; white-space: nowrap; }
.gm-brand__name { display: block; font-size: 24px; font-weight: 850; line-height: 1; letter-spacing: -.8px; }
.gm-brand__name strong { display: inline; color: #00bd76; font-weight: 900; }
.gm-brand__text > small { margin-top: 5px; font-size: 8px; letter-spacing: .9px; font-weight: 750; }
.gm-login__intro { margin-top: clamp(56px, 8vh, 80px); }
.gm-login__intro h1 { margin: 0; color: #fff; font-size: clamp(35px, 3vw, 46px); line-height: 1.09; font-weight: 820; letter-spacing: -1.8px; }
.gm-login__intro h1 span { color: #00c87c; }
.gm-login__intro > p { max-width: 440px; margin: 21px 0 0; font-size: 15px; line-height: 1.75; color: #d6e7df; }
.gm-login__tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.gm-login__tags span { border: 1px solid rgba(255,255,255,.05); border-radius: 7px; background: rgba(255,255,255,.065); padding: 12px 15px; font-size: 11px; font-weight: 700; }
.gm-login__benefits { list-style: none; display: grid; gap: 25px; padding: 0; margin: 42px 0 0; }
.gm-login__benefits li { display: flex; gap: 20px; align-items: center; }
.gm-login__benefits svg { width: 30px; height: 30px; flex: 0 0 30px; color: #00cb83; }
.gm-login__benefits strong { display: block; font-size: 12px; color: #fff; line-height: 1.5; }
.gm-login__benefits small { display: block; margin-top: 3px; color: #c2d5cc; font-size: 11px; line-height: 1.55; }
.gm-login__aside-foot { margin-top: auto; padding-top: 38px; }
.gm-login__accent-line { display: block; height: 3px; width: 34px; background: #00c87c; border-radius: 4px; }
.gm-login__aside-foot p { margin: 14px 0 0; color: #e5efe9; font-size: 12px; line-height: 1.7; }
.gm-login__content { min-width: 0; display: grid; place-items: center; padding: 55px clamp(26px, 4vw, 64px); background: #fff; }
.gm-login__form-box { width: 100%; max-width: 532px; }
.gm-brand--main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; margin: 0 auto 36px; color: #08283a; text-align: center; }
.gm-brand--main .gm-brand__logo { display: block; width: 220px; max-width: 100%; height: auto; object-fit: contain; }
.gm-brand--main .gm-brand__text { align-items: center; }
.gm-brand--main .gm-brand__name { font-size: 34px; }
.gm-brand--main .gm-brand__text > small { font-size: 10px; letter-spacing: 1.2px; }
.gm-login__welcome { text-align: center; margin-bottom: 39px; }
.gm-login__welcome h2 { margin: 0; color: #05293f; font-size: 27px; font-weight: 800; line-height: 1.25; letter-spacing: -.8px; }
.gm-login__welcome p { margin: 7px 0 0; color: #617895; font-size: 13px; line-height: 1.6; }
.gm-login__alert { padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; font-size: 13px; line-height: 1.5; }
.gm-login__alert--error { background: #fff0f0; border: 1px solid #ffc8c8; color: #a3212e; }
.gm-login__alert--success { background: #eefaf2; border: 1px solid #b8e7c6; color: #196642; }
.gm-login__form { display: flex; flex-direction: column; gap: 22px; }
.gm-login__field > label { display: block; font-size: 12px; color: #11334c; margin-bottom: 8px; font-weight: 650; }
.gm-login__input-wrap { display: flex; align-items: center; gap: 11px; height: 49px; border: 1px solid #d7e1ed; border-radius: 7px; padding: 0 13px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.gm-login__input-wrap:focus-within { border-color: #00845c; box-shadow: 0 0 0 3px rgba(0, 132, 92, .13); }
.gm-login__input-wrap > svg { flex: 0 0 18px; width: 18px; height: 18px; color: #637d9b; }
.gm-login__input-wrap input { flex: 1; min-width: 0; width: 100%; height: 100%; outline: none; border: none; background: transparent; color: #0d283a; font-size: 13px; font-family: inherit; box-shadow: none; padding: 0; margin: 0; }
.gm-login__input-wrap input::placeholder { color: #9ba8b6; }
.gm-login__password-toggle { flex: 0 0 auto; display: grid; place-items: center; padding: 5px; margin: 0 -3px 0 0; border: 0; background: transparent; border-radius: 5px; color: #637d9b; cursor: pointer; }
.gm-login__password-toggle:hover { color: #007b55; }
.gm-login__password-toggle:focus-visible { outline: 2px solid #00845c; outline-offset: 2px; }
.gm-login__password-toggle svg { width: 19px; height: 19px; }
.gm-login__remember { display: inline-flex; gap: 9px; align-items: center; align-self: flex-start; color: #243e54; font-size: 11px; cursor: pointer; margin: -6px 0 0; }
.gm-login__remember input { width: 15px; height: 15px; margin: 0; accent-color: #007c54; cursor: pointer; }
.gm-login__submit { display: flex; justify-content: center; align-items: center; gap: 22px; width: 100%; min-height: 55px; color: #fff; background: #007f56; border: none; border-radius: 5px; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.gm-login__submit:hover { background: #006f49; }
.gm-login__submit:active { transform: translateY(1px); }
.gm-login__submit:focus-visible { outline: 3px solid #00bb81; outline-offset: 3px; }
.gm-login__submit span { font-size: 22px; font-weight: 400; line-height: 1; }
.gm-login__smallprint { text-align: center; margin: 19px 0 0; color: #8092a8; font-size: 10px; line-height: 1.6; }
@media (max-width: 950px) {
    .gm-login { grid-template-columns: 45% 55%; }
    .gm-login__aside { padding: 30px 25px 35px; }
    .gm-login__intro h1 { font-size: 33px; }
    .gm-login__content { padding: 42px 26px; }
    .gm-brand--main .gm-brand__name { font-size: 27px; }
    .gm-brand--main .gm-brand__logo { width: 180px; }
}
@media (max-width: 700px) {
    body.public-shell.login-screen .public-main { padding: 0; }
    .gm-login { grid-template-columns: 1fr; min-height: 100vh; border-radius: 0; }
    .gm-login__aside { padding: 20px 20px 16px; }
    .gm-login__aside-top { justify-content: center; }
    .gm-brand--plate { min-height: 54px; padding: 7px 13px; }
    .gm-brand--plate .gm-brand__symbol { width: 33px; height: 33px; font-size: 22px; }
    .gm-brand--plate .gm-brand__name { font-size: 20px; }
    .gm-brand--plate .gm-brand__text > small { font-size: 6px; }
    .gm-login__intro, .gm-login__aside-foot { display: none; }
    .gm-login__content { padding: 42px 23px 60px; place-items: start center; }
    .gm-login__form-box { max-width: 480px; }
    .gm-brand--main { margin-bottom: 27px; }
    .gm-login__welcome { margin-bottom: 30px; }
    .gm-login__welcome h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { .gm-login__submit, .gm-login__input-wrap { transition: none; } }
