/* WATU Mail sign-in + reset: split screen. Left = Oct 2026 brochure brand panel
   (deep green, green/amber dot broadcast), right = clean form with the app icon. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(inter.woff2) format('woff2'); }

.wa-split {
  --g-deep: #0f2a22; --g-card: #173a2e; --g-line: #24503f; --g: #22a565; --g-soft: #8fd9b4;
  --amber: #f4b740; --ink: #0b1b16; --muted: #5b6b66; --blue: #1d6bff; --blue-2: #0a56e8;
  position: fixed; inset: 0; z-index: 50; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(420px, 1fr);
  font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased;
  background: #fff; color: var(--ink); text-align: left;
}

/* ---------- Brand panel ---------- */
.wa-brand {
  position: relative; overflow: hidden; background: var(--g-deep); color: #e8f3ee;
  display: flex; flex-direction: column; padding: 44px 56px 36px;
}
.wa-brand:before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 70%;
  background: radial-gradient(closest-side, rgba(34, 165, 101, .28), transparent 70%); pointer-events: none;
}
.wa-word { font-size: 40px; font-weight: 800; letter-spacing: -1.2px; line-height: 1; color: #fff; margin: 0; }
.wa-word i { font-style: normal; color: var(--g); }
.wa-tag { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .2px; color: var(--g-soft); }
.wa-head { margin: auto 0 0; padding-top: 32px; max-width: 560px; }
.wa-head h2 { font-size: 40px; line-height: 1.12; font-weight: 800; letter-spacing: -1px; margin: 0; color: #fff; }
.wa-head h2 span { display: block; color: var(--g); }
.wa-head p { margin: 16px 0 0; font-size: 15px; line-height: 1.6; color: #b9d6c9; max-width: 480px; }

.wa-viz { margin: 28px 0 8px; max-width: 560px; }
.wa-inbox { background: #fff; border-radius: 16px; padding: 6px 6px 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.wa-ibar { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 8px; font-size: 13px; font-weight: 700; color: #0b1b16; }
.wa-ilock { font-size: 11px; font-weight: 600; color: #11543a; background: #e7f6ee; padding: 4px 8px; border-radius: 999px; }
.wa-mail { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; overflow: hidden; }
.wa-mail:first-of-type, .wa-mail:nth-child(2) { background: #f3f8ff; }
.wa-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; color: #fff; background: var(--g); }
.wa-av.a { background: var(--amber); color: #3a2a00; }
.wa-mtxt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wa-mtxt b { font-size: 13px; color: #0b1b16; font-weight: 700; }
.wa-mtxt em { font-style: normal; font-size: 12.5px; color: #5b6b66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-mt { flex: none; font-size: 11.5px; color: #5b6b66; font-weight: 600; }
.wa-unread { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); transform: scale(0); }
.wa-mail:nth-child(2) .wa-unread { transform: scale(1); }
.wa-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; max-width: 620px; }
.wa-chip { background: var(--g-card); border-radius: 10px; padding: 12px 14px; font-size: 13px; font-weight: 600; line-height: 1.35; color: #e8f3ee; }
.wa-chip b { display: block; color: var(--amber); font-size: 13px; margin-bottom: 4px; }
.wa-foot { margin-top: 26px; display: flex; justify-content: space-between; font-size: 12px; color: #86a99a; }
.wa-foot a { color: #86a99a; text-decoration: none; margin-left: 14px; }
.wa-foot a:hover { color: #fff; }

/* ---------- Form panel ---------- */
.wa-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px 32px; overflow-y: auto; background: #fff; }
.wa-form-wrap { width: 100%; max-width: 380px; }
.wa-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 36px; }
.wa-logo img { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 6px 16px rgba(29, 107, 255, .28); }
.wa-logo span { font-size: 26px; font-weight: 800; letter-spacing: -.8px; color: #0b1b3a; }
.wa-logo small { display: block; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.wa-title { font-size: 28px; line-height: 1.2; font-weight: 700; letter-spacing: -.6px; margin: 0 0 8px; color: var(--ink); }
.wa-sub { font-size: 15px; color: var(--muted); margin: 0 0 28px; line-height: 1.5; }

.wa-field { position: relative; margin-bottom: 16px; }
.wa-field input, .wa-field input.form-control {
  width: 100%; height: 54px; padding: 22px 14px 6px; font: inherit; font-size: 15px; color: var(--ink);
  border: 1px solid #d5dbd9; border-radius: 12px; background: #fff; box-sizing: border-box; box-shadow: none; outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.wa-field input:hover { border-color: #aeb8b5; }
.wa-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29, 107, 255, .14); }
.wa-field label {
  position: absolute; left: 15px; top: 17px; font-size: 15px; color: #6b7a75; pointer-events: none;
  transition: top .15s, font-size .15s, color .15s;
}
.wa-field input:focus + label, .wa-field input:not(:placeholder-shown) + label { top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .2px; }
.wa-field input:focus + label { color: var(--blue); }
.wa-suffix { position: absolute; right: 14px; top: 23px; font-size: 15px; color: #8a9893; pointer-events: none; }
.wa-eye { position: absolute; right: 8px; top: 9px; width: 36px; height: 36px; border: 0; background: none; border-radius: 10px; cursor: pointer; color: #6b7a75; display: flex; align-items: center; justify-content: center; }
.wa-eye:hover { background: #f1f4f3; color: var(--ink); }
.wa-eye svg { width: 20px; height: 20px; }
.wa-row { display: flex; justify-content: flex-end; margin: -4px 0 22px; }
.wa-link { color: var(--blue); font-weight: 600; font-size: 14px; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; }
.wa-link:hover { text-decoration: underline; }
.wa-btn, .wa-form-wrap #rcmloginsubmit {
  width: 100% !important; height: 50px; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, var(--blue), var(--blue-2)); color: #fff; font: inherit; font-size: 15px; font-weight: 700;
  letter-spacing: .1px; text-transform: none !important; box-shadow: 0 8px 20px -6px rgba(29, 107, 255, .55);
  transition: transform .12s, box-shadow .12s, filter .12s; display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.wa-btn:hover, .wa-form-wrap #rcmloginsubmit:hover { filter: brightness(1.05); box-shadow: 0 10px 24px -6px rgba(29, 107, 255, .6); }
.wa-btn:active, .wa-form-wrap #rcmloginsubmit:active { transform: translateY(1px); }
.wa-secure { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 12.5px; color: var(--muted); }
.wa-secure svg { width: 16px; height: 16px; color: var(--g); flex: none; }
.wa-msg { font-size: 14px; line-height: 1.45; border-radius: 12px; padding: 12px 14px; margin-bottom: 18px; }
.wa-msg.err { background: #fdecea; color: #8c1d18; }
.wa-msg.ok { background: #e7f6ee; color: #11543a; }
.wa-hint { font-size: 12.5px; color: var(--muted); margin: -8px 0 16px 2px; }
.wa-alt { margin-top: 18px; text-align: center; font-size: 14px; color: var(--muted); }
.wa-code input { letter-spacing: .45em; font-variant-numeric: tabular-nums; font-weight: 600; }

/* entrance (GSAP animates; without JS everything is simply visible) */
.wa-js .wa-rise { opacity: 0; transform: translateY(14px); }

@media (max-width: 960px) {
  .wa-split { grid-template-columns: 1fr; position: static; min-height: 100vh; }
  .wa-brand { padding: 24px 24px 22px; }
  .wa-viz, .wa-chips, .wa-foot, .wa-head p { display: none; }
  .wa-head { padding-top: 18px; }
  .wa-head h2 { font-size: 24px; }
  .wa-word { font-size: 30px; }
  .wa-panel { justify-content: flex-start; padding: 28px 20px 40px; }
  .wa-logo { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) { .wa-js .wa-rise { opacity: 1; transform: none; } }
