:root {
  --bg: #05070D;
  --bg-soft: #0B0F1A;
  --cyan: #00ffff;
  --cyan-2: #22d3ee;
  --violet: #7c5cff;
  --amber: #ffb454;
  --cyan-soft: rgba(0, 255, 255, 0.12);
  --text: #E9F5F8;
  --text-dim: #93A6B3;
  --border: rgba(0, 255, 255, 0.16);
  --border-soft: rgba(255, 255, 255, 0.08);
  --glass: rgba(255, 255, 255, 0.035);
  --shadow-glow: 0 0 0 1px var(--border), 0 20px 60px -20px rgba(0, 255, 255, 0.25), 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

body {
  position: relative;
  background:
    radial-gradient(1200px 800px at 50% -10%, rgba(0, 255, 255, 0.06), transparent 60%),
    var(--bg);
  animation: pageFadeIn 0.4s ease both;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

::selection {
  background: var(--cyan);
  color: #05070D;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.2);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 255, 0.35);
  background-clip: padding-box;
}

h1, h2, h3 {
  font-family: var(--font-display);
}

/* ---- Intro / splash (index.html) ---- */

.intro {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.glow {
  position: absolute;
  top: 46%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--cyan-soft) 0%, transparent 65%);
  pointer-events: none;
  filter: blur(4px);
  animation: glowDrift 9s ease-in-out infinite alternate;
}

.glow::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 60%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.14) 0%, transparent 70%);
  border-radius: 50%;
}

@keyframes glowDrift {
  from { transform: translate(-52%, -48%) scale(1); }
  to { transform: translate(-48%, -52%) scale(1.08); }
}

.intro-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
}

.brand-mark {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-glow);
  opacity: 0;
  animation: splashPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.app-name {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0;
  color: var(--text);
  opacity: 0;
  animation: splashFadeUp 0.5s ease forwards;
  animation-delay: 0.25s;
}

.app-name span {
  background: linear-gradient(120deg, var(--cyan) 10%, var(--violet) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.by-line {
  margin: 8px 0 30px;
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.03em;
  opacity: 0;
  animation: splashFadeUp 0.5s ease forwards;
  animation-delay: 0.4s;
}

@keyframes splashPop {
  from { opacity: 0; transform: scale(0.75) rotate(-4deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

@keyframes splashFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Το tagline, τα κουμπιά και το footer μπαίνουν μετά το intro του λογότυπου,
   ώστε να παίζει σαν σύντομο splash screen (~1 δευτερόλεπτο) όταν ανοίγει η σελίδα. */
.intro-reveal {
  opacity: 0;
  animation: splashFadeUp 0.6s ease forwards;
  animation-delay: 1.05s;
}

.by-line strong {
  color: var(--text);
  font-weight: 600;
}

.by-line .dot {
  color: var(--cyan);
}

.tagline {
  font-size: 1.08rem;
  color: var(--text-dim);
  margin: 0 0 36px;
  line-height: 1.5;
}

/* Live μετρητής διαθέσιμων τεχνικών στην αρχική */
.live-now {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -14px auto 28px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 24px -6px rgba(34, 197, 94, 0.45);
  opacity: 0;
  animation: splashFadeUp 0.6s ease forwards;
  animation-delay: 1.2s;
}

.live-now[hidden] {
  display: none;
}

.live-now:hover {
  background: rgba(34, 197, 94, 0.16);
}

.live-dot {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: liveRipple 1.8s ease-out infinite;
}

@keyframes liveRipple {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0; }
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 15px 20px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.18s ease, opacity 0.15s ease, background 0.18s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 55%, #4de3ff 100%);
  color: #05131A;
  box-shadow: 0 10px 30px -10px rgba(0, 255, 255, 0.55), 0 0 0 1px rgba(0, 255, 255, 0.3) inset;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(0, 255, 255, 0.7), 0 0 0 1px rgba(0, 255, 255, 0.4) inset;
}

.btn-secondary {
  background: var(--glass);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.06);
  border-color: rgba(0, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn:hover {
  opacity: 1;
}

.intro-footer {
  position: absolute;
  bottom: 20px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.intro-footer.intro-reveal {
  opacity: 0;
  animation-name: splashFooterFadeUp;
}

@keyframes splashFooterFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 0.7; transform: translateY(0); }
}

.intro-footer a {
  color: inherit;
}

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 46px;
  border: 2px solid var(--border);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--cyan);
  animation: scrollCueMove 1.6s ease-in-out infinite;
}

@keyframes scrollCueMove {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ---- Landing sections (index.html, κάτω από το intro) ---- */

.landing {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px 40px;
}

.stats-bar {
  display: flex;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)), var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 20px 12px;
  backdrop-filter: blur(16px);
  margin-bottom: 56px;
}

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 0 4px;
}

.stat + .stat {
  border-left: 1px solid var(--border-soft);
}

.stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(120deg, var(--cyan), var(--cyan-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.72rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.landing-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  text-align: center;
}

.landing-subtitle {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0 0 28px;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 56px;
}

.step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px 20px 20px 64px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 255, 0.25);
}

.step-num {
  position: absolute;
  left: 18px;
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #05131A;
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.step-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.step-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 44px;
}

@media (min-width: 480px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)), var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 255, 0.3);
}

.feature-icon {
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.landing-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
}

.footer-mark {
  border-radius: 6px;
  opacity: 0.8;
}

.site-footer a {
  color: inherit;
}

/* ---- Νομικές σελίδες (privacy.html, terms.html) ---- */

.legal-page {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  line-height: 1.65;
}

.legal-page h1 {
  margin-top: 20px;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.legal-page h2 {
  font-size: 1.1rem;
  margin-top: 28px;
  color: var(--cyan);
  font-family: var(--font-display);
}

.legal-page a {
  color: var(--cyan);
}

/* ---- Φόρμα εγγραφής (register.html) ---- */

.form-page {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
}

.form-page[hidden] {
  display: none;
}

.form-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)), var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 22px;
  padding: 34px 26px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glow);
  animation: cardRise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cardRise {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.form-card[hidden] {
  display: none;
}

.back-link {
  align-self: flex-start;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.back-link:hover {
  color: var(--cyan);
  transform: translateX(-2px);
}

.brand-mark-sm {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-dim);
  margin: 0 0 26px;
}

.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 17px;
  text-align: left;
}

.form[hidden] {
  display: none;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
}

.form label[hidden] {
  display: none;
}

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form input[type="password"],
.form input[type="number"],
.form select,
.form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 13px 15px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(147, 166, 179, 0.55);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(0, 255, 255, 0.03);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.12);
}

.field-optional {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.85em;
}

.checkbox-row {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
}

.checkbox-row input {
  width: 19px;
  height: 19px;
  accent-color: var(--cyan);
}

.form .btn {
  margin-top: 8px;
}

.location-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: -6px;
}

.location-btn {
  width: auto;
  align-self: flex-start;
  padding: 9px 14px;
  font-size: 0.85rem;
}

.location-row .form-hint {
  margin-top: 0;
}

.form-success p {
  font-size: 1.1rem;
  margin: 12px 0 20px;
}

.form-error {
  color: #ff8080;
  font-size: 0.9rem;
  margin-top: 16px;
  animation: shake 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.form-switch {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.form-switch a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
}

.form-switch a:hover {
  text-decoration: underline;
}

.form-hint {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 12px;
}

.text-dim {
  color: var(--text-dim);
}

.dashboard-section {
  width: 100%;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  text-align: left;
}

.dashboard-section-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.dashboard-section .form {
  gap: 12px;
}

.dashboard-section-danger .form-hint {
  margin-top: 0;
  margin-bottom: 14px;
}

.btn-danger {
  background: transparent;
  color: #ff8080;
  border: 1px solid rgba(255, 107, 107, 0.35);
  width: 100%;
}

.btn-danger:hover {
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.55);
  transform: translateY(-2px);
}

.logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.profile-box {
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.profile-box p {
  margin: 4px 0;
}

.availability-toggle {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.availability-toggle:has(input:checked) {
  border-color: rgba(0, 255, 255, 0.4);
  background: rgba(0, 255, 255, 0.05);
}

.schedule-hint {
  margin-top: 0;
  margin-bottom: 8px;
}

.schedule-editor {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 11px 12px;
  flex-wrap: wrap;
  transition: border-color 0.15s ease;
}

.schedule-day-toggle {
  flex: none;
  min-width: 120px;
  font-size: 0.9rem;
}

.time-inputs {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.15s ease;
}

.time-inputs input[type="time"] {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  padding: 6px 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.85rem;
}

.schedule-row:has(.day-open:not(:checked)) .time-inputs {
  opacity: 0.4;
  pointer-events: none;
}

/* ---- Αναζήτηση τεχνικών (browse.html) ---- */

.browse-page {
  position: relative;
  min-height: 100dvh;
  padding: 24px;
  overflow: hidden;
}

.browse-content {
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin: 0 auto;
  animation: pageFadeIn 0.35s ease both;
}

.browse-content .form-title {
  font-size: 1.7rem;
}

.filter-row {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.filter-select {
  flex: 1;
  min-width: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}

.filter-select:focus {
  outline: none;
  border-color: var(--cyan);
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pro-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)), var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 17px;
  text-align: left;
  backdrop-filter: blur(16px);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  animation: cardRise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pro-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 255, 255, 0.3);
  box-shadow: 0 16px 40px -18px rgba(0, 255, 255, 0.35);
}

.pro-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 4px;
  padding-right: 30px;
}

.pro-card-head strong {
  min-width: 0;
  word-break: break-word;
}

.pro-card-head-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.fav-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  line-height: 1;
  padding: 2px;
  color: var(--text-dim);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.fav-btn:active {
  transform: scale(1.3);
}

.fav-btn.fav-active {
  color: #ff4d6d;
}

.chip-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: rgba(0, 255, 255, 0.3);
  color: var(--text);
}

.chip.chip-active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #05131A;
  border-color: transparent;
  font-weight: 700;
}

.sos-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #ff5c5c, #d92b2b);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 30px -8px rgba(217, 43, 43, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  animation: sosPulse 2.2s ease-in-out infinite;
  transition: transform 0.15s ease;
}

.sos-btn:active {
  transform: scale(0.94);
}

.sos-btn.sos-active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #05131A;
  box-shadow: 0 10px 30px -8px rgba(0, 255, 255, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  animation: none;
}

@keyframes sosPulse {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(217, 43, 43, 0.7), 0 0 0 0 rgba(217, 43, 43, 0.5); }
  50% { box-shadow: 0 10px 30px -8px rgba(217, 43, 43, 0.7), 0 0 0 10px rgba(217, 43, 43, 0); }
}

.pro-card-head strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #05131A;
  font-size: 0.6rem;
  font-weight: 900;
  vertical-align: middle;
  margin-left: 2px;
}

.skeleton-card {
  animation: none;
  opacity: 1;
  pointer-events: none;
}

.skeleton-line {
  height: 14px;
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.09) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}

.skeleton-title {
  width: 55%;
  height: 18px;
  margin-bottom: 12px;
}

.skeleton-sub {
  width: 75%;
  margin-bottom: 16px;
}

.skeleton-btn {
  width: 100%;
  height: 44px;
  border-radius: 12px;
}

@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.badge-available {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #05131A;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px rgba(0, 255, 255, 0.6);
}

.badge-available::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #05131A;
  animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.badge-available.badge-closed {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
}

.badge-available.badge-closed::before {
  background: var(--text-dim);
  animation: none;
}

.pro-card-bio {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin: 10px 0 0;
  line-height: 1.5;
}

.badge-emergency {
  font-size: 0.78rem;
  color: var(--amber);
  background: rgba(255, 180, 84, 0.1);
  border: 1px solid rgba(255, 180, 84, 0.28);
  padding: 5px 10px;
  border-radius: 8px;
  margin: 10px 0 0;
  display: inline-block;
  font-weight: 500;
}

/* Κουμπιά κάρτας: μεγάλο κουμπί κλήσης σε δική του σειρά (η κύρια ενέργεια),
   και από κάτω μικρότερα κουμπιά με εικονίδιο + ετικέτα, ίσου πλάτους,
   ώστε να χωράνε σε κινητό χωρίς να κόβονται τα κείμενα. */
.pro-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pro-card-actions .btn {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
  padding: 12px 10px;
  font-size: 0.92rem;
}

.pro-card-actions .call-btn {
  flex: 1 1 100%;
  padding: 15px 16px;
  font-size: 1.02rem;
  white-space: nowrap;
}

.pro-card-actions .action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 62px;
  padding: 10px 6px;
  font-size: 0.78rem;
  line-height: 1.15;
}

.pro-card-actions .action-btn span:last-child {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.action-icon {
  font-size: 1.15rem;
  line-height: 1;
}

/* Μικρά κινητά (π.χ. 360px): λίγο μικρότερη γραμματοσειρά ώστε να χωράει
   ολόκληρη η λέξη "Κοινοποίηση". */
@media (max-width: 380px) {
  .pro-card-actions .action-btn {
    font-size: 0.72rem;
    padding: 10px 3px;
  }
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366, #1fb855);
  color: #052b16;
  box-shadow: 0 10px 26px -12px rgba(37, 211, 102, 0.6);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(37, 211, 102, 0.75);
}

/* ---- Admin panel (admin/index.html) ---- */

.admin-wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px;
  animation: pageFadeIn 0.35s ease both;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 20px;
  padding-bottom: 2px;
}

.tab {
  flex: none;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
  color: var(--text-dim);
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tab:hover {
  border-color: rgba(0, 255, 255, 0.3);
  color: var(--text);
}

.tab.active {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  color: #05131A;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 6px 18px -6px rgba(0, 255, 255, 0.55);
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.admin-actions .btn {
  margin-top: 0;
  flex: 1;
}

.badge-status {
  font-size: 0.75rem;
  padding: 4px 11px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: capitalize;
}

.badge-pending {
  background: rgba(250, 204, 21, 0.15);
  color: #facc15;
}

.badge-approved {
  background: var(--cyan-soft);
  color: var(--cyan);
}

.badge-rejected {
  background: rgba(255, 107, 107, 0.15);
  color: #ff8080;
}

.badge-deactivated {
  background: rgba(147, 166, 179, 0.15);
  color: var(--text-dim);
}

/* ---- PWA install banner ---- */

.install-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(180deg, rgba(20, 26, 38, 0.96), rgba(11, 15, 26, 0.98));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -16px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 255, 255, 0.1);
  animation: bannerRise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
  max-width: 480px;
  margin: 0 auto;
}

@keyframes bannerRise {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.install-banner img {
  flex: none;
  border-radius: 8px;
}

.install-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.install-banner-text strong {
  font-size: 0.9rem;
}

.install-banner-text span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.install-banner-btn {
  width: auto;
  padding: 9px 14px;
  font-size: 0.85rem;
  flex: none;
}

.install-banner-close {
  flex: none;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1rem;
  cursor: pointer;
  padding: 4px;
}

.install-banner-close:hover {
  color: var(--text);
}

/* ---- Κομφετί επιτυχίας εγγραφής ---- */

.confetti-piece {
  position: fixed;
  top: -12px;
  width: 8px;
  height: 12px;
  border-radius: 2px;
  z-index: 100;
  pointer-events: none;
  animation-name: confettiFall;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation-fill-mode: forwards;
}

@keyframes confettiFall {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--drift), 100vh) rotate(540deg); opacity: 0; }
}

/* ---- Browse: αναζήτηση, ταξινόμηση, χάρτης, αξιολογήσεις ---- */

.search-row {
  margin-bottom: 12px;
}

.search-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--cyan);
}

.map-toggle-btn {
  cursor: pointer;
  text-align: center;
}

.map-toggle-btn.chip-active {
  border-color: var(--cyan);
  color: var(--cyan);
}

.map-container {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a2130;
}

/* Χάρτης: MapLibre + OpenFreeMap (σκούρο vector στυλ, χρώματα στο browse.js) */
.map-canvas {
  width: 100%;
  height: 100%;
}

.map-fallback {
  padding: 16px;
}

.map-container .maplibregl-ctrl-group {
  background: rgba(14, 17, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.map-container .maplibregl-ctrl-group button + button {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.map-container .maplibregl-ctrl-group button .maplibregl-ctrl-icon {
  filter: invert(1) brightness(0.9);
}

.map-container .maplibregl-ctrl-attrib {
  background: rgba(10, 12, 20, 0.75);
  color: var(--text-dim);
}

.map-container .maplibregl-ctrl-attrib a {
  color: var(--text-dim);
}

.map-container .maplibregl-ctrl-attrib-button {
  filter: invert(1);
}

/* Pin τεχνικού: σταγόνα με το εικονίδιο της ειδικότητας.
   Το εξωτερικό στοιχείο το τοποθετεί το MapLibre (με δικό του transform),
   γι' αυτό η περιστροφή της σταγόνας γίνεται στο εσωτερικό .pro-pin-drop. */
.pro-pin {
  position: relative;
  width: 36px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.pro-pin-drop {
  position: absolute;
  left: 2px;
  top: 0;
  width: 32px;
  height: 32px;
  border: 2px solid var(--cyan);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: #0b1a22;
  box-shadow: 0 0 0 3px rgba(0, 255, 255, 0.15), 0 4px 12px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pro-pin-icon {
  transform: rotate(45deg);
  font-size: 15px;
  line-height: 1;
}

.pro-pin-closed .pro-pin-drop {
  border-color: rgba(147, 166, 179, 0.6);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.pro-pin-closed {
  opacity: 0.7;
}

.pro-pin-verified::after {
  content: "";
  position: absolute;
  top: -6px;
  right: -4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #05070d;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2305131a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Η θέση του πελάτη */
.user-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #3b82f6;
  border: 3px solid #fff;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.25);
}

/* Καρτέλα pin */
.pro-map-popup .maplibregl-popup-content {
  background: rgba(16, 19, 28, 0.98);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 14px 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.pro-map-popup.maplibregl-popup-anchor-bottom .maplibregl-popup-tip {
  border-top-color: rgba(16, 19, 28, 0.98);
}

.pro-map-popup.maplibregl-popup-anchor-top .maplibregl-popup-tip {
  border-bottom-color: rgba(16, 19, 28, 0.98);
}

.pro-map-popup .maplibregl-popup-close-button {
  color: var(--text-dim);
  font-size: 18px;
  padding: 2px 8px;
}

.map-popup {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: inherit;
}

.map-popup strong {
  font-size: 0.95rem;
  padding-right: 16px;
}

.map-popup-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.map-popup-avail {
  font-size: 0.75rem;
  color: var(--cyan);
  font-weight: 600;
}

.map-popup-avail.is-closed {
  color: var(--text-dim);
}

.map-popup-call {
  margin-top: 8px;
  padding: 9px 12px;
  font-size: 0.85rem;
  text-align: center;
}

.map-popup-card {
  margin-top: 4px;
  font-size: 0.78rem;
  align-self: center;
}

.filter-row.is-stuck,
.search-row.is-stuck,
.chip-row.is-stuck {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: blur(10px);
  padding-top: 8px;
  padding-bottom: 8px;
}

.recent-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.recent-row[hidden] {
  display: none;
}

.recent-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  flex: none;
}

.recent-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.recent-chip {
  font-size: 0.78rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  cursor: pointer;
}

.recent-chip:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.empty-state[hidden] {
  display: none;
}

.empty-state-icon {
  font-size: 2rem;
}

.empty-state p {
  color: var(--text-dim);
}

.pro-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  padding-right: 30px;
}

.pro-card-head-main {
  flex: 1 1 160px;
  min-width: 0;
}

.avatar-circle {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.avatar-photo {
  object-fit: cover;
  border-color: rgba(255, 255, 255, 0.15);
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  margin-top: 2px;
}

.review-summary-empty {
  color: var(--text-dim);
  font-size: 0.78rem;
}

.review-count {
  color: var(--text-dim);
}

.star {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
}

.star-filled {
  color: var(--amber, #f59e0b);
}

.star-picker .star {
  cursor: pointer;
  font-size: 1.3rem;
  padding: 2px;
}

.member-since {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin: 2px 0 0;
}

.pro-card-footer-row {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.link-btn {
  background: none;
  border: none;
  color: var(--cyan);
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  text-decoration: underline;
}

.reviewed-note {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.review-form,
.report-form {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-form[hidden],
.report-form[hidden] {
  display: none;
}

.review-comment {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-body);
  padding: 8px 10px;
  resize: vertical;
}

.report-reason {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-family: var(--font-body);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
  width: auto;
  align-self: flex-start;
}

.btn-danger {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.2);
}

.closes-countdown {
  opacity: 0.85;
  font-size: 0.75rem;
}

.pro-card-highlight {
  animation: highlightPulse 1.4s ease;
}

@keyframes highlightPulse {
  0% { box-shadow: 0 0 0 2px var(--cyan); }
  100% { box-shadow: none; }
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: rgba(20, 22, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  z-index: 200;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toast-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---- Dashboard: σύνοψη, ενότητες, αξιολογήσεις ---- */

.dashboard-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: -8px 0 18px;
}

.rating-summary,
.member-since-line {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 4px;
}

.dashboard-section-block {
  padding: 16px 0 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 8px;
}

.dashboard-section-block:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.field-hint {
  margin-top: -6px;
  font-size: 0.75rem;
  opacity: 0.8;
}

.reviews-summary {
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-item {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.review-item-stars {
  font-size: 0.85rem;
}

.review-item-comment {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ---- Dashboard: ειδοποίηση αλλαγής κατάστασης, φωτογραφία προφίλ ---- */

.status-change-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  margin: -8px 0 16px;
  font-size: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.status-change-alert[hidden] {
  display: none;
}

.status-change-approved {
  border-color: rgba(34, 211, 238, 0.4);
  background: var(--cyan-soft);
  color: var(--cyan);
}

.status-change-rejected {
  border-color: rgba(255, 107, 107, 0.35);
  background: rgba(255, 107, 107, 0.1);
  color: #ff9a9a;
}

.status-change-pending,
.status-change-deactivated {
  border-color: rgba(147, 166, 179, 0.35);
  color: var(--text-dim);
}

.status-change-dismiss {
  flex: none;
  background: none;
  border: none;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 4px;
}

.status-change-dismiss:hover {
  opacity: 1;
}

.avatar-upload-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.avatar-upload-row .avatar-preview,
.avatar-upload-row .avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
}

.avatar-placeholder[hidden] {
  display: none;
}

.avatar-upload-controls {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.avatar-upload-btn {
  width: auto;
  padding: 9px 16px;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-block;
}

/* ---- Επαγγελματική άδεια ---- */

.badge-license {
  font-size: 0.78rem;
  color: var(--cyan);
  background: var(--cyan-soft);
  border: 1px solid rgba(0, 255, 255, 0.28);
  padding: 4px 10px;
  border-radius: 8px;
  margin: 10px 0 0;
  display: inline-block;
  font-weight: 600;
}

.license-state {
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 10px;
  margin: 0 0 12px;
  border: 1px solid var(--border-soft);
}

.license-state.license-pending {
  color: #facc15;
  background: rgba(250, 204, 21, 0.08);
  border-color: rgba(250, 204, 21, 0.25);
}

.license-state.license-verified {
  color: var(--cyan);
  background: var(--cyan-soft);
  border-color: rgba(0, 255, 255, 0.3);
}

.license-state.license-rejected {
  color: #ff8080;
  background: rgba(255, 107, 107, 0.08);
  border-color: rgba(255, 107, 107, 0.28);
}

.license-upload-btn {
  width: auto;
  padding: 9px 16px;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-block;
}

.license-upload-btn.is-disabled {
  opacity: 0.55;
  pointer-events: none;
}

.license-admin {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.license-admin.license-none {
  color: var(--text-dim);
}

.license-admin.license-pending {
  border-color: rgba(250, 204, 21, 0.35);
  color: #facc15;
}

.license-admin.license-verified {
  border-color: rgba(0, 255, 255, 0.35);
  color: var(--cyan);
}

.license-admin.license-rejected {
  border-color: rgba(255, 107, 107, 0.35);
  color: #ff8080;
}

.license-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.license-admin-actions .btn {
  margin-top: 0;
  width: auto;
}

.badge-license-inline {
  margin: 0;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
}

.badge-license-inline[hidden] {
  display: none;
}

/* ---- Γρήγορη επιλογή ειδικότητας (browse.html) ---- */
.spec-chips {
  display: flex;
  gap: 8px;
  margin: 22px -24px 4px;
  padding: 2px 24px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 24px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.spec-chips::-webkit-scrollbar {
  display: none;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 10px 15px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--border-soft);
  color: var(--text);
  font: 600 0.9rem var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.spec-chip:hover {
  border-color: rgba(0, 255, 255, 0.35);
}

.spec-chip:active {
  transform: scale(0.96);
}

.spec-chip.spec-chip-active {
  background: rgba(0, 255, 255, 0.12);
  border-color: rgba(0, 255, 255, 0.55);
  color: #d4fdff;
  box-shadow: 0 8px 22px -12px rgba(0, 255, 255, 0.6);
}

/* ==========================================================================
   Browse v2 (browse.html, body.bp): μπάρα εφαρμογής, sticky εργαλειοθήκη,
   φύλλο φίλτρων, banner SOS και λίστα + χάρτης δίπλα-δίπλα στο desktop.
   ========================================================================== */

body.bp {
  height: auto;
  min-height: 100%;
}

body.bp .browse-page {
  overflow: visible;
  overflow-x: clip;
  padding: 0 20px 110px;
}

.bp-bar {
  position: relative;
  z-index: 31;
  padding-top: env(safe-area-inset-top);
}

.bp-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px 4px;
}

.bp-back {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bp-back:hover {
  border-color: rgba(0, 255, 255, 0.35);
}

.bp-back svg,
.bp-filters-btn svg,
.bp-search-ico {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bp-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font: 700 1.08rem var(--font-display);
  letter-spacing: -0.02em;
}

.bp-brand img {
  border-radius: 8px;
}

.bp-brand em {
  font-style: normal;
  color: var(--cyan);
}

.bp-bar-link {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
}

.bp-bar-link:hover {
  color: var(--text);
}

.bp-layout {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

body.bp .browse-content {
  max-width: 600px;
}

.bp-title {
  margin: 14px 0 6px;
  font-size: 1.65rem;
  letter-spacing: -0.02em;
}

/* Η εργαλειοθήκη μένει κολλημένη στην κορυφή ως ένα ενιαίο μπλοκ. */
.bp-toolbar {
  position: sticky;
  top: 0;
  z-index: 30;
  margin: 0 -20px;
  padding: calc(10px + env(safe-area-inset-top)) 20px 10px;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.96) 70%, rgba(5, 7, 13, 0.86));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-soft);
}

.bp-search {
  position: relative;
  display: flex;
  gap: 8px;
}

.bp-search-ico {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  pointer-events: none;
}

body.bp .search-input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px 0 44px;
  border-radius: 14px;
  font-size: 1rem; /* ≥16px: αποφεύγει το auto-zoom του iOS Safari στο focus */
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-soft);
}

body.bp .search-input:focus {
  border-color: rgba(0, 255, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.1);
}

.bp-filters-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: none;
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-soft);
  color: var(--text);
  font: 600 0.92rem var(--font-body);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bp-filters-btn:hover,
.bp-filters-btn.is-active {
  border-color: rgba(0, 255, 255, 0.45);
}

.bp-filters-btn.is-active {
  background: rgba(0, 255, 255, 0.08);
}

.bp-filters-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--cyan);
  color: #04131a;
  font-size: 0.75rem;
  font-weight: 700;
}

.bp-filters-count[hidden] {
  display: none;
}

body.bp .spec-chips {
  margin: 10px -20px 0;
  padding: 0 20px;
  scroll-padding-inline: 20px;
}

body.bp .spec-chip {
  padding: 8px 13px;
  border-radius: 12px;
  font-size: 0.86rem;
}

.chip-row.bp-quick {
  flex-wrap: nowrap;
  margin: 8px -20px 0;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chip-row.bp-quick::-webkit-scrollbar {
  display: none;
}

.chip-row.bp-quick .chip {
  flex-shrink: 0;
  white-space: nowrap;
}

.bp-summary {
  margin: 16px 2px 10px;
  min-height: 1.2em;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.bp-summary strong {
  color: var(--text);
  font-weight: 600;
}

.bp-summary-open {
  color: #4ade80;
  font-weight: 600;
}

/* ---- Banner SOS ---- */
.sos-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 4px;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 77, 77, 0.16), rgba(225, 29, 72, 0.08));
  border: 1px solid rgba(255, 92, 92, 0.45);
  animation: cardRise 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sos-banner[hidden] {
  display: none;
}

.sos-banner-dot {
  position: relative;
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d4d;
}

.sos-banner-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ff4d4d;
  animation: liveRipple 1.8s ease-out infinite;
}

.sos-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.sos-banner-text strong {
  color: #ffd4d4;
  font-size: 0.95rem;
}

.sos-banner-text span {
  color: #f3b4b4;
  font-size: 0.8rem;
  line-height: 1.4;
}

.sos-banner-text a {
  color: #fff;
  font-weight: 700;
}

.sos-banner-exit {
  flex: none;
  padding: 9px 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 92, 92, 0.5);
  background: rgba(0, 0, 0, 0.25);
  color: #ffd4d4;
  font: 600 0.85rem var(--font-body);
  cursor: pointer;
}

/* Το SOS όταν είναι ενεργό μένει κόκκινο (όχι cyan) ώστε να είναι ξεκάθαρο ότι "τρέχει". */
body.bp .sos-btn.sos-active {
  background: #2a0b10;
  color: #ff8a8a;
  box-shadow: 0 0 0 2px #ff5c5c inset, 0 10px 30px -8px rgba(255, 77, 77, 0.6);
}

/* ---- Φύλλο φίλτρων ---- */
.bp-sheet {
  width: 100%;
  max-width: 100%;
  max-height: 88dvh;
  margin: auto 0 0;
  padding: 0;
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  background: #0b0f1a;
  color: var(--text);
  box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, 0.8);
}

.bp-sheet[open] {
  animation: sheetUp 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.bp-sheet::backdrop {
  background: rgba(2, 4, 8, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

@keyframes sheetUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

.bp-sheet-inner {
  padding: 10px 20px calc(20px + env(safe-area-inset-bottom));
}

.bp-sheet-grab {
  width: 40px;
  height: 4px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.bp-sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.bp-sheet-head h2 {
  margin: 0;
  font-size: 1.25rem;
}

.bp-sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  cursor: pointer;
}

.bp-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
}

.bp-field .filter-select {
  height: 50px;
  font-size: 1rem;
  border-radius: 14px;
}

.bp-sheet-actions {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 10px;
  margin-top: 22px;
}

.bp-sheet-actions .btn {
  margin: 0;
}

@media (min-width: 640px) {
  .bp-sheet {
    max-width: 440px;
    margin: auto;
    border-bottom: 1px solid var(--border);
    border-radius: 24px;
  }

  .bp-sheet-grab {
    display: none;
  }
}

/* ---- Κάρτες τεχνικών: πιο καθαρή ιεραρχία ---- */
body.bp .pro-card {
  padding: 18px;
  border-radius: 20px;
}

body.bp .pro-card-actions .action-btn {
  flex-direction: row;
  gap: 7px;
  min-height: 46px;
  padding: 10px 8px;
  font-size: 0.84rem;
}

body.bp .pro-card-actions .action-icon {
  font-size: 1rem;
}

.empty-state-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--text-dim);
  font-size: 0.86rem;
}

/* ---- Desktop: λίστα + χάρτης ---- */
.bp-map-col {
  display: none;
}

@media (min-width: 1024px) {
  body.bp .browse-page {
    padding: 0 28px 48px;
  }

  .bp-bar {
    padding-left: 28px;
    padding-right: 28px;
  }

  .bp-bar-inner {
    padding: 14px 0 6px;
  }

  .bp-layout {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  body.bp .browse-content {
    max-width: none;
    margin: 0;
  }

  .bp-toolbar {
    margin: 0;
    padding: 12px 0;
    background: rgba(5, 7, 13, 0.92);
  }

  body.bp .spec-chips,
  .chip-row.bp-quick {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap;
  }

  body.bp .map-toggle-btn {
    display: none;
  }

  .bp-map-col {
    display: block;
    position: sticky;
    top: 16px;
    height: calc(100dvh - 32px);
    margin-top: 16px;
  }

  .bp-map-col .map-container {
    height: 100%;
    margin: 0;
    border-radius: 22px;
    border-color: var(--border);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }

  body.bp .sos-btn {
    right: auto;
    left: 28px;
  }
}

/* iOS οδηγία εγκατάστασης */
.ios-share-ico {
  width: 15px;
  height: 15px;
  margin: 0 1px -2px;
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Στην αναζήτηση το banner ανεβαίνει πάνω από το κουμπί SOS. */
body.bp .install-banner {
  bottom: calc(92px + env(safe-area-inset-bottom));
}

/* ==========================================================================
   Intro / splash (~1 δευτερόλεπτο, μία φορά ανά session).
   Κρύβεται μόνο του με CSS, οπότε δεν "κολλάει" ποτέ ακόμα κι αν αποτύχει η JS.
   ========================================================================== */
.splash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) 24px env(safe-area-inset-bottom);
  background: #05070D;
  pointer-events: none;
  animation: splashOut 0.3s ease 0.9s forwards;
}

.no-splash .splash {
  display: none;
}

.splash-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.splash-glow {
  position: absolute;
  top: 56px;
  left: 50%;
  width: 420px;
  height: 420px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, rgba(0, 255, 255, 0.06) 35%, transparent 65%);
  opacity: 0;
  animation: splashGlow 0.6s ease forwards;
}

.splash-icon {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.18), 0 24px 60px -16px rgba(0, 255, 255, 0.45);
  opacity: 0;
  animation: splashIconIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.splash-name {
  position: relative;
  margin-top: 26px;
  font: 700 2.6rem var(--font-display);
  letter-spacing: -0.03em;
  color: #fff;
  opacity: 0;
  animation: splashUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.splash-name span {
  color: var(--cyan);
}

.splash-by {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(48px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: splashUp 0.45s ease 0.3s forwards;
}

.splash-by > span {
  font-size: 0.95rem;
  color: var(--text-dim);
}

.splash-pavdev {
  display: flex;
  align-items: center;
  gap: 10px;
}

.splash-pavdev img {
  border-radius: 8px;
}

.splash-pavdev strong {
  font: 700 1.6rem var(--font-display);
  letter-spacing: -0.02em;
  color: #E9F5F8;
}

.splash-pavdev em {
  font-style: normal;
  color: var(--cyan);
}

@keyframes splashIconIn {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes splashGlow {
  to { opacity: 1; }
}

@keyframes splashUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

@keyframes splashOut {
  to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .splash-icon, .splash-name, .splash-by, .splash-glow { animation: none; opacity: 1; }
}

/* ==========================================================================
   Badges τεχνικών (badges.js): κάρτες, μικρά pills, πρόοδος
   ========================================================================== */
.tb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.tb-card {
  --tb: 0, 255, 255;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(var(--tb), 0.12), rgba(var(--tb), 0.03));
  border: 1px solid rgba(var(--tb), 0.32);
  text-align: left;
}

.tb-cyan { --tb: 0, 255, 255; }
.tb-amber { --tb: 255, 180, 84; }
.tb-orange { --tb: 255, 130, 67; }
.tb-violet { --tb: 151, 125, 255; }
.tb-green { --tb: 74, 222, 128; }
.tb-red { --tb: 255, 92, 92; }

.tb-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-size: 1.35rem;
  background: rgba(var(--tb), 0.16);
  box-shadow: 0 0 0 1px rgba(var(--tb), 0.35) inset, 0 8px 22px -10px rgba(var(--tb), 0.7);
}

.tb-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.tb-text strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

.tb-text > span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-dim);
}

.tb-locked {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border-soft);
  border-style: dashed;
}

.tb-locked .tb-icon {
  filter: grayscale(1);
  opacity: 0.45;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
}

.tb-locked .tb-text strong {
  color: var(--text-dim);
}

.tb-bar {
  display: block;
  height: 5px;
  margin-top: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.tb-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-2));
}

.tb-text .tb-hint {
  font-size: 0.74rem;
  color: #9fdfe6;
}

.tb-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
}

.tb-pill {
  --tb: 0, 255, 255;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(var(--tb), 0.1);
  border: 1px solid rgba(var(--tb), 0.3);
}

.tb-pill.tb-more {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-soft);
}

/* Dashboard */
.tb-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tb-dash-count {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--border);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
}

.tb-dash .tb-grid {
  grid-template-columns: 1fr;
  margin-top: 12px;
}

.tb-dash-link {
  margin-top: 14px;
}

/* Σύνδεσμοι προφίλ στις κάρτες αναζήτησης */
.pro-card-name-link {
  color: inherit;
  text-decoration: none;
}

.pro-card-name-link:hover {
  color: var(--cyan);
}

.pro-card-avatar-link {
  display: inline-flex;
  border-radius: 50%;
  text-decoration: none;
}

.pro-card-profile-link {
  margin-left: auto;
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

/* ==========================================================================
   Δημόσιο προφίλ τεχνικού (pro.html)
   ========================================================================== */
.pp-page {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 20px calc(120px + env(safe-area-inset-bottom));
  overflow-x: clip;
}

.pp-share-top {
  margin-left: auto;
  cursor: pointer;
}

.pp-loading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  max-width: 680px;
}

.pp-skel {
  border-radius: 22px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.04) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
}

.pp-skel-hero { height: 260px; }
.pp-skel-row { height: 90px; }
.pp-skel-block { height: 220px; }

.pp-notfound {
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.pp-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
}

.pp-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.pp-hero,
.pp-section {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012)), var(--bg-soft);
  border: 1px solid var(--border-soft);
}

.pp-hero {
  overflow: hidden;
}

.pp-cover {
  height: 96px;
  background:
    radial-gradient(420px 160px at 15% 0%, rgba(0, 255, 255, 0.35), transparent 70%),
    radial-gradient(420px 160px at 90% 20%, rgba(124, 92, 255, 0.35), transparent 70%),
    linear-gradient(135deg, #0b1626, #120f2a);
}

.pp-hero-body {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 0 18px;
  margin-top: -40px;
}

.pp-avatar > * {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 26px;
  border: 3px solid var(--bg-soft);
  font: 700 1.8rem var(--font-display);
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 255, 255, 0.3), 0 16px 40px -14px rgba(0, 255, 255, 0.45);
  background: #101827;
}

.pp-id {
  flex: 1;
  min-width: 0;
  padding-bottom: 2px;
}

.pp-name {
  margin: 0;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.pp-name .verified-badge {
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  vertical-align: 3px;
}

.pp-meta {
  margin: 4px 0 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

.pp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 14px 18px 0;
  margin: 0 -18px;
}

.pp-hero-tags .badge-available[hidden] {
  display: none;
}

.pp-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.pp-rating strong {
  color: var(--text);
}

.pp-rating .star {
  font-size: 0.9rem;
}

.pp-fav {
  align-self: flex-start;
  margin-top: 50px;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease, border-color 0.15s ease;
}

.pp-fav:active {
  transform: scale(1.2);
}

.pp-fav.fav-active {
  color: #ff4d6d;
  border-color: rgba(255, 77, 109, 0.45);
}

.pp-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 18px 0 0;
  border-top: 1px solid var(--border-soft);
}

.pp-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 6px 16px;
  text-align: center;
}

.pp-stat + .pp-stat {
  border-left: 1px solid var(--border-soft);
}

.pp-stat strong {
  font: 700 1.45rem var(--font-display);
  background: linear-gradient(120deg, var(--cyan), #7cefff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.pp-stat span {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.pp-section {
  padding: 20px 18px;
}

.pp-section h2 {
  margin: 0 0 14px;
  font-size: 1.12rem;
}

.pp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.pp-section-head h2 {
  margin: 0;
}

.pp-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dim);
}

.pp-bio {
  margin: 0 0 12px;
  line-height: 1.65;
  color: var(--text);
  white-space: pre-line;
}

.pp-247 {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #bbf7d0;
  font-weight: 600;
}

.pp-schedule {
  display: grid;
}

.pp-day {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--text-dim);
}

.pp-day + .pp-day {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.pp-day span:last-child {
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.pp-day.pp-today {
  background: rgba(0, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: #c9fbff;
  font-weight: 600;
}

.pp-closed {
  color: var(--text-dim);
}

.pp-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: 0.93rem;
}

.pp-rev-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pp-rev-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 96px;
}

.pp-rev-big strong {
  font: 700 2.6rem/1 var(--font-display);
  color: var(--text);
}

.pp-rev-big em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.pp-rev-bars {
  flex: 1;
  min-width: 180px;
  display: grid;
  gap: 5px;
}

.pp-rev-bar {
  display: grid;
  grid-template-columns: 28px 1fr 24px;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.pp-rev-bar i {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.pp-rev-bar b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--amber), #ffd18a);
}

.pp-rev-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.pp-rev {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-soft);
}

.pp-rev-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pp-rev-stars .star {
  font-size: 0.88rem;
}

.pp-rev-date {
  font-size: 0.76rem;
  color: var(--text-dim);
}

.pp-rev p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

.pp-rev p.pp-rev-empty {
  color: var(--text-dim);
  font-style: italic;
}

.pp-more {
  margin-top: 12px;
}

.pp-rev-form {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}

.pp-rev-form[hidden] {
  display: none;
}

.pp-rev-form h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.pp-rev-form .star-picker {
  margin-bottom: 10px;
}

.pp-rev-form .star-picker .star {
  font-size: 1.9rem;
}

.pp-rev-form .review-comment {
  width: 100%;
  margin-bottom: 12px;
  font-size: 1rem;
}

.pp-report {
  margin: 0;
  text-align: center;
}

.pp-report-form {
  justify-self: center;
}

.pp-disclaimer {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.pp-disclaimer a {
  color: var(--cyan);
}

/* Μπάρα ενεργειών: κάτω μέρος στο κινητό */
.pp-aside {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.6), rgba(5, 7, 13, 0.96) 30%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-soft);
}

.pp-action-title,
.pp-action-avail,
.pp-actions-secondary {
  display: none;
}

.pp-actions {
  display: flex;
  gap: 10px;
  max-width: 680px;
  margin: 0 auto;
}

.pp-actions .btn {
  margin: 0;
  flex: 1 1 0;
  min-width: 0;
  padding: 15px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-actions .pp-call {
  flex: 1.6 1 0;
}

.pp-actions .pp-wa[hidden] {
  display: none;
}

@media (min-width: 640px) {
  .pp-hero-body {
    padding: 0 24px;
  }

  .pp-hero-tags {
    padding: 14px 24px 0;
    margin: 0 -24px;
  }

  .pp-section {
    padding: 24px;
  }
}

@media (min-width: 960px) {
  .pp-page {
    padding: 12px 28px 56px;
  }

  .pp-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
  }

  .pp-aside {
    position: sticky;
    top: 20px;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
  }

  .pp-action-card {
    padding: 22px;
    border-radius: 24px;
    background:
      radial-gradient(300px 160px at 100% 0%, rgba(0, 255, 255, 0.12), transparent 70%),
      var(--bg-soft);
    border: 1px solid var(--border);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  }

  .pp-action-title {
    display: block;
    margin: 0 0 4px;
    font: 700 1.1rem var(--font-display);
  }

  .pp-action-avail {
    display: block;
    margin: 0 0 16px;
    font-size: 0.88rem;
    color: var(--text-dim);
  }

  .pp-action-avail.is-open {
    color: #4ade80;
    font-weight: 600;
  }

  .pp-actions {
    flex-direction: column;
  }

  .pp-actions-secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 10px;
  }

  .pp-actions-secondary .btn {
    margin: 0;
    padding: 11px 8px;
    font-size: 0.86rem;
  }
}

.pp-loading[hidden],
.pp-grid[hidden] {
  display: none;
}

@media (min-width: 960px) {
  .pp-actions .btn,
  .pp-actions .pp-call {
    flex: none;
  }
}

.pp .bp-bar-inner {
  max-width: 1120px;
}

/* Κινητό: φωτογραφία πάνω αριστερά, καρδιά δεξιά, όνομα σε όλο το πλάτος από κάτω. */
@media (max-width: 639px) {
  .pp-hero-body {
    flex-wrap: wrap;
    align-items: flex-end;
    row-gap: 12px;
  }

  .pp-avatar > * {
    width: 84px;
    height: 84px;
    border-radius: 24px;
  }

  .pp-fav {
    margin: 0 0 0 auto;
    align-self: flex-end;
  }

  .pp-id {
    order: 3;
    flex-basis: 100%;
  }
}

.pro-card .tb-pills {
  margin: 10px 0 8px;
}

/* Απασχολημένος (paused_until) */
.badge-available.badge-busy {
  color: #ffd49a;
  background: rgba(255, 180, 84, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 180, 84, 0.35) inset;
}

.badge-available.badge-busy::before {
  background: var(--amber);
  animation: none;
}

/* ==========================================================================
   Dashboard τεχνικού v2 (dashboard.html)
   ========================================================================== */
.form-page:has(.dash:not([hidden])) {
  align-items: flex-start;
  overflow: visible;
  overflow-x: clip;
  padding: calc(16px + env(safe-area-inset-top)) 16px calc(110px + env(safe-area-inset-bottom));
}

.dash {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  animation: cardRise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dash[hidden] {
  display: none;
}

.dash-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dash-logo {
  border-radius: 12px;
  flex: none;
}

.dash-top-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.dash-hello {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.dash-logout {
  flex: none;
  padding: 9px 12px;
  border-radius: 11px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
  font: 600 0.82rem var(--font-body);
  cursor: pointer;
}

.dash-logout:hover {
  color: var(--text);
}

.dash-statusline {
  margin: -4px 0 0;
  font-size: 0.86rem;
  color: var(--text-dim);
}

/* Διακόπτης διαθεσιμότητας */
.dash-avail {
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(74, 222, 128, 0.14), transparent 70%),
    var(--bg-soft);
  border: 1px solid rgba(74, 222, 128, 0.35);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.dash-avail[hidden] {
  display: none;
}

.dash-avail.is-paused {
  background:
    radial-gradient(400px 180px at 100% 0%, rgba(255, 180, 84, 0.14), transparent 70%),
    var(--bg-soft);
  border-color: rgba(255, 180, 84, 0.4);
}

.dash-avail:not(.is-open):not(.is-paused) {
  background: var(--bg-soft);
  border-color: var(--border);
}

.dash-avail-main {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dash-avail-dot {
  position: relative;
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-dim);
}

.dash-avail-dot.is-open {
  background: #22c55e;
}

.dash-avail-dot.is-open::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #22c55e;
  animation: liveRipple 1.8s ease-out infinite;
}

.dash-avail-dot.is-busy {
  background: var(--amber);
}

.dash-avail-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.dash-avail-text strong {
  font: 700 1.08rem var(--font-display);
}

.dash-avail-text span {
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--text-dim);
}

.dash-switch {
  position: relative;
  flex: none;
  width: 64px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background 0.2s ease;
}

.dash-switch i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-switch.is-on {
  background: #22c55e;
}

.dash-switch.is-on i {
  transform: translateX(28px);
}

.dash-switch:disabled {
  opacity: 0.6;
}

.dash-pause {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.dash-pause[hidden] {
  display: none;
}

.dash-pause p {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: var(--text);
}

.dash-pause-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dash-pause-btn {
  padding: 13px 10px;
  border-radius: 13px;
  border: 1px solid rgba(255, 180, 84, 0.4);
  background: rgba(255, 180, 84, 0.08);
  color: #ffe2b8;
  font: 600 0.92rem var(--font-body);
  cursor: pointer;
}

.dash-pause-btn:hover {
  background: rgba(255, 180, 84, 0.16);
}

.dash-pause-cancel {
  display: block;
  margin: 10px auto 0;
}

/* Στατιστικά */
.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
}

.dash-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 14px 6px;
}

.dash-stat + .dash-stat {
  border-left: 1px solid var(--border-soft);
}

.dash-stat strong {
  font: 700 1.35rem var(--font-display);
  color: var(--cyan);
}

.dash-stat span {
  font-size: 0.75rem;
  color: var(--text-dim);
}

.dash .dashboard-summary {
  justify-content: flex-start;
  margin: 0;
}

.dash .dashboard-summary:not(:has(> :not([hidden]))) {
  display: none;
}

/* Ολοκλήρωση προφίλ */
.dash-complete {
  padding: 18px;
  border-radius: 20px;
  background:
    radial-gradient(360px 160px at 0% 0%, rgba(0, 255, 255, 0.1), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--border);
}

.dash-complete[hidden] {
  display: none;
}

.dash-complete-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.dash-complete-head span {
  font: 700 1.05rem var(--font-display);
  color: var(--cyan);
}

.dash-complete .form-hint {
  margin: 12px 0 8px;
}

.dash-todo {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.dash-todo-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: 500 0.9rem var(--font-body);
  text-align: left;
  cursor: pointer;
}

.dash-todo-btn span:last-child {
  color: var(--cyan);
}

.dash-todo-btn:hover {
  border-color: rgba(0, 255, 255, 0.35);
}

.dash-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-links:not(:has(> :not([hidden]))) {
  display: none;
}

.dash-links .btn {
  margin: 0;
  padding: 12px 8px;
  font-size: 0.88rem;
}

.dash-group-title {
  margin: 14px 4px -4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Ενότητες που ανοίγουν/κλείνουν */
.dash-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.dash-acc {
  border-radius: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  transition: border-color 0.2s ease;
}

.dash-acc[hidden] {
  display: none;
}

.dash-acc[open] {
  border-color: var(--border);
}

.dash-acc > summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  cursor: pointer;
  list-style: none;
}

.dash-acc > summary::-webkit-details-marker {
  display: none;
}

.dash-acc-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 255, 255, 0.08);
  border: 1px solid var(--border);
  font-size: 1.1rem;
}

.dash-acc-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.dash-acc-text strong {
  font-size: 0.98rem;
  color: var(--text);
}

.dash-acc-text span {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dash-acc-chev {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--text-dim);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.dash-acc[open] .dash-acc-chev {
  transform: rotate(180deg);
}

.dash-acc-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 16px 18px;
}

.dash-acc-body > label,
.dash-acc-body label:not(.checkbox-row):not(.btn) {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dash-acc-body input,
.dash-acc-body select,
.dash-acc-body textarea {
  font-size: 1rem; /* ≥16px: χωρίς auto-zoom στο iOS */
}

.dash-sub-title {
  margin: 4px 0 0;
  font-size: 0.95rem;
}

.dash-danger {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-soft);
}

.tb-dash-grid {
  grid-template-columns: 1fr;
}

/* Μπάρα αποθήκευσης */
.dash-savebar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(608px, calc(100% - 24px));
  padding: 10px 10px 10px 16px;
  border-radius: 18px;
  background: rgba(14, 20, 32, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translate(-50%, 160%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-savebar.is-dirty {
  transform: translate(-50%, 0);
}

.dash-savebar span {
  flex: 1;
  font-size: 0.84rem;
  color: var(--text-dim);
}

.dash-savebar .btn {
  width: auto;
  margin: 0;
  padding: 12px 20px;
  flex: none;
}

.dash-save-status {
  margin: -4px 0 0;
  text-align: center;
  color: #4ade80;
}

.dash-savebar {
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.28s;
}

.dash-savebar.is-dirty {
  visibility: visible;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}

.dash-hello {
  white-space: normal;
  overflow: visible;
}

/* ==========================================================================
   Στατιστικά, τιμή, κάρτα QR (dashboard / αναζήτηση / προφίλ)
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: #c9f7d8;
  font-size: 0.8rem;
}

.price-chip strong {
  color: #fff;
}

.price-chip[hidden] {
  display: none;
}

.pp-hero-tags .pp-price {
  margin: 0;
}

.pp-action-price {
  display: none;
}

@media (min-width: 960px) {
  .pp-action-price:not([hidden]) {
    display: block;
    margin: -8px 0 16px;
    font-size: 0.84rem;
    color: #c9f7d8;
  }
}

/* Εβδομαδιαία στατιστικά */
.dash-week {
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(420px 200px at 0% 0%, rgba(0, 255, 255, 0.1), transparent 70%),
    var(--bg-soft);
  border: 1px solid var(--border);
}

.dash-week[hidden] {
  display: none;
}

.dash-week-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 10px;
  margin-bottom: 14px;
}

.dash-week-head strong {
  font: 700 1.05rem var(--font-display);
}

.dash-week-head span {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.dash-week-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.dash-wt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
}

.dash-wt span {
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--text-dim);
}

.dash-wt strong {
  font: 700 1.6rem var(--font-display);
  color: var(--text);
}

.dash-wt em {
  min-height: 1.1em;
  font-style: normal;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-dim);
}

.dash-wt em.is-up {
  color: #4ade80;
}

.dash-wt em.is-down {
  color: #f3a6a6;
}

.dash-chart-wrap {
  position: relative;
  margin-top: 16px;
}

.dash-chart-title {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}

.dash-chart-title span {
  font-weight: 400;
  color: var(--text-dim);
}

.dash-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  height: 140px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-bar {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.dash-bar-track {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}

.dash-bar-track i {
  display: block;
  width: 100%;
  max-width: 26px;
  border-radius: 4px 4px 0 0;
  background: var(--cyan-2);
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.dash-bar.is-today .dash-bar-track i,
.dash-bar:hover .dash-bar-track i,
.dash-bar:focus-visible .dash-bar-track i {
  opacity: 1;
}

.dash-bar-val {
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text);
}

.dash-bar-label {
  position: relative;
  top: 26px;
  margin-top: -20px;
  font-size: 0.7rem;
  text-align: center;
  color: var(--text-dim);
}

.dash-bar.is-today .dash-bar-label {
  color: var(--text);
  font-weight: 700;
}

.dash-chart-wrap {
  padding-bottom: 26px;
}

.dash-chart-tip {
  position: absolute;
  top: 30px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #121a2a;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.dash-chart-tip strong {
  color: var(--text);
}

.dash-chart-tip[hidden] {
  display: none;
}

.dash-week-empty {
  margin: 12px 0 0;
}

/* Τιμή (προαιρετικό) */
.dash-optional {
  margin-left: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-dim);
  vertical-align: 2px;
}

.dash-price-fields {
  display: grid;
  gap: 12px;
}

.dash-price-fields[hidden] {
  display: none;
}

/* Κουμπιά προφίλ */
.dash-links .btn-whatsapp {
  color: #052b16;
}

/* Κάρτα QR */
.dash-qr-preview {
  display: flex;
  justify-content: center;
  margin: 14px 0 4px;
}

.dash-qr-preview img {
  width: 100%;
  max-width: 300px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px -20px rgba(0, 255, 255, 0.35);
}

.dash-qr-sheet .bp-sheet-actions {
  grid-template-columns: 1fr 1fr;
}

.dash-qr-sheet .bp-sheet-actions:not(:has(#qrShare:not([hidden]))) {
  grid-template-columns: 1fr;
}

.dash-chart-tip {
  top: -6px;
  transform: translate(-50%, -100%);
}

.dash-hello {
  font-size: 1.22rem;
}

/* ---- Επιβεβαίωση email με κωδικό (register.html) ---- */
.otp-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  animation: cardRise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.otp-step[hidden] {
  display: none;
}

.otp-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border-radius: 20px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--border);
  font-size: 1.8rem;
}

.otp-step .form-subtitle strong {
  color: var(--text);
  word-break: break-all;
}

.otp-form {
  width: 100%;
  margin-top: 18px;
}

.otp-input {
  width: 100%;
  height: 64px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: 700 1.9rem var(--font-display);
  letter-spacing: 0.4em;
  text-align: center;
  padding-left: 0.4em; /* αντισταθμίζει το letter-spacing ώστε να μένει κεντραρισμένο */
}

.otp-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 255, 255, 0.12);
}

.otp-input::placeholder {
  color: rgba(147, 166, 179, 0.4);
}

.otp-msg {
  margin: 12px 0 0;
}

.otp-msg.otp-ok {
  color: #4ade80;
}

.otp-link {
  margin-top: 14px;
}

.otp-step .form-hint {
  margin: 10px 0 0;
}

/* ---- Λογαριασμός σε αναμονή έγκρισης (dashboard) ---- */
.dash-pending {
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 180, 84, 0.16), transparent 70%),
    var(--bg-soft);
  border: 1px solid rgba(255, 180, 84, 0.45);
}

.dash-pending[hidden] {
  display: none;
}

.dash-pending.is-rejected {
  background:
    radial-gradient(420px 200px at 100% 0%, rgba(255, 92, 92, 0.16), transparent 70%),
    var(--bg-soft);
  border-color: rgba(255, 92, 92, 0.5);
}

.dash-pending-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.dash-pending-ico {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 180, 84, 0.14);
  font-size: 1.3rem;
}

.dash-pending.is-rejected .dash-pending-ico {
  background: rgba(255, 92, 92, 0.14);
}

.dash-pending-head strong {
  display: block;
  font: 700 1.08rem var(--font-display);
  color: var(--text);
}

.dash-pending-head p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.dash-pending-head a {
  color: var(--cyan);
}

.dash-steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dash-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-soft);
}

.dash-step-num {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  font-weight: 700;
  font-size: 0.85rem;
}

.dash-step.is-done .dash-step-num {
  background: #22c55e;
  color: #052b16;
}

.dash-step.is-warn .dash-step-num {
  background: #ff5c5c;
  color: #fff;
}

.dash-step-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.dash-step-body strong {
  font-size: 0.92rem;
  color: var(--text);
}

.dash-step.is-done .dash-step-body strong {
  color: #bbf7d0;
}

.dash-step-body span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-dim);
}

.dash-step-btn {
  width: auto;
  margin-top: 8px;
  padding: 9px 14px;
}

/* ---- Οθόνη επιτυχίας εγγραφής ---- */
.reg-done {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.reg-done[hidden] {
  display: none;
}

.reg-done-ico {
  align-self: center;
  font-size: 2.4rem;
}

.reg-done .form-title {
  margin: 0;
}

.reg-done-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 180, 84, 0.1);
  border: 1px solid rgba(255, 180, 84, 0.4);
  color: #ffe2b8;
  font-size: 0.9rem;
  line-height: 1.5;
}

.reg-done-steps {
  margin: 4px 0;
  text-align: left;
}

.reg-done .btn {
  margin: 0;
}

/* Το .glow είναι πιο φαρδύ από την οθόνη: με overflow:hidden ο browser
   μπορούσε να «σύρει» τη σελίδα στο πλάι όταν άνοιγε το πληκτρολόγιο
   (π.χ. στον κωδικό επιβεβαίωσης). Το clip κόβει χωρίς να επιτρέπει scroll. */
.form-page,
.browse-page {
  overflow-x: clip;
}

.form-page {
  overflow: clip;
}

/* Σύνδεση: «Ξέχασες τον κωδικό;» */
.forgot-link {
  display: block;
  margin: 14px auto 0;
}

#loginView,
#resetView {
  width: 100%;
}

#loginView[hidden],
#resetView[hidden] {
  display: none;
}

#resetView .otp-input {
  height: 56px;
  font-size: 1.6rem;
}

/* Admin: οι καρτέλες σπάνε σε δεύτερη γραμμή αντί για πλάγιο scroll στο κινητό */
.admin-tabs {
  flex-wrap: wrap;
  overflow: visible;
}

/* Κάρτα αναζήτησης: η περιγραφή σε έως 3 γραμμές (ολόκληρη στο προφίλ) */
body.bp .pro-card-bio {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Κάρτα αναζήτησης: οι σύνδεσμοι στο κάτω μέρος σε μία καθαρή σειρά */
body.bp .pro-card-footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

body.bp .pro-card-footer-row .link-btn,
body.bp .pro-card-footer-row .reviewed-note {
  white-space: nowrap;
  font-size: 0.86rem;
}

body.bp .pro-card-footer-row .pro-card-profile-link {
  margin-left: auto;
}

/* Η εργαλειοθήκη αναζήτησης είναι αδιαφανής: το περιεχόμενο από κάτω δεν
   φαίνεται πια μέσα από το πεδίο αναζήτησης όταν κάνεις scroll. */
.bp-toolbar {
  background: #05070d;
}

body.bp .search-input,
.bp-filters-btn {
  background-color: #0e131d;
}
