/* Smile Parking club portal: the look of the new website (red #e61e25, blue #2a7fd3, navy #003d80, rounded cards, pill buttons). */
:root {
  --red: #e61e25;
  --blue: #2a7fd3;
  --navy: #003d80;
  --navy2: #1e5a96;
  --sky: #4cb3e7;
  --sky-d: #258acb;
  --bg: #eef3f6;
  --field: #eef4fb;
  --field-line: #cfe0f5;
  --ink: #1f2937;
  --muted: #6b7280;
  --ok: #39b54a;
  --warn: #caa472;
  --line: #e5e7eb;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px; line-height: 1.5; min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--blue); }
[hidden] { display: none !important; }

.nav { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.nav-in { max-width: 1120px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand img { display: block; height: 44px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.langs { display: flex; gap: 4px; }
.langs a { padding: 6px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--navy); text-decoration: none; }
.langs a[aria-current="true"] { color: var(--red); background: #fdecec; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 24px 16px 40px; flex: 1; }
h1 { margin: 0 0 6px; color: var(--navy); font-size: 26px; line-height: 1.2; font-weight: 800; letter-spacing: .2px; }
h1 .accent { color: var(--red); }
h2 { margin: 0 0 12px; color: var(--navy2); font-size: 18px; font-weight: 700; }
.lead { margin: 0 0 20px; color: var(--muted); }

.card { background: #fff; border-radius: 26px; padding: 22px 20px; margin: 0 0 16px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.card.alert { border: 1px solid #fecaca; background: #fef2f2; border-radius: 20px; }

.tabs { display: flex; gap: 6px; margin: 0 0 14px; flex-wrap: wrap; }
.tab { flex: 1 1 auto; border: 1px solid var(--field-line); background: #fff; color: var(--navy); border-radius: 999px; padding: 10px 14px; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy2); border-color: var(--navy2); color: #fff; }

label { display: block; margin: 0 0 4px; font-size: 14px; font-weight: 600; color: var(--navy2); }
.field { margin: 0 0 14px; }
input, select {
  width: 100%; height: 48px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field); border: 1px solid var(--field-line); border-radius: 20px; outline: none;
}
input:focus { border-color: #1e88e5; background: #fff; box-shadow: 0 0 0 3px rgba(30,136,229,.15); }
input.code { text-align: center; font-size: 22px; font-weight: 700; letter-spacing: 8px; }
.row2 { display: grid; grid-template-columns: 1fr; gap: 0 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: inherit; font-weight: 700; font-size: 16px; color: #fff; border-radius: 999px; padding: 13px 26px; min-height: 48px;
  background: linear-gradient(#4aa3e0, #258acb); box-shadow: 0 4px 0 #1f6fa4, 0 6px 5px rgba(0,0,0,.2);
  transition: transform .08s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #1f6fa4; }
.btn[disabled] { opacity: .55; cursor: default; transform: none; }
.btn-block { width: 100%; }
.btn-red { background: linear-gradient(#ee4a50, #d82217); box-shadow: 0 4px 0 #a8191a, 0 6px 5px rgba(0,0,0,.2); }
.btn-green { background: linear-gradient(#4cc35c, #2fa13f); box-shadow: 0 4px 0 #23802f, 0 6px 5px rgba(0,0,0,.2); }
.btn-ghost { background: #fff; color: var(--navy2); border: 1px solid var(--field-line); box-shadow: none; }
.btn-ghost:hover { background: var(--field); transform: none; }
.btn-ghost:active { box-shadow: none; }
.btn-small { padding: 6px 14px; min-height: 36px; font-size: 14px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

.msg { border-radius: 14px; padding: 10px 14px; margin: 12px 0 0; font-size: 15px; }
.msg-ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.msg-err { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.msg-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.hint { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 14px; font-size: 14px; font-weight: 700; color: #fff; background: #9ca3af; }
.badge.confirmed { background: var(--sky); }
.badge.pending { background: #f59e0b; }
.badge.cancelled { background: var(--warn); }
.badge.onyard { background: var(--ok); }
.badge.done { background: #7fb77e; }

dl.facts { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
dl.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
dl.facts div:last-child { border-bottom: 0; }
dl.facts dt { color: var(--muted); font-size: 15px; flex: 0 0 auto; }
dl.facts dd { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }
.total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 2px solid var(--line); color: var(--navy2); font-weight: 800; font-size: 18px; }
.topay { color: var(--red); }

.list { display: grid; gap: 14px; }
.item { display: block; background: #fff; border-radius: 22px; padding: 16px 18px; color: inherit; text-decoration: none; border: 1px solid transparent; }
.item:hover { border-color: var(--field-line); }
.item .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 800; color: var(--navy); }
.item .sub { color: var(--muted); font-size: 15px; }

.foot { background: #666; color: #fff; margin-top: auto; }
.foot-in { max-width: 1120px; margin: 0 auto; padding: 24px 16px; display: flex; flex-wrap: wrap; gap: 20px 48px; font-size: 15px; line-height: 1.6; }
.foot a { color: #00bcd4; }

.spin { text-align: center; color: var(--muted); padding: 40px 0; }
@media (min-width: 760px) {
  h1 { font-size: 32px; }
  .card { padding: 28px 30px; }
}
