:root { --cg-red: #ed1c24; --cg-ink: #172238; --cg-muted: #66728a; }
* { box-sizing: border-box; }
body.portal-login-body { margin: 0; min-width: 320px; background: #f7f8fb; font-family: Inter, Arial, sans-serif; color: var(--cg-ink); }
.portal-login { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 52%) 1fr; }
.portal-login-showcase { position: relative; overflow: hidden; min-height: 100vh; background: linear-gradient(115deg, rgba(11, 22, 43, .9), rgba(19, 34, 58, .62)), url('../img/lateral-esquerdo.jpg') center / cover no-repeat; }
.portal-login-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 16, 35, .8) 0%, rgba(10, 20, 40, .3) 72%, rgba(237, 28, 36, .22) 100%); }
.portal-login-ribbon { position: absolute; transform: skewX(-29deg); background: var(--cg-red); opacity: .94; }
.ribbon-one { width: 115px; height: 118vh; top: -12%; right: 16%; }
.ribbon-two { width: 34px; height: 112vh; top: -6%; right: 7%; background: rgba(255,255,255,.3); }
.portal-login-showcase-content { position: relative; z-index: 1; height: 100%; min-height: 100vh; display: flex; flex-direction: column; padding: 56px clamp(42px, 7vw, 112px); color: #fff; }
.portal-login-white-logo { width: 142px; height: auto; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.portal-login-copy { margin: auto 0 34px; max-width: 565px; }
.portal-login-kicker, .portal-login-eyebrow { display: block; font-size: 11px; letter-spacing: .15em; font-weight: 800; }
.portal-login-kicker { color: #ffd1d3; margin-bottom: 18px; }
.portal-login-copy h1 { margin: 0 0 20px; color: #fff; font-size: clamp(34px, 3vw, 53px); line-height: 1.14; letter-spacing: -.045em; font-weight: 800; }
.portal-login-copy p { margin: 0; max-width: 490px; color: rgba(255,255,255,.89); font-size: 17px; line-height: 1.65; }
.portal-login-highlights { display: flex; gap: 25px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.94); }
.portal-login-highlights i { color: #fff; margin-right: 6px; }
.portal-login-access { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 76px 42px 98px; background: #f8f9fc; }
.portal-login-card { width: min(100%, 450px); padding: 15px; }
.portal-login-mobile-logo { display: block; width: 135px; margin-bottom: 50px; }
.portal-login-mobile-logo img { max-width: 100%; }
.portal-login-heading { margin-bottom: 35px; }
.portal-login-eyebrow { color: var(--cg-red); margin-bottom: 10px; }
.portal-login-heading h2 { margin: 0 0 11px; font-size: 32px; letter-spacing: -.04em; font-weight: 800; color: var(--cg-ink); }
.portal-login-heading p { margin: 0; color: var(--cg-muted); font-size: 14px; line-height: 1.6; }
.portal-field { margin-bottom: 24px; }
.portal-field label { margin-bottom: 9px; display: block; color: #2a3448; font-weight: 700; font-size: 13px; }
.portal-field-label { display: flex; justify-content: space-between; align-items: baseline; }
.portal-field-label a, .portal-login-options a, .portal-login-register a { color: var(--cg-red); text-decoration: none; font-size: 13px; font-weight: 700; }
.portal-field-label a:hover, .portal-login-options a:hover, .portal-login-register a:hover { color: #b80d18; text-decoration: underline; }
.portal-input-wrap { height: 54px; border: 1px solid #d9deea; border-radius: 9px; background: #fff; display: flex; align-items: center; transition: .2s ease; }
.portal-input-wrap:focus-within { border-color: var(--cg-red); box-shadow: 0 0 0 4px rgba(237,28,36,.1); }
.portal-input-wrap > i { width: 48px; text-align: center; color: #8994a8; font-size: 16px; }
.portal-input-wrap input { height: 100%; border: 0 !important; outline: 0 !important; box-shadow: none !important; padding: 0 14px 0 0; flex: 1; font-family: inherit; font-size: 14px; color: var(--cg-ink); background: transparent !important; }
.portal-input-wrap input::placeholder { color: #9ba5b6; }
.portal-password-toggle { width: 48px; height: 100%; border: 0; color: #68748a; background: transparent; cursor: pointer; }
.portal-login-options { display: flex; justify-content: flex-end; margin: -7px 0 28px; }
.portal-login-submit { width: 100%; height: 54px; border: 0; border-radius: 9px; background: var(--cg-red); color: #fff; font: 700 15px Inter, Arial, sans-serif; cursor: pointer; box-shadow: 0 11px 22px rgba(237,28,36,.2); transition: transform .2s ease, background .2s ease; }
.portal-login-submit:hover { background: #d50f18; transform: translateY(-1px); }
.portal-login-submit .indicator-label i { margin-left: 9px; }
.portal-login-register { margin: 31px 0 24px; text-align: center; color: #68748a; font-size: 13px; }
.portal-login-security { display: flex; justify-content: center; align-items: center; gap: 8px; color: #8893a5; font-size: 11px; text-align: center; }
.portal-login-security i { color: #37a057; font-size: 13px; }
.portal-login-footer { position: absolute; bottom: 32px; color: #8b95a7; font-size: 11px; text-align: center; }
.portal-login-footer span { display: inline-block; height: 13px; width: 1px; vertical-align: middle; margin: 0 10px; background: #d4d9e2; }
@media (max-width: 900px) { .portal-login { grid-template-columns: 1fr; } .portal-login-showcase { min-height: 265px; } .portal-login-showcase-content { min-height: 265px; padding: 32px 38px; } .portal-login-white-logo { width: 118px; } .portal-login-copy { margin: auto 0 0; } .portal-login-copy h1 { font-size: 30px; } .portal-login-copy p, .portal-login-highlights { display: none; } .ribbon-one { right: 23%; } .portal-login-access { min-height: auto; padding: 48px 30px 32px; flex-direction: column; } .portal-login-card { width: min(100%, 450px); } .portal-login-mobile-logo { display: none; } .portal-login-footer { position: static; margin-top: 42px; } }
@media (max-width: 480px) { .portal-login-showcase { min-height: 220px; } .portal-login-showcase-content { min-height: 220px; padding: 28px 24px; } .portal-login-copy h1 { font-size: 26px; } .portal-login-access { padding: 37px 21px 26px; } .portal-login-card { padding: 0; } .portal-login-heading h2 { font-size: 28px; } .portal-field-label { align-items: center; gap: 12px; } .portal-field-label a { text-align: right; } .portal-login-footer span { display: none; } .portal-login-footer strong { display: block; margin-top: 4px; } }
