/* TW Sign-In — Teenie-Weenies brand-adjacent, mobile-first, no framework */
:root {
  --navy: #0B1F3A;
  --indigo: #4F46E5;
  --sky: #38BDF8;
  --bg: #f4f7fb;
  --err: #c0392b;
  --ok: #1D9E75;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--navy);
  display: flex;
  justify-content: center;
  padding: 16px;
  min-height: 100vh;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(11, 31, 58, .08);
  padding: 28px 22px;
  width: 100%;
  max-width: 560px;
}
h1 { margin: 0 0 4px; font-size: 1.6rem; }
h2 { font-size: 1.1rem; margin: 18px 0 8px; }
.sub { margin: 0 0 18px; color: #56627a; }
label { display: block; margin: 12px 0 4px; font-weight: 600; font-size: .95rem; }
input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=date], input:not([type]) {
  width: 100%;
  padding: 12px;
  border: 1px solid #cdd6e4;
  border-radius: 10px;
  font-size: 1rem;
  margin-top: 4px;
}
.row { display: flex; gap: 12px; }
.row label { flex: 1; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 16px; }
.check input { margin-top: 4px; width: 20px; height: 20px; flex: none; }
button {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--indigo), var(--sky));
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
button:active { opacity: .9; }
.small { font-size: .8rem; color: #56627a; }
.error { background: #fdecea; color: var(--err); padding: 10px 12px; border-radius: 8px; }
.ok { color: var(--ok); }
.muted { color: #8b95a7; text-align: center; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: .9rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid #e6ebf3; }
.inline { display: inline-flex; gap: 8px; align-items: center; width: auto; margin: 0; }
.inline input[type=date] { width: auto; margin: 0; }
.small-btn {
  width: auto; margin: 0; padding: 8px 14px; font-size: .85rem; border-radius: 8px;
  background: var(--indigo); display: inline-block; text-align: center;
}
.btn-link { color: var(--indigo); text-decoration: none; font-weight: 600; }
a.small-btn { color: #fff; text-decoration: none; }
@media (max-width: 480px) {
  .row { flex-direction: column; gap: 0; }
  .card { padding: 22px 16px; }
}
