/* Telas de acesso da Central (login, recuperar e redefinir senha) no mesmo vidro escuro do
   login do ERP (login-effects.css: .login-glass / .login-button). O fundo animado continua
   vindo do login-background.css. */
html { color-scheme: dark; }
body.smart-login-background { font-family: Arial, sans-serif; color: #fff; }

.lc-hero { max-width: 480px; }
.lc-hero img { display: block; width: 190px; height: 60px; object-fit: cover; border-radius: 8px; filter: drop-shadow(0 0 16px rgba(255,255,255,.18)); }
.lc-hero p { margin: 35px 0 0; color: #72d8b5; font-size: 11px; font-weight: 800; letter-spacing: .16em; }
.lc-hero h1 { margin: 8px 0; font-size: 43px; line-height: 1.08; }

/* Moldura de 1px com brilho prateado e cartão de vidro grafite. */
.lc-frame {
    width: min(410px, 100%);
    padding: 1px;
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(255,255,255,.16), rgba(255,255,255,.02) 40%, rgba(255,255,255,.08));
    box-shadow: 0 24px 70px -28px rgba(0,0,0,.8);
}
.lc-card {
    box-sizing: border-box;
    padding: clamp(22px, 3vh, 30px);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 17px;
    background: rgba(20,22,27,.6);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
    backdrop-filter: blur(18px) saturate(120%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    color: #f2f4fb;
    animation: lc-entrar .7s cubic-bezier(.16,1,.3,1);
}
@keyframes lc-entrar { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

.lc-titulo { display: flex; align-items: center; gap: 9px; margin: 0 0 6px; font-size: clamp(1.2rem, 3vw, 1.45rem); font-weight: 650; line-height: 1.2; }
.lc-titulo i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(20,154,114,.18); color: #82ddbf; font-size: 1rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.lc-texto { margin: 0 0 4px; color: rgba(238,243,247,.72); font-size: .82rem; line-height: 1.5; }

.lc-form { display: grid; gap: 14px; margin-top: 20px; }
.lc-form label { display: grid; gap: 6px; color: rgba(238,243,247,.86); font-size: .78rem; font-weight: 700; }

/* Campos: vidro escuro com brilho prateado no foco (mesmo do ERP). */
.lc-input {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: #f2f4fb;
    font: inherit;
    font-size: .95rem;
    transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.lc-input::placeholder { color: rgba(255,255,255,.35); }
.lc-input:focus {
    outline: 0;
    border-color: #e8ecf2;
    background: rgba(255,255,255,.07);
    box-shadow: 0 0 0 .2rem rgba(255,255,255,.12), 0 0 20px -6px rgba(255,255,255,.5);
    color: #fff;
}
/* Preenchimento automático do navegador: sem o fundo azul-claro dentro do cartão escuro. */
.lc-input:-webkit-autofill,
.lc-input:-webkit-autofill:hover,
.lc-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f2f4fb;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px #1c1f24 inset;
    transition: background-color 9999s ease-out 0s;
}

.lc-senha { display: flex; }
.lc-senha .lc-input { border-right: 0; border-radius: 10px 0 0 10px; }
.lc-olho {
    display: grid;
    flex: 0 0 46px;
    place-items: center;
    width: 46px;
    border: 1px solid rgba(255,255,255,.18);
    border-left: 0;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(145deg, rgba(92,99,108,.58), rgba(35,39,45,.72));
    color: #eef2f5;
    font-size: 1rem;
    cursor: pointer;
    transition: .2s ease;
}
.lc-olho:hover, .lc-olho:focus-visible { background: rgba(255,255,255,.16); color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.1); outline: 0; }

/* Botões em vidro, com o reflexo que atravessa no hover (login-button do ERP). */
.lc-botao {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 43px;
    padding: 10px 15px;
    border: 1px solid rgba(213,223,232,.25);
    border-radius: 13px;
    background: linear-gradient(145deg, rgba(75,82,90,.72), rgba(31,35,40,.68));
    color: #edf2f6;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14), inset 0 -1px 0 rgba(0,0,0,.24), 0 8px 20px rgba(0,0,0,.24);
    -webkit-backdrop-filter: blur(15px) saturate(140%);
    backdrop-filter: blur(15px) saturate(140%);
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.lc-botao::after { content: ""; position: absolute; z-index: -1; top: -90%; left: -28%; width: 48%; height: 260%; border-radius: 50%; background: rgba(255,255,255,.48); filter: blur(14px); opacity: .25; transform: rotate(20deg); transition: .35s ease; pointer-events: none; }
.lc-botao:hover { transform: translateY(-2px); border-color: rgba(235,242,247,.48); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 12px 26px rgba(0,0,0,.32); }
.lc-botao:hover::after { opacity: .62; transform: translateX(280%) rotate(20deg); }
.lc-botao:active { transform: translateY(0) scale(.985); }
.lc-botao:focus-visible { outline: 3px solid rgba(111,226,187,.25); outline-offset: 3px; }
.lc-botao-primario {
    min-height: 51px;
    margin-top: 4px;
    border-color: rgba(57,209,160,.48);
    background: linear-gradient(145deg, rgba(25,145,109,.94), rgba(9,78,61,.92));
    color: #fff;
    font-size: .86rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.23), 0 12px 30px rgba(5,83,61,.34);
}
.lc-botao-primario:hover { border-color: rgba(105,234,193,.72); background: linear-gradient(145deg, rgba(33,172,130,.98), rgba(10,96,73,.96)); box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 15px 34px rgba(4,94,67,.44), 0 0 0 4px rgba(62,205,161,.08); }
.lc-botao-icone { display: grid; place-items: center; width: 29px; height: 29px; margin-left: -4px; border-radius: 9px; background: rgba(255,255,255,.13); box-shadow: inset 0 1px 0 rgba(255,255,255,.15); }
.lc-botao-seta { margin-left: auto; opacity: .8; transition: transform .2s ease; }
.lc-botao-primario:hover .lc-botao-seta { transform: translateX(3px); }
.lc-botao:disabled { opacity: .6; cursor: wait; transform: none; }

.lc-ajuda { display: flex; justify-content: center; margin-top: 14px; }
.lc-ajuda a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 8px; color: rgba(238,243,247,.76); font-size: .74rem; font-weight: 650; text-decoration: none; transition: .18s ease; }
.lc-ajuda a:hover { background: rgba(255,255,255,.07); color: #fff; text-shadow: 0 0 12px rgba(255,255,255,.42); }

/* Avisos dentro do cartão. O resumo de validação vazio não aparece. */
.lc-alerta { padding: 10px 12px; border: 1px solid; border-radius: 10px; font-size: .8rem; font-weight: 650; line-height: 1.4; }
.lc-alerta.erro, .lc-card .validation-summary-errors { border-color: rgba(237,93,108,.38); background: rgba(99,43,52,.55); color: #ffc1c8; }
.lc-alerta.sucesso { border-color: rgba(58,196,154,.34); background: rgba(20,80,62,.55); color: #a8f0d9; }
.lc-card .validation-summary-errors { padding: 10px 12px; border: 1px solid; border-radius: 10px; font-size: .8rem; font-weight: 650; }
.lc-card .validation-summary-errors ul { margin: 0; padding-left: 18px; }
.lc-card .validation-summary-valid { display: none; }

@media (prefers-reduced-motion: reduce) { .lc-card { animation: none; } }
@media (max-width: 760px) { .lc-hero p { margin-top: 18px; } .lc-hero h1 { font-size: 32px; } .lc-frame { width: 100%; } }
