/* IISJ Reporters · Edex Photos — shared styles */
:root {
  --ink: #12233B;
  --muted: #4B5B70;
  --line: #DCE5F0;
  --line-2: #C5D3E4;
  --bg: #F2F6FB;
  --card: #FFFFFF;
  --blue: #2F5E9E;
  --blue-2: #4574AF;
  --cyan: #40CFFF;
  --navy: #0B1A2E;
  --navy-2: #13263F;
  --navy-3: #2B4466;
  --green: #17784E;
  --green-bg: #DDF3E8;
  --amber: #9A4A00;
  --amber-bg: #FFF1DC;
  --red: #B42318;
  --radius: 16px;
  --display: Oswald, "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.45; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--blue); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid rgba(64, 207, 255, .7); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.display { font-family: var(--display); text-transform: uppercase; letter-spacing: .02em; font-weight: 600; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand img { height: 34px; width: auto; }
.brand b { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: .05em; text-transform: uppercase; }
.brand b span:first-child { color: var(--blue-2); }
.brand b span:last-child { color: #5F6670; }
.brand small { display: block; font-size: 12px; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 12px; border: 0; font-weight: 700; font-size: 15px; text-decoration: none; transition: transform .06s, background .15s; }
.btn:active { transform: scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #244c82; color: #fff; }
.btn-cyan { background: var(--cyan); color: var(--navy); }
.btn-cyan:hover { background: #6fdcff; color: var(--navy); }
.btn-ghost { background: var(--card); border: 1.5px solid var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--ink); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-danger { background: #fff; border: 1.5px solid #f1b3ad; color: var(--red); }
.btn-lg { min-height: 58px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }

.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.input { width: 100%; height: 52px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #fff; font-size: 16px; }
.input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(47, 94, 158, .18); }
.input-room { height: 68px; text-align: center; font-family: var(--display); font-size: 36px; font-weight: 600; letter-spacing: .04em; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill-blue { background: #EAF2FB; color: var(--blue); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); display: inline-block; }
.error { color: var(--red); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.muted { color: var(--muted); }

.spinner { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(47, 94, 158, .2); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14px; z-index: 100; max-width: calc(100% - 32px); box-shadow: 0 8px 30px rgba(0, 0, 0, .25); }
