/* The sign-in page (design 1, chosen by the user 27-Oct-2026, decision 69). Fast&Up brand book:
   Active Blue #0C4DA2, Vital Orange #F4701D, Montserrat; on blue the white logo with its clearspace
   (the artwork includes it); the chevron as a graphic device, always pointing forward. */
:root { --blue: #0c4da2; --navy: #1b2340; --orange: #f4701d; --ink: #16233a; --muted: #6b7486; --line: #e3e7ee;
        --bad: #b42318; --bad-soft: #fdecea; --green: #157347; --green-soft: #e8f5ee; }
* { box-sizing: border-box; }
html, body { margin: 0; }
body.sign-in { min-height: 100vh; font-family: Poppins, system-ui, sans-serif; color: var(--ink); background: #fff;
               display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }

.brand { position: relative; overflow: hidden; color: #fff; padding: 44px 56px; min-width: 0;
         background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 55%, var(--navy) 100%);
         display: flex; flex-direction: column; }
.brand::before, .brand::after { content: ""; position: absolute; right: -70px; width: 300px; height: 300px;
         border-right: 56px solid var(--orange); border-top: 56px solid var(--orange); transform: rotate(45deg); opacity: .16; }
.brand::before { top: 30%; }
.brand::after { top: 58%; opacity: .09; }
.brand .logo { width: 200px; height: auto; display: block; margin-left: -14px; }
.brand .tag { font: 700 12px Montserrat, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #cfdcf2; margin: 2px 0 0; }
/* bigger, but calm: one line on a laptop, sized to the panel so it never crowds it */
.brand h1 { font-family: Montserrat, sans-serif; font-weight: 800; font-size: clamp(36px, 3.5vw, 50px); line-height: 1.08;
            letter-spacing: -.01em; margin: auto 0 16px; max-width: none; }
.brand .lead { font-size: 15px; color: #d6e1f5; max-width: 40ch; margin: 0 0 28px; }
.flow { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.flow li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #e8eefb; }
.flow b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .12);
          border: 1px solid rgba(255, 255, 255, .25); font: 700 12px Montserrat, sans-serif; }
.brand small { margin-top: 34px; color: #9fb0d4; font-size: 12px; }

.side { display: grid; place-items: center; padding: 40px 24px; }
.card { width: 100%; max-width: 380px; }
.card h2 { font-family: Montserrat, sans-serif; font-weight: 800; font-size: 26px; margin: 0 0 6px; }
.card .sub { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.flash { padding: 10px 14px; border-radius: 10px; margin: 0 0 16px; background: var(--green-soft); color: var(--green); font-size: 14px; }
.flash.error { background: var(--bad-soft); color: var(--bad); }
.ms { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 14px;
      border: 0; background: var(--ink); color: #fff; font: 600 15px Poppins, sans-serif; cursor: pointer; text-decoration: none;
      transition: transform .15s, box-shadow .15s; }
.ms:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(22, 35, 58, .25); }
.ms svg { flex: none; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 22px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.card label { display: block; font-size: 13px; font-weight: 500; margin: 0 0 14px; }
.card input { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border-radius: 10px; border: 1px solid var(--line);
              font: 15px Poppins, sans-serif; background: #f8fafc; color: var(--ink); }
.card input:focus { outline: 2px solid rgba(12, 77, 162, .25); border-color: var(--blue); background: #fff; }
.go { width: 100%; padding: 12px; border: 0; border-radius: 10px; background: var(--blue); color: #fff;
      font: 600 15px Poppins, sans-serif; cursor: pointer; margin-top: 4px; }
.go:hover { background: #0a3f86; }
.note { margin-top: 22px; font-size: 12px; color: var(--muted); }

@media (max-width: 860px) {
  body.sign-in { grid-template-columns: minmax(0, 1fr); }
  .brand { padding: 26px 24px 28px; }
  .brand .logo { width: 160px; }
  .brand h1 { margin-top: 24px; font-size: 32px; }
  .flow, .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ms { transition: none; } .ms:hover { transform: none; } }
