/* AM Adventures registration theme — matches the 2025 flyer */

:root {
  --amadv-sky:        #87CEEB;
  --amadv-sky-deep:   #4FB3D9;
  --amadv-sand:       #F4D7B0;
  --amadv-coral:      #FF8C42;
  --amadv-coral-dark: #E0721F;
  --amadv-brown:      #7B4A1F;
  --amadv-sun:        #FFD43B;
  --amadv-leaf:       #4CB050;
}

body.amadv-page {
  margin: 0;
  min-height: 100vh;
  font-family: 'Source Sans Pro', system-ui, -apple-system, Segoe UI, sans-serif;
  background:
    linear-gradient(180deg, var(--amadv-sky) 0%, var(--amadv-sky-deep) 60%, var(--amadv-sand) 100%);
  background-attachment: fixed;
  color: #2c3e50;
}

.amadv-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

.amadv-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.amadv-logo-wrap img {
  max-height: 110px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
}

.amadv-title {
  text-align: center;
  color: var(--amadv-brown);
  font-weight: 800;
  margin: 0.25rem 0 0.25rem;
  text-shadow: 0 2px 0 rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

.amadv-subtitle {
  text-align: center;
  color: #1f3b59;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.amadv-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  box-shadow:
    0 12px 28px rgba(31, 59, 89, 0.18),
    0 2px 6px rgba(31, 59, 89, 0.08);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.amadv-card h2 {
  color: var(--amadv-brown);
  font-weight: 800;
  margin-bottom: 1rem;
  border-bottom: 3px dotted var(--amadv-coral);
  padding-bottom: 0.5rem;
}

.amadv-section {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 2px dashed #d6e4ee;
}
.amadv-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.amadv-section-tag {
  display: inline-block;
  background: var(--amadv-sun);
  color: var(--amadv-brown);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.4px;
  margin-bottom: 0.4rem;
}
.amadv-section h3 {
  color: var(--amadv-brown);
  font-weight: 800;
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.amadv-acknowledgment {
  background: #fff8e6;
  border: 2px solid var(--amadv-sun);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a3717;
  margin-bottom: 0.75rem;
}

.amadv-notice {
  font-size: 0.85rem;
  color: #5a3a17;
  background: #fff8e6;
  border-left: 4px solid var(--amadv-sun);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.amadv-card label {
  font-weight: 600;
  color: #1f3b59;
  margin-bottom: 0.25rem;
}

.amadv-card .form-control,
.amadv-card .form-select {
  border-radius: 12px;
  border: 2px solid #d6e4ee;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.amadv-card .form-control:focus,
.amadv-card .form-select:focus {
  border-color: var(--amadv-coral);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.25);
}

.amadv-tshirt-grid .form-check {
  display: inline-block;
  margin-right: 1.1rem;
  margin-bottom: 0.4rem;
}

.amadv-btn-primary {
  background: var(--amadv-coral);
  border: none;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  font-size: 1.1rem;
  letter-spacing: 0.4px;
  box-shadow: 0 4px 0 var(--amadv-coral-dark), 0 6px 14px rgba(0,0,0,0.12);
  transition: transform 0.05s, box-shadow 0.05s;
}
.amadv-btn-primary:hover {
  background: var(--amadv-coral-dark);
  color: #fff;
}
.amadv-btn-primary:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--amadv-coral-dark), 0 3px 8px rgba(0,0,0,0.12);
}

.amadv-required::after {
  content: ' *';
  color: var(--amadv-coral);
}

.amadv-success {
  background: #e7f7ee;
  border: 2px solid var(--amadv-leaf);
  border-radius: 14px;
  padding: 1.1rem;
  color: #1d6a36;
  text-align: center;
  font-weight: 600;
}

.amadv-error {
  background: #fdecea;
  border: 2px solid #e57373;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #8a1f1f;
}

.amadv-tile {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 18px;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow:
    0 8px 18px rgba(31, 59, 89, 0.18),
    0 2px 6px rgba(31, 59, 89, 0.08);
  transition: transform 0.1s, box-shadow 0.1s;
  height: 100%;
}
.amadv-tile:hover {
  transform: translateY(-3px);
  box-shadow:
    0 14px 24px rgba(31, 59, 89, 0.22),
    0 2px 6px rgba(31, 59, 89, 0.08);
  text-decoration: none;
}
.amadv-tile h3 {
  color: var(--amadv-brown);
  font-weight: 800;
  margin: 0.5rem 0 0.4rem;
}
.amadv-tile .amadv-tile-emoji {
  font-size: 3.2rem;
  line-height: 1;
}
.amadv-tile p {
  color: #1f3b59;
  margin: 0;
  font-size: 0.95rem;
}

.amadv-footer {
  text-align: center;
  margin-top: 1.75rem;
  color: #1f3b59;
  font-size: 0.85rem;
}
