/* =========================================================================
   PowerPump Discovery — supplemental styles
   Layered on top of style.css. Calmer, utilitarian, card-based.
   No scanlines / bg-grid — those elements are simply absent from the HTML.
   ========================================================================= */

/* Ensure the HTML hidden attribute always wins over author display rules */
[hidden] { display: none !important; }

/* ── Page background (subtler than the landing) ─────────────────────────── */
.disc-page {
  background:
    radial-gradient(80rem 50rem at 30% -10%, rgba(0, 184, 255, 0.05), transparent 60%),
    radial-gradient(60rem 40rem at 80% 60%, rgba(0, 184, 255, 0.04), transparent 60%),
    var(--bg);
}

/* ── Shared form elements ────────────────────────────────────────────────── */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.02em;
}
.field-note {
  font-size: 0.75rem;
  color: var(--text-3);
  font-family: var(--ff-mono);
  letter-spacing: 0.02em;
}
.disc-input,
.disc-select,
.disc-textarea {
  width: 100%;
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 0.95rem;
  padding: 10px 14px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
  -webkit-appearance: none;
}
.disc-input::placeholder,
.disc-textarea::placeholder {
  color: var(--text-4);
}
.disc-input:focus,
.disc-select:focus,
.disc-textarea:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 184, 255, 0.12);
}
.disc-textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.55;
}
.disc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d8ba1' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.disc-checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-2);
}
.disc-checkbox-row input[type='checkbox'] {
  width: 18px;
  height: 18px;
  accent-color: var(--neon);
  cursor: pointer;
  flex-shrink: 0;
}

/* ── Alert / feedback messages ───────────────────────────────────────────── */
.disc-alert {
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  line-height: 1.5;
  display: none;
}
.disc-alert.is-visible {
  display: block;
}
.disc-alert--error {
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.4);
  color: #ff9898;
}
.disc-alert--success {
  background: rgba(46, 224, 109, 0.1);
  border: 1px solid rgba(46, 224, 109, 0.35);
  color: #5de890;
}
.disc-alert--info {
  background: rgba(0, 184, 255, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}

/* ── Spinner ─────────────────────────────────────────────────────────────── */
.disc-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid var(--line-strong);
  border-top-color: var(--neon);
  border-radius: 50%;
  animation: discSpin 0.7s linear infinite;
  margin: 0 auto;
}
@keyframes discSpin {
  to { transform: rotate(360deg); }
}
.disc-loading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 64px 0;
  color: var(--text-3);
  font-size: 0.9rem;
}

/* ── Badges ──────────────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  white-space: nowrap;
}
.badge-city {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-strong);
  color: var(--text-2);
}
.badge-online {
  background: rgba(0, 184, 255, 0.12);
  border: 1px solid rgba(0, 184, 255, 0.3);
  color: var(--neon);
}
.badge-verified {
  background: rgba(46, 224, 109, 0.1);
  border: 1px solid rgba(46, 224, 109, 0.35);
  color: var(--ok);
}
.badge-accepting {
  background: rgba(46, 224, 109, 0.08);
  border: 1px solid rgba(46, 224, 109, 0.25);
  color: #5de890;
}

/* ── Language chips ──────────────────────────────────────────────────────── */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(0, 184, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.chip-remove {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--text-3);
  font-size: 1rem;
  line-height: 1;
  transition: color 0.15s ease;
}
.chip-remove:hover {
  color: var(--danger);
}
.chip-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.chip-input-row .disc-input {
  flex: 1;
}

/* =========================================================================
   Discovery hero
   ========================================================================= */
.disc-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.disc-hero-kicker {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--neon);
  text-transform: lowercase;
  margin-bottom: 12px;
}
.disc-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.disc-hero-sub {
  color: var(--text-2);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  max-width: 54ch;
  margin: 0 auto 32px;
}
.disc-search-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}
.disc-search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-3);
  pointer-events: none;
}
.disc-search {
  width: 100%;
  background: rgba(10, 22, 40, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 1rem;
  padding: 12px 20px 12px 44px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  appearance: none;
}
.disc-search::placeholder {
  color: var(--text-4);
}
.disc-search:focus {
  outline: none;
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(0, 184, 255, 0.12);
}

/* =========================================================================
   Filters bar
   ========================================================================= */
.disc-filters-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 22, 40, 0.4);
}
.disc-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}
.disc-filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 140px;
}
.disc-filter-group label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.02em;
  font-family: var(--ff-mono);
  white-space: nowrap;
}
.disc-filter-group .disc-input,
.disc-filter-group .disc-select {
  font-size: 0.88rem;
  padding: 8px 12px;
  height: 38px;
}
.disc-filter-group .disc-select {
  padding-right: 30px;
}
.disc-price-pair {
  display: flex;
  gap: 6px;
}
.disc-price-pair .disc-input {
  width: 80px;
}
.disc-filter-check-group {
  display: flex;
  align-items: flex-end;
  padding-bottom: 2px;
}
.disc-filter-reset {
  height: 38px;
  padding: 0 14px;
  font-size: 0.8rem;
  align-self: flex-end;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-3);
  font-family: var(--ff-mono);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.disc-filter-reset:hover {
  color: var(--text);
  border-color: var(--text-3);
}

/* =========================================================================
   Results
   ========================================================================= */
.disc-results-section {
  padding: clamp(32px, 5vw, 64px) 0;
}
.disc-results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.disc-results-count {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.disc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.disc-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 64px 0;
  color: var(--text-3);
  font-size: 0.95rem;
}
.disc-empty svg {
  width: 40px;
  height: 40px;
  color: var(--text-4);
  margin: 0 auto 16px;
  display: block;
}

/* ── Specialist card ─────────────────────────────────────────────────────── */
.disc-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 29, 52, 0.75), rgba(10, 22, 40, 0.75));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.disc-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}
.disc-card-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(0, 184, 255, 0.06);
  overflow: hidden;
}
.disc-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.disc-card-photo--placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 3rem;
  color: var(--neon);
  opacity: 0.35;
}
.disc-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.disc-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 24px;
}
.disc-card-name {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}
.disc-card-profession {
  font-size: 0.85rem;
  color: var(--text-2);
}
.disc-card-price {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--neon);
  letter-spacing: 0.02em;
}
.disc-card-langs {
  font-size: 0.78rem;
  color: var(--text-3);
}
.disc-card-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.disc-card-cta {
  height: 34px;
  padding: 0 14px;
  font-size: 0.78rem;
  margin-left: auto;
}

/* =========================================================================
   Join CTA section
   ========================================================================= */
.disc-join-section {
  padding: clamp(56px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 184, 255, 0.03), transparent);
}
.disc-join-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 14px;
}
.disc-join-sub {
  color: var(--text-2);
  max-width: 48ch;
  margin: 0 auto 28px;
  font-size: 1rem;
}
.disc-join-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.disc-join-login-note {
  font-size: 0.88rem;
  color: var(--text-3);
}
.disc-join-login-note a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease;
}
.disc-join-login-note a:hover {
  opacity: 0.8;
}

/* =========================================================================
   Auth pages (login + signup)
   ========================================================================= */
.auth-page {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(40px, 6vw, 80px) 20px;
}
.auth-card {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(180deg, rgba(15, 29, 52, 0.8), rgba(10, 22, 40, 0.8));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
}
.auth-kicker {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--neon);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.auth-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 6px;
}
.auth-subtitle {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-bottom: 28px;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.auth-divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}
.auth-footer-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 20px;
}
.auth-footer-note a {
  color: var(--neon);
  transition: opacity 0.15s ease;
}
.auth-footer-note a:hover {
  opacity: 0.8;
}
.auth-private-group {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-private-label {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* Verification step (signup step 2 + pending state) */
.auth-verify-card {
  text-align: center;
  max-width: 520px;
}
.auth-verify-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 184, 255, 0.1);
  border: 1px solid var(--line-strong);
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.auth-verify-icon svg {
  width: 26px;
  height: 26px;
}
.auth-verify-email {
  display: inline-block;
  margin: 14px 0;
  padding: 10px 20px;
  background: rgba(0, 184, 255, 0.08);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-family: var(--ff-mono);
  font-size: 0.92rem;
  color: var(--neon);
  word-break: break-all;
}
.auth-verify-note {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 12px 0 24px;
}

/* =========================================================================
   Dashboard editor
   ========================================================================= */
.dash-page {
  min-height: calc(100vh - var(--nav-h));
  padding: clamp(32px, 5vw, 56px) 0 64px;
}
.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.dash-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}
.dash-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.dash-editor {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 760px;
}
.dash-section {
  background: linear-gradient(180deg, rgba(15, 29, 52, 0.6), rgba(10, 22, 40, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dash-section-title {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--neon);
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.dash-private-note {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}
.dash-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Photo upload */
.dash-photo-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.dash-photo-preview {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 184, 255, 0.08);
  border: 2px solid var(--line-strong);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-family: var(--ff-display);
  font-size: 2rem;
}
.dash-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dash-photo-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-photo-help {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* Dynamic rows (locations, services) */
.dynamic-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dynamic-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}
.dynamic-row--service {
  grid-template-columns: 1fr 120px auto;
}
.btn-remove {
  height: 38px;
  width: 38px;
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius);
  color: var(--danger);
  background: rgba(255, 107, 107, 0.08);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}
.btn-remove:hover {
  background: rgba(255, 107, 107, 0.18);
  border-color: var(--danger);
}
.btn-remove svg {
  width: 16px;
  height: 16px;
}
.btn-add {
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-2);
  padding: 9px 16px;
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  text-align: left;
}
.btn-add:hover {
  color: var(--neon);
  border-color: var(--neon);
}

/* Save bar */
.dash-save-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 8px;
}
.dash-saved-msg {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--ok);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dash-saved-msg.is-visible {
  opacity: 1;
}

/* =========================================================================
   Booking schedule availability editor (dashboard)
   ========================================================================= */
.dash-section-sub {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-3);
  text-transform: uppercase;
}
.avail-weekly {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.avail-day-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  border-bottom: 1px solid var(--line);
}
.avail-day-row:last-child {
  border-bottom: none;
}
.avail-day-label {
  padding: 14px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  background: rgba(0, 0, 0, 0.15);
  border-right: 1px solid var(--line);
}
.avail-day-slots {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.avail-slot-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avail-slot-row .avail-time {
  width: 110px;
  flex-shrink: 0;
  padding: 7px 10px;
  font-size: 0.88rem;
}
.avail-sep {
  color: var(--text-3);
  flex-shrink: 0;
}
.avail-slot-remove {
  height: 34px;
  width: 34px;
}
.avail-slot-remove svg {
  width: 14px;
  height: 14px;
}
.avail-ex-remove {
  height: 30px;
  width: 30px;
}
.avail-ex-remove svg {
  width: 13px;
  height: 13px;
}
.avail-add-slot {
  align-self: flex-start;
  padding: 6px 12px;
  font-size: 0.78rem;
}
.avail-add-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.avail-add-row .disc-input {
  width: auto;
}
.avail-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 30px;
}
.avail-blocked-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 107, 107, 0.08);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: var(--ff-mono);
  color: #ff9898;
}
.avail-exceptions-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.avail-exception-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.avail-exception-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--line);
}
.avail-exception-date {
  font-family: var(--ff-mono);
  font-size: 0.82rem;
  color: var(--neon);
}
.avail-ex-slots {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================================================================
   Upcoming appointments view (dashboard)
   ========================================================================= */
.dash-appointments {
  max-width: 760px;
  margin-top: 48px;
}
.appt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.appt-empty {
  color: var(--text-3);
  font-size: 0.9rem;
  padding: 24px 0;
}
.appt-card {
  background: linear-gradient(180deg, rgba(15, 29, 52, 0.6), rgba(10, 22, 40, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.appt-datetime {
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  color: var(--neon);
  letter-spacing: 0.02em;
}
.appt-client {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.appt-client-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.appt-client-email {
  font-family: var(--ff-mono);
  font-size: 0.8rem;
  color: var(--neon);
  transition: opacity 0.15s ease;
}
.appt-client-email:hover {
  opacity: 0.75;
}
.appt-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.appt-mode {
  font-size: 0.82rem;
  color: var(--text-3);
  font-family: var(--ff-mono);
}
.appt-note {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.appt-cancel-btn {
  margin-top: 12px;
  font-size: 0.8rem;
  padding: 6px 14px;
  height: auto;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s, border-color 0.15s;
}
.appt-cancel-btn:hover { opacity: 1; }
.appt-cancel-btn.is-danger {
  color: #ff4d4d;
  border-color: #ff4d4d;
  opacity: 1;
}

/* =========================================================================
   Booking calendar (specialist profile)
   ========================================================================= */
.booking-sub {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--text-2);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.booking-back {
  margin-bottom: 14px;
  font-size: 0.82rem;
  padding: 7px 14px;
}
.booking-date-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.booking-date-btn {
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-2);
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  padding: 8px 4px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
  line-height: 1.4;
}
.booking-date-btn:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.booking-date-btn.is-selected {
  background: rgba(0, 184, 255, 0.12);
  border-color: var(--neon);
  color: var(--neon);
}
.booking-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.booking-slot-btn {
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text-2);
  font-family: var(--ff-mono);
  font-size: 0.9rem;
  padding: 10px 8px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.booking-slot-btn:hover {
  border-color: var(--neon);
  color: var(--neon);
}
.booking-slot-btn.is-selected {
  background: rgba(0, 184, 255, 0.12);
  border-color: var(--neon);
  color: var(--neon);
}
@media (max-width: 560px) {
  .booking-date-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* =========================================================================
   Public specialist profile
   ========================================================================= */
.profile-page {
  min-height: calc(100vh - var(--nav-h));
  padding: clamp(40px, 6vw, 80px) 0 80px;
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}
.profile-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.profile-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: rgba(0, 184, 255, 0.06);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 5rem;
  color: var(--neon);
  opacity: 0.35;
}
.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}
.profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}
.profile-profession {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.profile-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.profile-contact-btn {
  width: 100%;
  margin-top: 4px;
}

.profile-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.profile-section {
  background: linear-gradient(180deg, rgba(15, 29, 52, 0.6), rgba(10, 22, 40, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
}
.profile-section-title {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.profile-bio {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.97rem;
  white-space: pre-wrap;
}
.profile-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--text-2);
}
.profile-meta-item:last-child {
  border-bottom: none;
}
.profile-meta-label {
  font-weight: 500;
  color: var(--text);
  min-width: 120px;
  flex-shrink: 0;
}
.profile-location-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.profile-location-item:last-child {
  border-bottom: none;
}
.profile-location-name {
  font-weight: 500;
  margin-bottom: 2px;
}
.profile-location-addr {
  color: var(--text-3);
  font-size: 0.88rem;
}
.profile-location-map {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 0.76rem;
  color: var(--neon);
  transition: opacity 0.15s ease;
}
.profile-location-map:hover {
  opacity: 0.75;
}
.profile-service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.profile-service-row:last-child {
  border-bottom: none;
}
.profile-service-name {
  color: var(--text-2);
  font-size: 0.92rem;
}
.profile-service-price {
  font-family: var(--ff-mono);
  color: var(--neon);
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Not found state */
.profile-not-found {
  text-align: center;
  padding: 80px 20px;
  max-width: 480px;
  margin: 0 auto;
}
.profile-not-found-title {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.5;
}

/* Contact form (in profile) */
.profile-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profile-contact-note {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--text-3);
  border-left: 2px solid var(--neon-dim);
  padding-left: 10px;
  line-height: 1.5;
}

/* =========================================================================
   Discovery footer (simplified)
   ========================================================================= */
.disc-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 22, 0.5));
}
.disc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.disc-footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-3);
}
.disc-footer-links a {
  transition: color 0.15s ease;
}
.disc-footer-links a:hover {
  color: var(--text);
}
.disc-footer-copy {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: var(--text-4);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1024px) {
  .disc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .profile-layout {
    grid-template-columns: 220px 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .disc-filters-bar {
    gap: 8px;
  }
  .disc-filter-group {
    min-width: calc(50% - 4px);
    flex: 1 1 calc(50% - 4px);
  }
  .auth-form-row {
    grid-template-columns: 1fr;
  }
  .dash-form-row {
    grid-template-columns: 1fr;
  }
  .dynamic-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }
  .dynamic-row--service {
    grid-template-columns: 1fr auto;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 20px;
    align-items: start;
  }
  .profile-photo {
    margin-bottom: 0;
    font-size: 3rem;
  }
  .profile-contact-btn {
    width: auto;
  }
}

@media (max-width: 560px) {
  .disc-grid {
    grid-template-columns: 1fr;
  }
  .disc-filter-group {
    min-width: 100%;
    flex: 1 1 100%;
  }
  .profile-sidebar {
    grid-template-columns: 1fr;
  }
  .disc-join-links {
    flex-direction: column;
    align-items: stretch;
  }
  .disc-join-links .btn {
    text-align: center;
    justify-content: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .disc-spinner {
    animation: none;
    border-top-color: var(--neon);
    opacity: 0.7;
  }
}
