/* Same visual language as the Customer Log app, for one consistent Aurora look across
   the internal tools and this public-facing page. */
:root {
  --bg:          #f4f6fb;
  --surface:     #ffffff;
  --surface-2:   #f8fafc;
  --border:      #e4e8f0;
  --text:        #1e2430;
  --text-soft:   #5b6472;
  --text-faint:  #8b95a5;
  --accent:      #3b5bdb;
  --accent-dark: #324db8;
  --danger:      #d64545;
  --danger-soft: #fbeaea;
  --success:     #1a7f45;
  --success-soft: #e8f7ee;

  --radius:    12px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 60, .06), 0 1px 3px rgba(20, 30, 60, .04);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
/* An author display rule on a type selector otherwise wins over the browser's default
   [hidden] rule regardless of specificity, since normal-author declarations always beat
   normal-user-agent ones in the cascade. This restores hidden as an actual toggle. */
[hidden] { display: none !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

.topbar {
  padding: 20px 24px;
  color: #fff;
  background: linear-gradient(120deg, #2b3a8c 0%, #3b5bdb 48%, #5a86e0 100%);
}
.brand { display: flex; align-items: center; gap: 14px; max-width: 560px; margin: 0 auto; }
.brand-mark {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  font-weight: 700;
}
.brand-text h1 { margin: 0; font-size: 19px; font-weight: 650; }
.brand-text p { margin: 0; font-size: 13px; opacity: .85; }

.layout { max-width: 560px; margin: 0 auto; padding: 24px 20px 48px; }

#booking-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--text-soft);
}
.req { color: var(--danger); }

input, select, textarea {
  font: inherit;
  color: var(--text);
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 91, 219, 0.15);
}
textarea { resize: vertical; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) {
  .row { grid-template-columns: 1fr; }
}

.field-note { margin: -6px 0 0; font-size: 12.5px; color: var(--text-faint); }
.field-note a { color: var(--accent); }

.section-divider { height: 1px; background: var(--border); margin: 4px 0; }

.btn-primary {
  font: inherit;
  font-weight: 650;
  padding: 13px;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-top: 4px;
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-error {
  background: var(--danger-soft);
  color: var(--danger);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
}
.form-success {
  background: var(--success-soft);
  color: var(--success);
  padding: 18px;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
}

.app-footer {
  text-align: center;
  padding: 8px 20px 32px;
  color: var(--text-faint);
  font-size: 12.5px;
}
