/* =========================================================
   my.4-putrat.al — Paneli i Klientit
   Dizajn i lehte, i ngrohte — jo si panel administrimi.
   ========================================================= */

.dash-body { background: var(--cream); min-height: 100vh; }

/* ---------- Top nav ---------- */
.dash-topnav {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.dash-topnav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 20px; }

.dash-pill-nav { display: flex; gap: 6px; background: var(--cream); padding: 6px; border-radius: 999px; }
.dash-pill-nav a {
  font-family: var(--font-body); font-weight: 600; font-size: .88rem;
  padding: 9px 16px; border-radius: 999px; color: var(--ink-soft); white-space: nowrap;
}
.dash-pill-nav a:hover { color: var(--pink-deep); }
.dash-pill-nav a.active { background: linear-gradient(135deg, var(--pink), var(--coral)); color: #fff; box-shadow: var(--shadow-pop); }

.dash-user-area { display: flex; align-items: center; gap: 14px; }
.dash-user-chip { display: flex; align-items: center; gap: 8px; }
.dash-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), var(--coral)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
}
.dash-user-name { font-weight: 600; font-size: .9rem; }
.dash-logout {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  color: var(--ink-soft);
}
.dash-logout:hover { background: #fde1e1; color: #b4302f; }

@media (max-width: 900px) {
  .dash-pill-nav {
    position: fixed; inset: 68px 12px auto 12px; flex-direction: column; align-items: stretch;
    background: var(--white); box-shadow: var(--shadow-soft); padding: 10px;
    display: none; gap: 4px; z-index: 60;
  }
  .dash-pill-nav.open { display: flex; }
  .dash-pill-nav a { text-align: left; }
  .dash-hide-mobile { display: none; }
}

/* ---------- Main content wrapper ---------- */
.dash-content { padding: 32px 0 60px; }

/* ---------- Page heading (used across sub-pages) ---------- */
.dash-page-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; justify-content: space-between; }
.dash-page-head .titles h1 { font-size: 1.55rem; margin-bottom: 2px; }
.dash-page-head .titles p { margin: 0; color: var(--ink-soft); font-size: .92rem; }
.dash-page-icon {
  width: 46px; height: 46px; border-radius: 14px; background: var(--cream-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}

/* ---------- Welcome hero (dashboard home) ---------- */
.dash-hero {
  background: linear-gradient(120deg, var(--pink), var(--coral));
  border-radius: var(--radius-lg); color: #fff; padding: 34px 36px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px;
  margin-bottom: 28px;
}
.dash-hero h1 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.dash-hero p { color: rgba(255,255,255,.92); margin: 0; max-width: 46ch; }
.dash-hero .btn-white { flex-shrink: 0; }

/* ---------- Quick action tiles ---------- */
.quick-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.quick-tile {
  background: var(--white); border-radius: var(--radius-md); padding: 22px 18px;
  box-shadow: var(--shadow-soft); text-align: center; transition: transform .18s ease;
}
.quick-tile:hover { transform: translateY(-4px); }
.quick-tile .icon { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.quick-tile strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.quick-tile span { font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 900px) { .quick-tiles { grid-template-columns: 1fr 1fr; } }

/* ---------- Friendly stat pills ---------- */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.stat-card {
  background: var(--white); border-radius: var(--radius-md); padding: 20px;
  box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: 14px;
}
.stat-card .stat-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.stat-card:nth-child(1) .stat-icon { background: #ffe3ea; }
.stat-card:nth-child(2) .stat-icon { background: #ffe6d9; }
.stat-card:nth-child(3) .stat-icon { background: #e3f3ff; }
.stat-card:nth-child(4) .stat-icon { background: #e6f7ea; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1; }
.stat-card span { font-size: .78rem; color: var(--ink-soft); }
@media (max-width: 900px) { .stat-cards { grid-template-columns: 1fr 1fr; } }

/* ---------- Booking timeline (friendlier than a bare table) ---------- */
.timeline-list { display: flex; flex-direction: column; gap: 12px; }
.timeline-item {
  display: flex; align-items: center; gap: 16px; background: var(--white);
  border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow-soft);
  flex-wrap: wrap;
}
.timeline-item .t-icon { font-size: 1.4rem; }
.timeline-item .t-main { flex: 1; min-width: 180px; }
.timeline-item .t-main strong { display: block; font-size: .95rem; }
.timeline-item .t-main span { font-size: .8rem; color: var(--ink-soft); }
.timeline-item .t-dates { font-family: var(--font-mono); font-size: .82rem; color: var(--ink-soft); text-align: right; }

.empty-friendly { text-align: center; padding: 40px 20px; color: var(--ink-soft); }
.empty-friendly .icon { font-size: 2.4rem; display: block; margin-bottom: 10px; }

/* ---------- Auth screens (login/register) ---------- */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(135deg, var(--cream), var(--cream-deep)); }
.auth-card { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 40px; max-width: 420px; width: 100%; }
.auth-card .brand { justify-content: center; margin-bottom: 22px; }

/* ---------- Footer ---------- */
.dash-footer { padding: 26px 0; border-top: 1px solid var(--line); margin-top: 30px; }
.dash-footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: var(--ink-soft); }
.dash-footer-links a { margin-left: 16px; }
.dash-footer-links a:hover { color: var(--pink-deep); }
