/* /login/style.css — tela de login (Opção 1: split moderno). CSS local da página. */
* { box-sizing: border-box; margin: 0; padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

html, body { height: 100%; }
body { color: #1e293b; }

.login-wrap { height: 100vh; display: flex; }

/* ===== Painel de marca (esquerda) ===== */
.login-brand {
    flex: 0 0 46%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #1b2a78 0%, #0b6f96 60%, #0a8ccc 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 52px;
}
.login-brand .blob { position: absolute; border-radius: 50%; filter: blur(8px); }
.login-brand .b1 { width: 320px; height: 320px; background: #36c6f0; opacity: .35; top: -90px; right: -80px; }
.login-brand .b2 { width: 240px; height: 240px; background: #5b4bd6; opacity: .40; bottom: -70px; left: -60px; }

.brand-logo {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border-radius: 16px; padding: 22px 38px;
    width: fit-content; box-shadow: 0 16px 40px rgba(0,0,0,.22);
    position: relative; z-index: 1; margin-bottom: 40px;
}
.brand-logo img { height: 64px; display: block; }

.brand-msg { position: relative; z-index: 1; }
.brand-msg h1 { font-size: 34px; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; margin-bottom: 14px; }
.brand-msg p { font-size: 15px; line-height: 1.6; color: #dbe7f3; max-width: 380px; }
.dots { display: flex; gap: 8px; margin-top: 18px; }
.dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.dots span.on { background: #fff; width: 26px; border-radius: 6px; }

.brand-foot { position: absolute; left: 52px; bottom: 42px; z-index: 1; font-size: 12.5px; color: #bcd2e6; }

/* ===== Formulário (direita) ===== */
.login-pane { flex: 1; display: flex; align-items: center; justify-content: center; background: #fff; padding: 24px; }
.login-card { width: 380px; max-width: 100%; }

.card-lead { font-size: 13px; color: #0a8ccc; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.login-card h2 { font-size: 27px; font-weight: 700; margin-bottom: 6px; }
.card-sub { color: #64748b; font-size: 14px; margin-bottom: 30px; }

.fld { margin-bottom: 18px; }
.fld label { display: block; font-size: 12.5px; font-weight: 600; color: #475569; margin-bottom: 7px; }
.inp { display: flex; align-items: center; border: 1.5px solid #e2e8f0; border-radius: 11px; padding: 0 14px; background: #f8fafc; transition: .15s; }
.inp:focus-within { border-color: #0a8ccc; background: #fff; box-shadow: 0 0 0 4px rgba(10,140,204,.12); }
.inp svg { flex: 0 0 auto; color: #94a3b8; }
.inp input { border: 0; outline: 0; background: transparent; padding: 13px 12px; font-size: 14.5px; width: 100%; color: #1e293b; }
.inp input::placeholder { color: #aab4c2; }

.row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; font-size: 13px; }
.row .remember { display: flex; align-items: center; gap: 7px; color: #475569; cursor: pointer; }
.row .forgot { color: #0a8ccc; text-decoration: none; font-weight: 600; }
.row .forgot:hover { text-decoration: underline; }

.btn-entrar {
    width: 100%; border: 0; border-radius: 11px; padding: 14px;
    font-size: 15px; font-weight: 700; color: #fff; letter-spacing: .04em; cursor: pointer;
    background: linear-gradient(135deg, #1b2a78, #0a8ccc);
    box-shadow: 0 10px 24px rgba(11,111,150,.32);
    transition: transform .12s, box-shadow .12s;
}
.btn-entrar:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(11,111,150,.42); }
.btn-entrar:active { transform: translateY(0); }

.card-foot { text-align: center; margin-top: 26px; font-size: 12px; color: #94a3b8; }

/* ===== Responsivo (celular/tablet) ===== */
@media (max-width: 820px) {
    .login-wrap { flex-direction: column; height: auto; min-height: 100vh; }
    .login-brand {
        flex: none; padding: 30px 28px 26px;
        flex-direction: row; align-items: center; justify-content: flex-start; gap: 18px;
    }
    .login-brand .b1 { width: 200px; height: 200px; top: -70px; right: -50px; }
    .login-brand .b2 { display: none; }
    .brand-msg, .brand-foot, .dots { display: none; }
    .brand-logo { padding: 12px 22px; margin-bottom: 0; }
    .brand-logo img { height: 38px; }
    .login-pane { padding: 34px 22px 44px; align-items: flex-start; }
    .login-card { width: 100%; max-width: 420px; margin: 0 auto; }
    .login-card h2 { font-size: 24px; }
}
