/* Standalone CANA portal. Brand values match the main website. */
:root { --gold: #ffd700; --black: #000; --ink: #111827; --muted: #616773; --line: #d9dde2; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--ink); }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #fff; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration: underline; }
.site-header { min-height: 100px; padding: 8px clamp(24px, 5vw, 80px); background: #000; color: #fff; display: flex; align-items: center; gap: 28px; border-bottom: 1px solid #ffffff26; }
.site-logo { display: block; flex-shrink: 0; }
.site-logo img { display: block; width: 160px; height: 80px; }
.portal-label { padding-left: 28px; border-left: 1px solid #ffffff40; color: var(--gold); font-size: .7rem; letter-spacing: .18em; font-weight: 700; }
.website-link { margin-left: auto; font-size: .84rem; text-decoration: none; }
.website-link:hover { color: var(--gold); }
.shell { min-height: calc(100svh - 100px); display: grid; grid-template-columns: 1.1fr 1fr; }
.brand-panel { position: relative; min-height: 660px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: clamp(32px, 5vw, 80px); color: #fff; background: #141414 url("nimule-resort.png") center / cover no-repeat; }
.brand-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #0006, #000a 45%, #000e); }
.brand-content, .brand-footer { position: relative; z-index: 1; }
.divider { width: 48px; height: 4px; background: var(--gold); margin-bottom: 28px; }
.eyebrow { margin: 0 0 20px; font-size: .72rem; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; }
.brand-panel .eyebrow { color: #fff; }
h1 { margin: 0; font-size: clamp(2.3rem, 3.45vw, 4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.045em; }
h1 span { color: var(--gold); }
.brand-copy { margin: 28px 0 0; font-size: 1rem; line-height: 1.8; color: #f0f0f0; }
.brand-footer { position: absolute; bottom: 32px; margin: 0; font-size: .75rem; color: #c6c6c6; line-height: 1.8; }
.brand-footer span { color: #fff; font-size: .7rem; letter-spacing: .14em; font-weight: 700; }
.login-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px clamp(28px, 5vw, 80px) 24px; background: #fff; }
.login-card { width: min(100%, 430px); margin-top: auto; }
.login-eyebrow { display: inline-block; padding: 8px 11px; background: #fff9db; border-left: 3px solid var(--gold); color: #252525; }
h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.65rem); letter-spacing: -.045em; line-height: 1.15; }
.intro { margin: 14px 0 34px; color: var(--muted); line-height: 1.7; font-size: .92rem; }
.field { margin-bottom: 24px; }
label { display: block; margin-bottom: 10px; font-size: .86rem; font-weight: 650; }
.field-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.field-heading a { font-size: .78rem; }
input { width: 100%; min-height: 54px; border: 1px solid var(--line); border-radius: 0; padding: 0 15px; background: #fafafa; color: var(--ink); font: inherit; font-size: 1rem; }
input::placeholder { color: #737982; }
input:focus { outline: 2px solid #000; outline-offset: 2px; background: #fff; }
.password-wrap { position: relative; }
.password-wrap input { padding-right: 74px; }
.show-password { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); min-height: 44px; border: 0; padding: 8px; background: transparent; color: #262626; font-weight: 650; cursor: pointer; }
.show-password:hover { background: #eee; }
.submit { width: 100%; min-height: 56px; margin-top: 6px; border: 1px solid var(--gold); padding: 12px 20px; background: var(--gold); color: #000; font: inherit; font-weight: 750; cursor: pointer; transition: background .15s; }
.submit span { margin-left: 12px; }
.submit:hover { background: #edc900; border-color: #edc900; }
:where(a,button):focus-visible { outline: 2px solid #8a7100; outline-offset: 4px; }
.site-header a:focus-visible { outline-color: var(--gold); }
.security-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 20px; color: var(--muted); }
.security-note svg { width: 18px; height: 18px; flex-shrink: 0; fill: currentColor; }
.security-note p { margin: 0; font-size: .76rem; line-height: 1.6; }
.direct-link { text-align: center; border-top: 1px solid var(--line); padding-top: 26px; margin-top: 28px; font-size: .83rem; }
.help { color: var(--muted); font-size: .76rem; text-align: center; line-height: 1.6; margin-top: 18px; }
.copyright { margin: auto 0 0; padding-top: 46px; color: var(--muted); font-size: .68rem; text-align: center; line-height: 1.7; }
::selection { background: var(--gold); color: #000; }
@media (max-width: 1000px) { .brand-panel { padding: 36px; } .login-panel { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 760px) {
 .site-header { min-height: 84px; padding: 2px 18px; gap: 12px; }
 .site-logo img { width: 136px; height: 68px; }
 .portal-label { margin-left: auto; padding-left: 14px; font-size: .61rem; }
 .website-link { display: none; }
 .shell { display: block; min-height: calc(100svh - 84px); }
 .brand-panel { min-height: 240px; padding: 30px 24px; background-position: center 55%; }
 .divider { width: 32px; margin-bottom: 16px; height: 3px; }
 .brand-panel .eyebrow { font-size: .62rem; margin-bottom: 12px; }
 h1 { font-size: clamp(1.75rem, 6vw, 2.5rem); max-width: 550px; }
 .brand-copy, .brand-footer { display: none; }
 .login-panel { padding: 34px 24px 22px; }
 .intro { margin-bottom: 26px; }
 .copyright { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
