/* ============================================================
   Dashboard Stylesheet — dashboard.html
   ============================================================ */

body.dashboard-page {
  background: #070f0c;
  overflow-x: hidden;
}

/* ══════════════════════════════════════
   PIN GATE
══════════════════════════════════════ */
.pin-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(155deg, #050f0b 0%, #071a12 25%, #0a3d2e 55%, #081e16 80%, #030d09 100%);
}

.pin-box {
  background: var(--ivory);
  border-radius: 4px;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,194,168,0.15);
  text-align: center;
  position: relative;
}

.pin-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--green-deep), var(--teal), var(--gold), var(--teal), var(--green-deep));
}

/* Grid watermark */
.pin-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,194,168,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,168,0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.pin-logo {
  margin: 28px auto 0;
  width: 52px;
  height: 52px;
  position: relative;
  z-index: 1;
}

.pin-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.pin-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--green-deep);
  margin: 16px 0 6px;
  position: relative;
  z-index: 1;
}

.pin-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.55;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.pin-photo-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  margin: 0 auto 24px;
  box-shadow: 0 0 20px rgba(0,194,168,0.25);
  position: relative;
  z-index: 1;
  animation: photoGlow 3.5s ease-in-out infinite;
}

.pin-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--ivory);
  display: block;
}

/* PIN input row */
.pin-input-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 28px 10px;
  border: 1px solid #d5d1c8;
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.pin-input-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,194,168,0.1);
}

.pin-input-wrap.shake {
  animation: shake 0.45s ease;
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}

#pinInput {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  letter-spacing: 6px;
  color: var(--green-deep);
  background: #fff;
  text-align: center;
}

#pinInput::placeholder {
  letter-spacing: 2px;
  font-size: 14px;
  color: #bbb;
}

.pin-submit-btn {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border: none;
  color: var(--teal);
  width: 52px;
  font-size: 16px;
  cursor: pointer;
  height: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.pin-submit-btn:hover { background: var(--green-mid); color: #fff; }

.pin-error {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #c44;
  min-height: 18px;
  margin: 0 28px 4px;
  position: relative;
  z-index: 1;
}

.pin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--text-light);
  text-decoration: none;
  margin: 12px 0 28px;
  transition: color 0.2s;
  position: relative;
  z-index: 1;
}

.pin-back-link:hover { color: var(--green-deep); }

/* ══════════════════════════════════════
   SIDEBAR
══════════════════════════════════════ */
.dash-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #071a12 0%, #0a2d1f 60%, #071a12 100%);
  border-right: 1px solid rgba(0,194,168,0.12);
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.dash-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 20px 16px;
  border-bottom: 1px solid rgba(0,194,168,0.1);
}

.dash-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.dash-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.sidebar-close {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

/* Profile in sidebar */
.dash-profile {
  padding: 28px 20px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(0,194,168,0.1);
}

.dash-profile-photo-ring {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  margin: 0 auto 12px;
  box-shadow: 0 0 20px rgba(0,194,168,0.25);
  animation: photoGlow 3.5s ease-in-out infinite;
}

.dash-profile-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #0a2d1f;
  display: block;
}

.dash-profile-name {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 4px;
}

.dash-profile-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.dash-profile-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.dash-profile-date i { color: var(--teal); margin-right: 5px; }

/* Nav */
.dash-nav {
  padding: 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}

.dash-nav-item i {
  width: 16px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.dash-nav-item:hover,
.dash-nav-item.active {
  background: rgba(0,194,168,0.1);
  color: #fff;
  border-left: 2px solid var(--teal);
}

.dash-nav-item:hover i,
.dash-nav-item.active i { color: var(--teal); }

.dash-sidebar-footer {
  padding: 16px 12px 24px;
  border-top: 1px solid rgba(0,194,168,0.1);
}

.dash-sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: all 0.2s;
}

.dash-sidebar-link:hover {
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.7);
}

/* ══════════════════════════════════════
   MAIN CONTENT
══════════════════════════════════════ */
.dash-main {
  margin-left: 260px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Top bar */
.dash-topbar {
  position: sticky;
  top: 0;
  background: rgba(7,15,12,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,194,168,0.1);
  padding: 0 28px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 100;
}

.dash-menu-btn {
  display: none;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.dash-topbar-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex: 1;
}

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

.dash-refresh-btn {
  background: none;
  border: 1px solid rgba(0,194,168,0.2);
  color: var(--teal);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-refresh-btn:hover { background: rgba(0,194,168,0.1); }
.dash-refresh-btn.spinning i { animation: spin 0.7s linear infinite; }

/* Export button */
.dash-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #1a0a3d, #3b1f6e);
  border: 1px solid rgba(167,139,250,0.3);
  color: #a78bfa;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.dash-export-btn:hover { background: #2d1060; color: #fff; }

.dash-topbar-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  color: var(--teal);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: 3px;
  text-decoration: none;
  border: 1px solid rgba(0,194,168,0.25);
  transition: all 0.2s;
}

.dash-topbar-card-link:hover { color: #fff; background: var(--green-mid); }

/* ── Sections ── */
.dash-section {
  padding: 28px 28px 60px;
  display: none;
}

.dash-section.active { display: block; }

.dash-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.dash-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ── Welcome banner ── */
.dash-welcome-banner {
  background: linear-gradient(135deg, #0a3d2e 0%, #145c44 60%, #0a3d2e 100%);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: 4px;
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

/* Subtle circuit on banner */
.dash-welcome-banner::after {
  content: '</>';
  position: absolute;
  right: 160px;
  bottom: -10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 70px;
  color: rgba(0,194,168,0.06);
  pointer-events: none;
}

.dash-welcome-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}

.dash-welcome-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3.5vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
}

.dash-welcome-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
}

.dash-welcome-photo-wrap {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  box-shadow: 0 0 24px rgba(0,194,168,0.3);
}

.dash-welcome-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #145c44;
}

/* ── Stats row ── */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.dash-stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,194,168,0.12);
  border-radius: 4px;
  padding: 20px 18px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,194,168,0.25);
}

.dash-stat-icon {
  font-size: 22px;
  margin-bottom: 10px;
}

.dash-stat-value {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.dash-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ── Generic content card ── */
.dash-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,194,168,0.12);
  border-radius: 4px;
  overflow: hidden;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(0,194,168,0.1);
}

.dash-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-text-btn {
  background: none;
  border: none;
  color: var(--teal);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: opacity 0.2s;
}

.dash-text-btn:hover { opacity: 0.7; }

/* ── Wish list rows (recent + all) ── */
.dash-wishes-list {
  padding: 10px 0;
}

.dash-wish-row {
  display: flex;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.15s;
  align-items: flex-start;
}

.dash-wish-row:last-child { border-bottom: none; }
.dash-wish-row:hover { background: rgba(0,194,168,0.04); }

.dash-wish-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--teal));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.dash-wish-body { flex: 1; min-width: 0; }

.dash-wish-name {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}

.dash-wish-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--teal);
  margin-bottom: 6px;
  opacity: 0.8;
}

.dash-wish-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.55;
  font-style: italic;
}

.dash-wish-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

/* ── All wishes grid ── */
.dash-all-wishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.dash-wish-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,194,168,0.12);
  border-radius: 4px;
  padding: 20px 18px 16px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
  animation: fadeInUp 0.45s ease forwards;
}

.dash-wish-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,194,168,0.25);
}

.dash-wish-card-accent {
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--teal), var(--gold));
  border-radius: 4px 0 0 4px;
}

.dash-wish-card-quote {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: rgba(0,194,168,0.15);
  line-height: 1;
  margin-bottom: 4px;
}

.dash-wish-card-message {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 14px;
}

.dash-wish-card-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}

.dash-wish-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.dash-wish-card-role {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--teal);
  margin-top: 2px;
  opacity: 0.8;
}

.dash-wish-card-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  margin-top: 6px;
}

/* ── Wish card action bar ── */
.dash-wish-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.dash-react-toggle {
  background: rgba(0,194,168,0.08);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: 20px;
  color: var(--teal);
  font-size: 14px;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 36px;
  justify-content: center;
}

.dash-react-toggle:hover {
  background: rgba(0,194,168,0.15);
  border-color: var(--teal);
}

.dash-current-reaction { font-size: 16px; line-height: 1; }

.dash-delete-btn {
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 20px;
  color: #f87171;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-delete-btn:hover {
  background: rgba(220,38,38,0.18);
  border-color: #f87171;
  color: #fff;
}

/* ── Emoji picker ── */
.dash-emoji-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  background: #1a2e25;
  border: 1px solid rgba(0,194,168,0.25);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 10;
  animation: fadeInUp 0.15s ease;
}

.dash-emoji-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  font-size: 20px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-emoji-btn:hover {
  background: rgba(0,194,168,0.15);
  transform: scale(1.2);
}

.dash-emoji-clear {
  background: rgba(220,38,38,0.1);
  border: 1px solid rgba(220,38,38,0.2);
  border-radius: 6px;
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-emoji-clear:hover { background: rgba(220,38,38,0.2); }

/* ── Reaction badge in overview ── */
.dash-wish-reaction-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--teal);
  background: rgba(0,194,168,0.07);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: 20px;
  padding: 2px 10px;
  margin-top: 6px;
}

/* ── Wishes hint bar ── */
.dash-wishes-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Search ── */
.dash-wishes-controls { flex: 1; max-width: 340px; }

.dash-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.dash-search-wrap i {
  position: absolute;
  left: 12px;
  color: var(--teal);
  font-size: 12px;
  pointer-events: none;
}

.dash-search-wrap input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: 3px;
  padding: 10px 14px 10px 34px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.dash-search-wrap input::placeholder { color: rgba(255,255,255,0.25); }

.dash-search-wrap input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,194,168,0.1);
}

/* ── Empty / loading states ── */
.dash-loading {
  padding: 40px;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  grid-column: 1 / -1;
}

.dash-empty {
  padding: 60px 20px;
  text-align: center;
  grid-column: 1 / -1;
}

.dash-empty-icon {
  font-size: 44px;
  color: rgba(0,194,168,0.2);
  margin-bottom: 12px;
}

.dash-empty p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-style: italic;
  color: rgba(255,255,255,0.3);
}

/* ── Pagination ── */
.dash-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.dash-page-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,194,168,0.15);
  color: rgba(255,255,255,0.55);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
}

.dash-page-btn:hover:not(:disabled) {
  background: rgba(0,194,168,0.1);
  border-color: var(--teal);
  color: #fff;
}

.dash-page-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #000;
  font-weight: 600;
}

.dash-page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── Share section ── */
.dash-share-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.dash-share-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,194,168,0.12);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}

.dash-share-card:hover { border-color: rgba(0,194,168,0.25); }

.dash-share-icon {
  width: 48px;
  height: 48px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.dash-share-info { flex: 1; min-width: 0; }

.dash-share-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.dash-share-desc {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 14px;
  line-height: 1.5;
}

.dash-share-url-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.dash-share-url {
  flex: 1;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(0,194,168,0.2);
  border-radius: 3px;
  padding: 9px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  outline: none;
  min-width: 0;
  letter-spacing: 0.3px;
}

.dash-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  border: 1px solid rgba(0,194,168,0.3);
  color: var(--teal);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 3px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.dash-copy-btn:hover { color: #fff; background: var(--green-mid); }
.dash-copy-btn.copied { color: #fff; background: var(--teal); border-color: var(--teal); }

.dash-qr-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(0,194,168,0.06);
  border: 1px solid rgba(0,194,168,0.15);
  border-radius: 3px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.dash-qr-note strong { color: rgba(255,255,255,0.75); }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .dash-sidebar {
    transform: translateX(-100%);
  }

  .dash-sidebar.open {
    transform: translateX(0);
    box-shadow: 4px 0 40px rgba(0,0,0,0.5);
  }

  .sidebar-close { display: flex; }
  .dash-menu-btn { display: flex; }
  .dash-main { margin-left: 0; }
}

@media (max-width: 600px) {
  .dash-section { padding: 20px 16px 50px; }
  .dash-topbar { padding: 0 16px; }
  .dash-welcome-banner { flex-direction: column; gap: 16px; padding: 24px; }
  .dash-welcome-photo-wrap { display: none; }
  .dash-all-wishes-grid { grid-template-columns: 1fr; }
  .dash-share-card { flex-direction: column; }
  .dash-share-url-row { flex-direction: column; }
  .dash-share-url { width: 100%; }
  .dash-copy-btn { width: 100%; justify-content: center; }
}
