/* Account — orders, notifications, service wizard */
.notif-wrap { position: relative; }
.notif-btn {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--surface-border);
  color: var(--navy);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-btn:hover { background: var(--gold-light); border-color: rgba(232, 149, 10, 0.35); color: var(--gold-dark); }
.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notif-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: 420px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: var(--rs);
  box-shadow: var(--sh-lg);
  z-index: 200;
  display: none;
}
.notif-panel.open { display: block; }
.notif-panel-head {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bd);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.notif-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--bd);
  cursor: pointer;
  transition: background 0.15s;
}
.notif-item:hover { background: var(--gold-light); }
.notif-item.unread { background: #f8fbff; border-left: 3px solid var(--gold-dark); }
.notif-item-msg { font-size: 0.84rem; color: var(--tx); line-height: 1.45; }
.notif-item-time { font-size: 0.72rem; color: var(--tx3); margin-top: 4px; }
.notif-empty { padding: 28px 16px; text-align: center; color: var(--tx3); font-size: 0.85rem; }

.orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.orders-tab-btn {
  flex: 1 1 auto;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--bd);
  border-radius: var(--rs);
  background: var(--white);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tx2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.2;
}
.orders-tab-btn:hover { border-color: var(--gold-dark); }
.orders-tab-btn.active {
  background: var(--gold-light);
  border-color: var(--gold-dark);
  color: var(--navy);
}
.orders-tab-count {
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.orders-tab-btn.active .orders-tab-count {
  background: var(--gold-dark);
  color: #fff;
}

.order-item.clickable { cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.order-item.clickable:hover { border-color: var(--gold-dark); box-shadow: var(--sh); }

.order-detail-back {
  background: none;
  border: none;
  color: var(--gold-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 0;
}
.order-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.order-detail-title { font-family: var(--font-display); font-size: 1.35rem; color: var(--navy); }
.order-detail-ref { font-size: 0.8rem; color: var(--tx3); margin-top: 4px; }

.timeline { margin: 20px 0; padding-left: 4px; }
.timeline-step {
  display: flex;
  gap: 12px;
  padding-bottom: 18px;
  position: relative;
}
.timeline-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 24px;
  bottom: 0;
  width: 2px;
  background: var(--bd);
}
.timeline-step.done:not(:last-child)::before { background: var(--ok); }
.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--bd);
  background: var(--white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--tx3);
}
.timeline-step.done .timeline-dot { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }
.timeline-step.current .timeline-dot { border-color: var(--gold-dark); background: var(--gold-light); color: var(--gold-dark); }
.timeline-label { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.timeline-sub { font-size: 0.78rem; color: var(--tx2); margin-top: 2px; }

.detail-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px 16px;
  background: var(--bg);
  border-radius: var(--rs);
  font-size: 0.86rem;
}
.detail-grid dt { color: var(--tx3); font-weight: 500; }
.detail-grid dd { color: var(--navy); font-weight: 600; margin: 0; }

.pay-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pay-banner {
  margin-top: 16px;
  padding: 14px 16px;
  background: #eef6ff;
  border: 1px solid #b8d4f0;
  border-radius: var(--rs);
  font-size: 0.86rem;
  color: #1a4a7a;
}
.pay-banner strong { display: block; margin-bottom: 4px; font-size: 1rem; }

.auth-toggle {
  margin-top: 18px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--tx2);
}
.auth-toggle button {
  background: none;
  border: none;
  color: var(--gold-dark);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

/* Service wizard */
.wizard-shell { margin-top: 8px; }
.wizard-steps {
  display: flex;
  gap: 8px;
  margin: 16px 0 20px;
}
.wizard-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tx3);
}
.wizard-step-dot.active { border-color: var(--gold-dark); background: var(--gold-light); color: var(--gold-dark); }
.wizard-step-dot.done { border-color: var(--ok); background: var(--ok-bg); color: var(--ok); }

.upload-zone {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--bd);
  border-radius: var(--r);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.upload-zone:hover { border-color: var(--gold-dark); background: var(--gold-light); }
.upload-zone-icon { font-size: 2.2rem; margin-bottom: 10px; }
.upload-zone p { font-size: 0.9rem; color: var(--tx2); margin: 0; }
.upload-zone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.upload-zone .upload-zone-icon,
.upload-zone p {
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.wizard-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 16px 0;
}
.wizard-opt {
  padding: 14px 12px;
  border: 1px solid var(--bd);
  border-radius: var(--rs);
  background: var(--white);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color 0.15s, background 0.15s;
}
.wizard-opt:hover { border-color: var(--gold-dark); background: var(--gold-light); }

.wizard-field { margin-bottom: 14px; }
.wizard-field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--tx2); margin-bottom: 6px; }
.wizard-field input,
.wizard-field textarea,
.wizard-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--bd);
  border-radius: var(--rs);
  font: inherit;
  font-size: 0.9rem;
}
.wizard-field input[readonly] { background: var(--bg); color: var(--tx2); }

.wizard-msg {
  padding: 14px 16px;
  border-radius: var(--rs);
  font-size: 0.86rem;
  margin: 12px 0;
}
.wizard-msg.ok { background: var(--ok-bg); color: var(--ok); }
.wizard-msg.err { background: var(--err-bg); color: var(--err); }

.flight-booking-item {
  border: 1px solid var(--bd);
  border-radius: var(--rs);
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.flight-booking-item.held { border-color: rgba(232, 149, 10, 0.4); background: var(--gold-light); }

.payment-toast {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 36, 0.55);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.payment-toast-card {
  background: var(--white);
  border-radius: var(--r);
  padding: 32px 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: var(--sh-lg);
}
.payment-toast-card h3 { font-family: var(--font-display); color: var(--navy); margin: 12px 0 8px; }
.payment-toast-card p { font-size: 0.88rem; color: var(--tx2); line-height: 1.5; }

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
