:root { --navy:#1f3a5f; --blue:#2d5a8e; --line:#d5dbe3; --soft:#f3f5f8; --danger:#a61b1b; --ok:#246b2b; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; display:grid; place-items:center; padding:24px; background:linear-gradient(145deg,#edf2f7,#dfe8f2); color:#1d2530; font-family:"Segoe UI",Arial,sans-serif; }
body.login-page {
  background:
    linear-gradient(rgba(12,34,61,.48),rgba(12,34,61,.48)),
    url("panoramio_tiete_novo.jpg") center center / cover fixed no-repeat;
}
body.login-page .access-card {
  background:rgba(255,255,255,.96);
  border-color:rgba(255,255,255,.75);
  box-shadow:0 22px 70px rgba(3,18,36,.40);
  backdrop-filter:blur(2px);
}
.access-card { width:min(440px,100%); background:#fff; border:1px solid var(--line); border-top:5px solid var(--navy); border-radius:14px; box-shadow:0 18px 55px rgba(31,58,95,.16); padding:34px; }
.access-card.wide { width:min(560px,100%); }
.brand-mark { position:relative; width:56px; height:50px; margin-bottom:16px; }
.brand-mark span { position:absolute; width:40px; height:46px; border:2px solid var(--navy); border-radius:4px; background:#fff; display:grid; place-items:center; font-weight:800; color:var(--navy); }
.brand-mark span:nth-child(1){ left:0; top:0; opacity:.35; }.brand-mark span:nth-child(2){ left:7px; top:3px; opacity:.65; }.brand-mark span:nth-child(3){ left:14px; top:6px; }
.eyebrow { margin:0 0 5px; color:var(--blue); text-transform:uppercase; letter-spacing:.08em; font-size:12px; font-weight:700; }
h1 { margin:0; color:var(--navy); font-size:30px; }
.subtitle { color:#536174; line-height:1.45; margin:7px 0 24px; }
form { display:grid; gap:8px; }
label { margin-top:8px; font-weight:650; font-size:14px; }
input,select { width:100%; border:1px solid var(--line); border-radius:7px; padding:10px 11px; font:inherit; }
input:focus,select:focus { outline:3px solid #d7e4f4; border-color:var(--blue); }
button,.button-link { margin-top:16px; border:0; border-radius:7px; padding:11px 15px; background:var(--navy); color:#fff; font:inherit; font-weight:700; cursor:pointer; text-align:center; text-decoration:none; }
button:hover,.button-link:hover { background:var(--blue); }
.alert,.success { padding:11px 13px; border-radius:7px; margin:18px 0; font-size:14px; }
.alert { background:#fde8e8; color:var(--danger); border:1px solid #f3bbbb; }.success { background:#e4f4e5; color:var(--ok); border:1px solid #b9dfbc; }
.footnote { margin:24px 0 0; font-size:12px; color:#697789; line-height:1.45; }
code { background:var(--soft); padding:2px 5px; border-radius:4px; }

@media (max-width:640px) {
  body { padding:16px; }
  body.login-page { background-attachment:scroll; background-position:58% center; }
  .access-card { padding:28px 24px; }
}

