/* 星伴陪玩 · 门户 Bootstrap 旅行风 */
:root {
  --portal-primary: #0d6efd;
  --portal-primary-dark: #0a58ca;
  --portal-accent: #00bcd4;
  --portal-dark: #0b1d33;
  --portal-muted: #6c757d;
  --portal-light: #f4f8fc;
  --portal-radius: 12px;
}

body.portal-site {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #333;
  background: #fff;
}

.portal-topbar {
  background: var(--portal-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.5rem 0;
}

.portal-topbar a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.portal-topbar a:hover { color: #fff; }

.portal-navbar {
  background: #fff !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
}

.portal-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--portal-dark) !important;
}

.portal-navbar .navbar-brand span { color: var(--portal-primary); }

.portal-navbar .nav-link {
  color: #444 !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.15rem;
  border-radius: 8px;
}

.portal-navbar .nav-link:hover,
.portal-navbar .nav-link.active {
  color: var(--portal-primary) !important;
  background: rgba(13, 110, 253, 0.08);
}

.btn-portal-primary {
  background: var(--portal-primary);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-portal-primary:hover {
  background: var(--portal-primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.btn-portal-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  background: transparent;
}

.btn-portal-outline:hover { background: #fff; color: var(--portal-primary); }

.portal-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(11, 29, 51, 0.55), rgba(11, 29, 51, 0.7)),
    url("https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1920&q=80") center/cover no-repeat;
  color: #fff;
}

.portal-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.portal-hero .lead { font-size: 1.15rem; opacity: 0.92; max-width: 540px; }

.portal-booking-bar {
  background: #fff;
  border-radius: var(--portal-radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 1.5rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.portal-booking-bar .form-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--portal-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--portal-dark);
  margin-bottom: 0.5rem;
}

.section-subtitle { color: var(--portal-muted); max-width: 560px; margin: 0 auto 2.5rem; }

.bg-portal-light { background: var(--portal-light); }

.dest-card {
  border: none;
  border-radius: var(--portal-radius);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.dest-card .card-img-top { height: 220px; object-fit: cover; }
.dest-card .price { color: var(--portal-primary); font-weight: 700; font-size: 1.25rem; }
.dest-card .rating { color: #ffc107; font-size: 0.875rem; }
.dest-card .location { font-size: 0.8rem; color: var(--portal-muted); }

.feature-box {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--portal-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.2s;
}

.feature-box:hover { transform: translateY(-4px); }

.feature-box .icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  background: rgba(13, 110, 253, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--portal-primary);
}

.testimonial-card {
  background: #fff;
  border-radius: var(--portal-radius);
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.testimonial-card .stars { color: #ffc107; margin-bottom: 1rem; }

.testimonial-card .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--portal-primary), var(--portal-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.team-card {
  border: none;
  border-radius: var(--portal-radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding-bottom: 1.25rem;
  background: #fff;
}

.team-card .team-avatar {
  width: 100px;
  height: 100px;
  margin: -50px auto 1rem;
  border-radius: 50%;
  border: 4px solid #fff;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.team-card .card-body { padding-top: 3.5rem; }

.portal-cta {
  background: linear-gradient(135deg, var(--portal-primary) 0%, #0099cc 100%);
  color: #fff;
  border-radius: var(--portal-radius);
  padding: 3.5rem 2rem;
  text-align: center;
}

.page-banner {
  background: linear-gradient(rgba(11, 29, 51, 0.75), rgba(11, 29, 51, 0.85)),
    url("https://images.unsplash.com/photo-1542751371-adc38448a05e?w=1920&q=80") center/cover;
  color: #fff;
  padding: 6rem 0 4rem;
}

.portal-footer {
  background: var(--portal-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4rem 0 0;
}

.portal-footer h5 { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 1.25rem; }
.portal-footer a { color: rgba(255, 255, 255, 0.65); text-decoration: none; font-size: 0.9rem; }
.portal-footer a:hover { color: #fff; }

.portal-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding: 1.5rem 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

.portal-login-wrap {
  min-height: 100vh;
  background: linear-gradient(rgba(11, 29, 51, 0.6), rgba(11, 29, 51, 0.75)),
    url("https://images.unsplash.com/photo-1493711667672-f174a503179c?w=1920&q=80") center/cover;
  display: flex;
  align-items: center;
  padding: 6rem 1rem 3rem;
}

.portal-login-card {
  background: #fff;
  border-radius: var(--portal-radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.service-price-card {
  border: none;
  border-radius: var(--portal-radius);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  height: 100%;
  background: #fff;
  transition: transform 0.2s;
}

.service-price-card:hover { transform: translateY(-4px); }

.service-price-card.featured {
  border: 2px solid var(--portal-primary);
  position: relative;
}

.service-price-card .badge-popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--portal-primary);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.stat-counter .num { font-size: 2.5rem; font-weight: 800; color: var(--portal-primary); }
.stat-counter .label { color: var(--portal-muted); font-size: 0.9rem; }

/* —— 陪玩入驻 · 简约大气 —— */
.apply-page {
  background: linear-gradient(180deg, #f0f4fa 0%, #f8fafc 28%, #fff 100%);
  min-height: 100vh;
  padding-bottom: 4rem;
}

.apply-hero {
  padding: 4.5rem 0 3rem;
  text-align: center;
  background: linear-gradient(180deg, #0b1d33 0%, #132d4a 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.apply-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(13, 110, 253, 0.25), transparent);
  pointer-events: none;
}

.apply-hero .container { position: relative; z-index: 1; }

.apply-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 0.75rem;
}

.apply-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.apply-lead {
  font-size: 0.95rem;
  opacity: 0.78;
  max-width: 420px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.apply-steps-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  opacity: 0.6;
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.apply-steps-hint i { font-size: 0.65rem; opacity: 0.5; }

.apply-body {
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.apply-shell {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(11, 29, 51, 0.04), 0 24px 48px rgba(11, 29, 51, 0.08);
  border: 1px solid rgba(11, 29, 51, 0.06);
  padding: 2.5rem 2rem;
}

@media (min-width: 768px) {
  .apply-shell { padding: 3rem 2.75rem; }
}

.apply-alert {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  line-height: 1.55;
}

.apply-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.apply-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.apply-alert-icon { font-size: 1.35rem; line-height: 1; margin-top: 0.1rem; }
.apply-alert code {
  background: rgba(0, 0, 0, 0.06);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-size: 0.85em;
}

.apply-link { color: #059669; font-weight: 600; text-decoration: none; }
.apply-link:hover { text-decoration: underline; }

.apply-section {
  padding-bottom: 2.25rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid #eef1f5;
}

.apply-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.apply-section-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.apply-section-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--portal-primary);
  background: rgba(13, 110, 253, 0.08);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.apply-section-head h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--portal-dark);
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}

.apply-section-head p {
  font-size: 0.8125rem;
  color: var(--portal-muted);
  margin: 0;
}

.apply-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
}

.apply-label em {
  font-style: normal;
  color: #ef4444;
  margin-left: 2px;
}

.apply-input {
  width: 100%;
  border: 1px solid #e5e9ef;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.9375rem;
  background: #fafbfc;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.apply-input:focus {
  outline: none;
  border-color: var(--portal-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

.apply-input-mono { font-family: ui-monospace, "Cascadia Code", monospace; font-size: 0.9rem; }

.apply-hint {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.4rem;
}

.apply-level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.apply-level-card { cursor: pointer; margin: 0; position: relative; }

.apply-level-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.apply-level-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid #e8ecf2;
  border-radius: 12px;
  background: #fafbfc;
  transition: all 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.apply-level-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.apply-level-card input:checked + .apply-level-inner {
  border-color: var(--portal-primary);
  background: rgba(13, 110, 253, 0.06);
  color: var(--portal-primary);
  box-shadow: 0 0 0 1px rgba(13, 110, 253, 0.15);
}

.apply-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.apply-chip { cursor: pointer; margin: 0; position: relative; }

.apply-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.apply-chip-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border: 1.5px solid #e8ecf2;
  border-radius: 999px;
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #4b5563;
  transition: all 0.2s;
  user-select: none;
}

.apply-chip-emoji { font-size: 1rem; line-height: 1; }

.apply-chip-img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  object-fit: cover;
}

.apply-chip input:checked + .apply-chip-inner {
  border-color: var(--portal-primary);
  background: rgba(13, 110, 253, 0.07);
  color: var(--portal-primary);
}

.apply-footer {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

.apply-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #0d6efd 0%, #0088cc 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(13, 110, 253, 0.35);
}

.apply-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(13, 110, 253, 0.4);
  color: #fff;
}

.apply-submit i { font-size: 1.1rem; transition: transform 0.2s; }
.apply-submit:hover i { transform: translateX(3px); }

.apply-footer-links {
  text-align: center;
  font-size: 0.8125rem;
  color: #9ca3af;
  margin: 1.25rem 0 0;
}

.apply-footer-links a {
  color: var(--portal-primary);
  text-decoration: none;
  font-weight: 500;
}

.apply-hint.is-error { color: #dc2626 !important; }
.apply-hint.is-ok { color: #059669 !important; }
