:root {
  --shuttle-green-deep: #102d23;
  --shuttle-green: #274c3a;
  --shuttle-gold: #b79652;
  --shuttle-paper: #fffdf9;
  --shuttle-cream: #f4f0e7;
  --shuttle-line: #dedbd1;
}
.shuttle-page {
  background: var(--shuttle-paper);
}
.shuttle-header {
  position: sticky;
  top: 0;
}
.shuttle-nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}
.shuttle-hero {
  min-height: 460px;
  background: linear-gradient(
    110deg,
    rgba(16, 45, 35, 0.99) 0%,
    rgba(16, 45, 35, 0.95) 56%,
    rgba(39, 76, 58, 0.94) 100%
  );
  color: #fff;
}
.shuttle-hero-inner {
  min-height: 460px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 80px;
}
.shuttle-hero h1 {
  margin: 0 0 18px;
  font-family: "Noto Serif TC", serif;
  font-size: clamp(44px, 5vw, 70px);
  line-height: 1.2;
}
.shuttle-hero p:not(.eyebrow) {
  max-width: 650px;
  color: #dbe5df;
  font-size: 17px;
}
.shuttle-hero-card {
  min-height: 220px;
  padding: 38px;
  border: 1px solid rgba(229, 207, 150, 0.42);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.shuttle-hero-card span {
  color: #e5cf96;
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 800;
}
.shuttle-hero-card strong {
  margin: 10px 0;
  font-family: "Noto Serif TC", serif;
  font-size: 26px;
}
.shuttle-hero-card small {
  color: #c9d5ce;
  line-height: 1.8;
}
.shuttle-register-section {
  background: #faf8f2;
}
.shuttle-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.shuttle-form-card,
.shuttle-info-card {
  background: #fff;
  border: 1px solid var(--shuttle-line);
  box-shadow: 0 14px 45px rgba(36, 48, 40, 0.06);
}
.shuttle-form-card {
  padding: 44px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-full {
  grid-column: 1/-1;
}
.field > span {
  color: #6d5c37;
  font-size: 13px;
  font-weight: 800;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #ccd2cc;
  background: #fff;
  color: #1f2a24;
  font: inherit;
  padding: 13px 14px;
  outline: none;
  transition: 0.18s;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--shuttle-green);
  box-shadow: 0 0 0 3px rgba(39, 76, 58, 0.1);
}
.privacy-check {
  margin-top: 22px;
  padding: 16px 18px;
  background: #f5f2e9;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #59645d;
}
.privacy-check input {
  margin-top: 5px;
}
.form-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.shuttle-submit {
  min-width: 190px;
}
.shuttle-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}
.form-status {
  color: var(--shuttle-green);
  font-weight: 700;
  font-size: 13px;
}
.shuttle-info-card {
  padding: 34px;
  position: sticky;
  top: 120px;
}
.shuttle-info-card h3 {
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
}
.info-row {
  padding: 18px 0;
  border-top: 1px solid #e9e5db;
}
.info-row strong,
.info-row span {
  display: block;
}
.info-row strong {
  color: var(--shuttle-green);
  margin-bottom: 5px;
}
.info-row span {
  color: #68736b;
  font-size: 13px;
}
.registration-list {
  display: grid;
  gap: 12px;
}
.registration-card {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  border: 1px solid #e0ddd4;
  background: #fff;
}
.registration-date {
  background: var(--shuttle-green);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.registration-date strong {
  font-family: "Noto Serif TC", serif;
  font-size: 25px;
}
.registration-date span {
  color: #d5e0d9;
  font-size: 12px;
}
.registration-main {
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
}
.registration-name {
  font-family: "Noto Serif TC", serif;
  font-size: 21px;
  font-weight: 800;
}
.registration-location span,
.registration-location strong {
  display: block;
}
.registration-location span {
  color: #8b7444;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.registration-location strong {
  margin-top: 4px;
  color: #455149;
}
.registration-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.registration-meta span {
  padding: 5px 10px;
  background: #f2eee4;
  color: #5d674f;
  font-size: 12px;
}
.registration-loading,
.shuttle-empty {
  padding: 48px;
  text-align: center;
  border: 1px dashed #d8d4ca;
  color: #68736b;
}
.shuttle-empty strong,
.shuttle-empty span {
  display: block;
}
.shuttle-empty strong {
  color: var(--shuttle-green);
  margin-bottom: 6px;
}
.shuttle-empty.error strong {
  color: #9b3328;
}
.shuttle-admin-main {
  background: #f7f5ef;
  min-height: calc(100vh - 100px);
}
.admin-login-card,
.admin-panel {
  background: #fff;
  border: 1px solid var(--shuttle-line);
  box-shadow: 0 14px 45px rgba(36, 48, 40, 0.06);
}
.admin-login-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 44px;
}
.admin-login-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.admin-panel {
  padding: 36px;
}
.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-table-shell {
  overflow: auto;
  margin-top: 24px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1100px;
}
.admin-table th,
.admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #e5e2da;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}
.admin-table th {
  background: var(--shuttle-green);
  color: #fff;
}
.danger-button {
  border: 0;
  background: #a8392d;
  color: #fff;
  padding: 8px 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}
.danger-button:hover {
  background: #8f2e24;
}
@media (max-width: 900px) {
  .shuttle-hero-inner,
  .shuttle-layout {
    grid-template-columns: 1fr;
  }
  .shuttle-hero-inner {
    padding: 70px 0;
    gap: 35px;
  }
  .shuttle-info-card {
    position: static;
  }
  .registration-main {
    grid-template-columns: 120px minmax(0, 1fr);
  }
  .registration-meta {
    grid-column: 1/-1;
  }
}
@media (max-width: 700px) {
  .shuttle-nav {
    display: none;
  }
  .shuttle-hero,
  .shuttle-hero-inner {
    min-height: auto;
  }
  .shuttle-hero-inner {
    padding: 60px 0;
  }
  .shuttle-hero h1 {
    font-size: 42px;
  }
  .shuttle-form-card,
  .shuttle-info-card {
    padding: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field-full {
    grid-column: auto;
  }
  .registration-card {
    grid-template-columns: 78px minmax(0, 1fr);
  }
  .registration-date {
    min-height: 135px;
  }
  .registration-main {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 18px;
  }
  .registration-meta {
    grid-column: auto;
  }
  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .shuttle-submit {
    width: 100%;
  }
}
/* =========================================================
   Uber-style Sabbath Shuttle Form
========================================================= */

.ride-form {
  display: grid;
  gap: 22px;
}

.ride-card {
  background: #fff;
  border: 1.5px solid #26342d;
  border-radius: 22px;
  padding: 30px;
  box-shadow: 0 12px 35px rgba(30, 45, 37, 0.06);
}

.ride-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.ride-card-head h2 {
  margin: 0;
  font-family: "Noto Serif TC", serif;
  font-size: 30px;
}

.ride-check {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #102d23;
  color: white;
  font-size: 20px;
}

.trip-toggle {
  display: inline-flex;
  margin: 24px 0 30px;
  padding: 5px;
  background: #f1f1f1;
  border-radius: 999px;
}

.trip-option {
  border: 0;
  background: transparent;
  padding: 12px 22px;
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
  color: #26342d;
}

.trip-option.active {
  background: #102d23;
  color: white;
}

.route-box {
  position: relative;
  display: grid;
  gap: 18px;
}

.route-line {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 22px;
  background: #f4f4f2;
  border-radius: 12px;
}

.route-line input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 17px;
  color: #26342d;
}

.route-line input::placeholder {
  color: #7c837f;
}

.route-dot {
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
}

.route-dot.start {
  width: 20px;
  height: 20px;
  border: 7px solid #102d23;
  border-radius: 50%;
  background: white;
}

.route-dot.end {
  width: 18px;
  height: 18px;
  border: 6px solid #102d23;
  background: white;
}

.route-connector {
  position: absolute;
  left: 31px;
  top: 56px;
  width: 2px;
  height: 53px;
  background: #102d23;
  z-index: 1;
}

.route-icon {
  font-size: 22px;
  color: #102d23;
}

.trip-time-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.trip-field > span {
  display: block;
  margin-bottom: 7px;
  color: #6b756f;
  font-size: 13px;
}

.trip-input {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #f4f4f2;
  border-radius: 12px;
}

.trip-input input,
.trip-input select {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: #26342d;
}

.trip-input-icon {
  color: #102d23;
}

.passenger-card h3 {
  margin: 0 0 22px;
  font-family: "Noto Serif TC", serif;
  font-size: 24px;
}

.passenger-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.ride-contact-field {
  display: grid;
  gap: 7px;
}

.ride-contact-field.full {
  grid-column: 1 / -1;
}

.ride-contact-field span {
  color: #6b5a36;
  font-size: 13px;
  font-weight: 800;
}

.ride-contact-field input,
.ride-contact-field textarea {
  width: 100%;
  border: 1px solid #d2d7d2;
  padding: 13px 14px;
  font: inherit;
  outline: none;
  background: #fff;
}

.ride-contact-field input:focus,
.ride-contact-field textarea:focus {
  border-color: #274c3a;
  box-shadow: 0 0 0 3px rgba(39, 76, 58, 0.08);
}

.ride-submit-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ride-submit {
  min-width: 210px;
  min-height: 50px;
}

@media (max-width: 760px) {
  .ride-card {
    padding: 22px;
    border-radius: 18px;
  }

  .ride-card-head h2 {
    font-size: 25px;
  }

  .ride-check {
    width: 44px;
    height: 44px;
  }

  .trip-time-grid {
    grid-template-columns: 1fr;
  }

  .passenger-grid {
    grid-template-columns: 1fr;
  }

  .ride-contact-field.full {
    grid-column: auto;
  }

  .ride-submit-row {
    flex-direction: column;
    align-items: stretch;
  }

  .ride-submit {
    width: 100%;
  }
}
