/* ============================================================
   PATIPERROS APP CSS — Paleta Unificada Dark Premium
   Azul:    #0496D7  Violeta: #7576E3  Cyan: #06b6d4
   Verde:   #10b981  Rojo:    #e53e3e
   Fondo:   #0a0f1e  Card:    #0f1628  Border: rgba(255,255,255,0.1)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:    #0496D7;
  --blue2:   #578DD7;
  --violet:  #7576E3;
  --cyan:    #06b6d4;
  --green:   #10b981;
  --red:     #e53e3e;
  --amber:   #f59e0b;

  /* Dark theme */
  --bg:      #0a0f1e;
  --bg2:     #0f1628;
  --bg3:     #141b2d;
  --card:    #0f1628;
  --card2:   #141b2d;
  --border:  rgba(255,255,255,0.09);
  --border2: rgba(4,150,215,0.25);
  --glass:   rgba(255,255,255,0.05);
  --glass2:  rgba(255,255,255,0.09);

  --text:    #e2e8f0;
  --muted:   #64748b;
  --white:   #ffffff;
  --black:   #111111;
  --gray:    #0f1628;

  --radius:  14px;
  --shadow:  0 4px 24px rgba(4,150,215,0.12);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── FONDO ANIMADO (app shell) ─────────────── */
#app-shell {
  background: var(--bg);
  min-height: 100vh;
  position: relative;
}

/* ── LOGIN ─────────────────────────────────── */
#login-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
#login-screen::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(4,150,215,0.12) 0%, rgba(117,118,227,0.06) 50%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.login-card {
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
  position: relative;
  backdrop-filter: blur(20px);
}
.login-logo {
  height: 114px;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 28px rgba(4,150,215,0.75)) drop-shadow(0 0 50px rgba(117,118,227,0.45)) brightness(1.35) saturate(0.85);
  animation: login-logo-pulse 3s ease-in-out infinite;
}
@keyframes login-logo-pulse {
  0%,100% { filter: drop-shadow(0 0 28px rgba(4,150,215,0.75)) drop-shadow(0 0 50px rgba(117,118,227,0.45)) brightness(1.35) saturate(0.85); }
  50%     { filter: drop-shadow(0 0 42px rgba(6,182,212,0.95)) drop-shadow(0 0 70px rgba(117,118,227,0.6)) brightness(1.5) saturate(0.85); }
}
.login-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: var(--white);
  background: linear-gradient(135deg, #fff 30%, var(--cyan) 70%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.login-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 2rem;
}
.login-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.75rem;
  line-height: 1.5;
}
.error-msg {
  background: rgba(229,62,62,0.12);
  border: 1px solid rgba(229,62,62,0.3);
  color: #fc8181;
  padding: 0.75rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-size: 0.88rem;
}

/* ── FIELDS ─────────────────────────────────── */
.field { margin-bottom: 1rem; text-align: left; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.93rem;
  transition: border 0.2s, box-shadow 0.2s;
  background: var(--bg3);
  color: var(--text);
}
.field input::placeholder, .field textarea::placeholder { color: #475569; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(4,150,215,0.15);
}
.field select option { background: var(--bg3); color: var(--text); }
.field textarea { resize: vertical; min-height: 80px; }

/* ── BUTTONS ─────────────────────────────────── */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 16px rgba(4,150,215,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(4,150,215,0.45); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-start {
  background: linear-gradient(135deg, var(--green), #059669);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.btn-start:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16,185,129,0.45); }

.btn-stop {
  background: linear-gradient(135deg, var(--red), #c53030);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(229,62,62,0.3);
}
.btn-stop:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(229,62,62,0.45); }
.btn-stop:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: var(--glass);
  color: var(--cyan);
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  padding: 0.65rem 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(4,150,215,0.1); border-color: var(--blue); color: var(--white); }

.btn-danger {
  background: rgba(229,62,62,0.1);
  color: #fc8181;
  border: 1.5px solid rgba(229,62,62,0.3);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-danger:hover { background: var(--red); color: #fff; border-color: var(--red); }

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 8px;
  color: var(--muted);
  transition: all 0.2s;
}
.btn-icon:hover { background: var(--glass2); color: var(--blue); }

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
  padding: 0.4rem 0.5rem;
  border-radius: 8px;
  position: relative;
  transition: all 0.2s;
}
.icon-btn:hover { background: rgba(0,0,0,0.06); }

/* ── TOPBAR ─────────────────────────────────── */
#topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  backdrop-filter: none;
  padding: 0.7rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.topbar-left { display: flex; align-items: center; gap: 0.75rem; }
.topbar-logo { height: 36px; filter: drop-shadow(0 0 6px rgba(4,150,215,0.3)); }
#topbar-title { font-size: 1.1rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #1a202c; }
.topbar-right { display: flex; align-items: center; gap: 0.75rem; }
#topbar-user { font-size: 0.82rem; font-weight: 600; color: #4a5568; }
#topbar .icon-btn { color: #2d3748; }
#topbar .icon-btn:hover { background: rgba(0,0,0,0.06); color: #0496D7; }
#notif-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── NOTIF PANEL ─────────────────────────────── */
#notif-panel {
  position: fixed;
  top: 60px; right: 1rem;
  width: 340px;
  max-height: 440px;
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  overflow-y: auto;
  z-index: 200;
  padding: 1rem;
  backdrop-filter: blur(20px);
}
.notif-item {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.4rem;
  transition: all 0.2s;
}
.notif-item.unread { background: rgba(4,150,215,0.08); border-color: rgba(4,150,215,0.15); }
.notif-item h5 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; color: var(--white); }
.notif-item p { font-size: 0.78rem; color: var(--muted); }
.notif-time { font-size: 0.7rem; color: var(--cyan); margin-top: 0.3rem; }

/* ── BOTTOM NAV ─────────────────────────────── */
#bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(10,15,30,0.95);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(20px);
  display: flex;
  z-index: 50;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 0;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
  transition: all 0.2s;
  gap: 0.2rem;
  letter-spacing: 0.3px;
}
.nav-item i { font-size: 1.2rem; }
.nav-item.active { color: var(--blue); }
.nav-item:hover { color: var(--cyan); }
.nav-item.active i { filter: drop-shadow(0 0 6px rgba(4,150,215,0.6)); }

/* ── MAIN CONTENT ───────────────────────────── */
#main-content {
  padding: 1.5rem;
  padding-bottom: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ── CARDS ─────────────────────────────────── */
.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,150,215,0.02) 0%, transparent 60%);
  pointer-events: none;
  border-radius: var(--radius);
}
.card:hover {
  border-color: var(--border2);
  box-shadow: 0 8px 32px rgba(4,150,215,0.1);
  transform: translateY(-1px);
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.card-title { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.card-sub { font-size: 0.82rem; color: var(--muted); margin-top: 0.2rem; }

/* ── STATS GRID ─────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
/* Variante: exactamente 2 tarjetas por línea (resumen admin) */
.stats-grid.stats-grid-2col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.stats-grid.stats-grid-2col .stat-card { padding: 1rem; }
.stats-grid.stats-grid-2col .stat-card .num { font-size: 1.55rem; }
.stats-grid.stats-grid-2col .stat-card .ico { width: 42px; height: 42px; font-size: 1.35rem; }
.stat-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(4,150,215,0.04) 100%);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(4,150,215,0.15); }
.stat-card:hover::after { opacity: 1; }
.stat-card .num { font-size: 1.9rem; font-weight: 900; background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; }
.stat-card .lbl { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-card .ico {
  font-size: 1.6rem;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(4,150,215,0.18), rgba(117,118,227,0.18));
  border: 1px solid rgba(4,150,215,0.35);
  color: var(--cyan);
  opacity: 1;
  box-shadow: 0 4px 12px rgba(4,150,215,0.18), inset 0 0 12px rgba(6,182,212,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card:hover .ico {
  transform: scale(1.08) rotate(-4deg);
  box-shadow: 0 6px 18px rgba(4,150,215,0.35), inset 0 0 14px rgba(6,182,212,0.15);
}

/* ── TABS ─────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}
.tab {
  padding: 0.75rem 1.2rem;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all 0.2s;
}
.tab.active { color: var(--cyan); border-bottom-color: var(--cyan); background: rgba(6,182,212,0.05); border-radius: 8px 8px 0 0; }
.tab:hover { color: var(--text); background: rgba(255,255,255,0.03); border-radius: 8px 8px 0 0; }

/* ── TABLE ─────────────────────────────────── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
thead tr { background: rgba(4,150,215,0.06); }
th { padding: 0.75rem 1rem; text-align: left; font-weight: 700; color: var(--cyan); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.8px; }
td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); vertical-align: middle; color: var(--text); }
tr:hover td { background: rgba(255,255,255,0.02); }

/* ── BADGES ─────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}
.badge-blue   { background: rgba(4,150,215,0.15);  color: #60b8f0; }
.badge-green  { background: rgba(16,185,129,0.15); color: #6ee7b7; }
.badge-yellow { background: rgba(245,158,11,0.15); color: #fcd34d; }
.badge-red    { background: rgba(229,62,62,0.15);  color: #fca5a5; }
.badge-violet { background: rgba(117,118,227,0.15);color: #a5b4fc; }
.badge-gray   { background: rgba(100,116,139,0.15);color: #94a3b8; }

/* ── MAP ─────────────────────────────────── */
.map-box {
  height: 360px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-box-sm { height: 260px; }

/* ── CALENDAR ─────────────────────────────── */
.cal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.cal-nav h4 { font-size: 1rem; font-weight: 700; text-transform: capitalize; color: var(--white); }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-head {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.4rem 0;
  text-transform: uppercase;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  border: 1.5px solid transparent;
  color: var(--text);
}
.cal-day:hover:not(.cal-disabled):not(.cal-empty) { border-color: var(--blue); background: rgba(4,150,215,0.1); }
.cal-day.cal-selected { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 0 12px rgba(4,150,215,0.4); }
.cal-day.cal-completed { background: rgba(16,185,129,0.15); color: #6ee7b7; border-color: rgba(16,185,129,0.3); }
.cal-day.cal-rescheduled { background: rgba(245,158,11,0.15); color: #fcd34d; border-color: rgba(245,158,11,0.3); }
.cal-day.cal-today { border-color: var(--violet); font-weight: 900; color: var(--white); }
.cal-day.cal-disabled { opacity: 0.25; cursor: not-allowed; }
.cal-day.cal-empty { cursor: default; }
.cal-legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; font-size: 0.76rem; color: var(--muted); }
.cal-legend-item { display: flex; align-items: center; gap: 0.4rem; }
.cal-legend-dot { width: 12px; height: 12px; border-radius: 4px; }

/* ── CLIENT CARD (PASEADOR) ─────────────────── */
.client-card {
  background: linear-gradient(135deg, var(--card) 0%, var(--bg3) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.client-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  opacity: 0;
  transition: opacity 0.3s;
}
.client-card:hover { border-color: var(--border2); box-shadow: 0 8px 28px rgba(4,150,215,0.12); transform: translateY(-2px); }
.client-card:hover::before { opacity: 1; }
.client-card.active-walk { border-color: rgba(16,185,129,0.4); background: linear-gradient(135deg, rgba(16,185,129,0.05) 0%, var(--card) 100%); }
.client-card.active-walk::before { opacity: 1; background: linear-gradient(90deg, var(--green), var(--cyan)); }
.client-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.client-name { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.dog-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.dog-pill {
  background: rgba(4,150,215,0.1);
  color: var(--cyan);
  border: 1px solid rgba(4,150,215,0.2);
  border-radius: 99px;
  padding: 0.25rem 0.75rem;
  font-size: 0.76rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dog-note { font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; font-style: italic; }

/* ── CHAT ─────────────────────────────────── */
.chat-box {
  height: 300px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.chat-box.inactive {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-style: italic;
  font-size: 0.9rem;
}
.msg { max-width: 80%; padding: 0.6rem 1rem; border-radius: 14px; font-size: 0.86rem; line-height: 1.45; }
.msg-mine { background: var(--blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; box-shadow: 0 2px 10px rgba(4,150,215,0.3); }
.msg-other { background: var(--bg3); color: var(--text); align-self: flex-start; border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg-sender { font-size: 0.68rem; font-weight: 700; margin-bottom: 0.25rem; opacity: 0.7; }
.msg-time { font-size: 0.65rem; opacity: 0.55; margin-top: 0.2rem; text-align: right; }
.chat-input-row { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.chat-input-row input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  background: var(--bg3);
  color: var(--text);
}
.chat-input-row input::placeholder { color: #475569; }
.chat-input-row input:focus { border-color: var(--blue); outline: none; }
.chat-send { background: var(--blue); color: #fff; border: none; border-radius: 10px; padding: 0.6rem 1rem; cursor: pointer; font-size: 1rem; transition: all 0.2s; }
.chat-send:hover { background: var(--blue2); }

/* ── ADMIN CHAT GRID ─────────────────────────── */
.admin-chat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1rem; }

/* ── MODAL ─────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 1rem;
  backdrop-filter: blur(4px);
}
.modal {
  background: var(--card2);
  border: 1px solid var(--border2);
  border-radius: 20px;
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.modal-title { font-size: 1.25rem; font-weight: 800; margin-bottom: 1.25rem; color: var(--white); }
.modal-actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.modal-actions button { flex: 1; }

/* progress-bar defined later in file */

/* ── STARS ─────────────────────────────────── */
.stars { display: flex; gap: 4px; }
.star { font-size: 1.4rem; cursor: pointer; color: #334155; transition: color 0.15s; }
.star.on { color: var(--amber); text-shadow: 0 0 8px rgba(245,158,11,0.5); }

/* ── MISC ─────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.2; }
.empty-state p { font-size: 0.93rem; }
.chip { display: inline-block; background: var(--glass); border: 1px solid var(--border); border-radius: 99px; padding: 0.2rem 0.6rem; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.row { display: flex; gap: 1rem; }
.row > * { flex: 1; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--muted); font-size: 0.83rem; }
.text-blue   { color: var(--blue); }
.text-green  { color: var(--green); }
.text-red    { color: #fc8181; }
.text-violet { color: var(--violet); }
.text-cyan   { color: var(--cyan); }
.fw-bold { font-weight: 700; }
.divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.loading { text-align: center; padding: 2rem; color: var(--muted); font-size: 0.9rem; }
.spinner { display: inline-block; width: 22px; height: 22px; border: 3px solid var(--border); border-top-color: var(--blue); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.45} }

/* ── AGENDA CARDS (Mi Agenda paseador) ─────── */
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.agenda-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.agenda-card:hover { border-color: rgba(4,150,215,0.4); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(4,150,215,0.18); }
.agenda-card.expanded {
  grid-column: 1 / -1;
  border-color: rgba(4,150,215,0.55);
  box-shadow: 0 8px 26px rgba(4,150,215,0.25);
}
.agenda-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  cursor: pointer;
  user-select: none;
}
.agenda-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(4,150,215,0.35);
}
.agenda-info { flex: 1; min-width: 0; }
.agenda-name { font-weight: 700; color: var(--white); font-size: 0.95rem; }
.agenda-meta { font-size: 0.8rem; margin-top: 0.15rem; }
.agenda-next { font-size: 0.78rem; color: var(--muted); margin-top: 0.25rem; }
.agenda-chevron {
  color: var(--muted);
  font-size: 0.85rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.agenda-chevron.rotated { transform: rotate(180deg); color: var(--cyan); }
.agenda-card-body {
  padding: 0.5rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: rgba(4,150,215,0.03);
  animation: agendaExpand 0.3s ease;
}
@keyframes agendaExpand {
  from { opacity: 0; max-height: 0; }
  to   { opacity: 1; max-height: 1000px; }
}

/* ── DOG CARD ─────────────────────────────── */
.dog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.dog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.25s;
  text-align: center;
}
.dog-card:hover { border-color: var(--border2); transform: translateY(-3px); box-shadow: var(--shadow); }
.dog-avatar { font-size: 2.5rem; margin-bottom: 0.75rem; }
.dog-name { font-size: 1.05rem; font-weight: 700; color: var(--white); }
.dog-info { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.dog-note-box { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); border-radius: 8px; padding: 0.5rem; margin-top: 0.75rem; font-size: 0.78rem; color: #fcd34d; text-align: left; }



/* ── LIST ROW ──────────────────────────────── */
.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 0.75rem;
  color: var(--text);
}
.list-row:last-child { border-bottom: none; }

/* ── QUICK GRID (Admin) ─────────────────────── */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 0.75rem; }
.quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.5rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  transition: all 0.2s;
}
.quick-btn i { font-size: 1.4rem; color: var(--blue); }
.quick-btn:hover { background: rgba(4,150,215,0.08); border-color: var(--border2); color: var(--cyan); transform: translateY(-2px); }

/* ── PLAN MGMT GRID ─────────────────────────── */
.plans-mgmt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }

.plan-mgmt-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.plan-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: var(--bg);
  border-radius: 10px;
  padding: 0.75rem;
}
.plan-stats > div { text-align: center; font-size: 0.78rem; }
.plan-stats > div span { display: block; color: var(--muted); font-size: 0.68rem; margin-bottom: 0.2rem; text-transform: uppercase; letter-spacing: 0.4px; }
.plan-stats > div b { font-size: 0.88rem; color: var(--white); }
.plan-code { font-size: 1.6rem; font-weight: 900; color: var(--blue); }

/* ── CALENDAR LAYOUT (Admin) ────────────────── */
.cal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 900px) { .cal-layout { grid-template-columns: 1fr; } }
.cal-nav-static { display: flex; align-items: center; justify-content: center; margin-bottom: 0.75rem; }
.cal-nav-static h5 { font-size: 0.93rem; font-weight: 700; color: var(--white); text-transform: capitalize; }

/* ── WALK ACTION BAR (Walker) ─────────────────── */
.walk-action-bar { margin-bottom: 1.25rem; }
.btn-start.full, .btn-stop.full { width: 100%; padding: 1rem; font-size: 1.05rem; border-radius: 14px; }
.walk-status-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px;
  font-size: 0.82rem;
}

/* ── RATING CARD ────────────────────────────── */
.rating-card { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; }

/* ── PLAN INFO GRID ─────────────────────────── */
.plan-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  background: var(--bg);
  border-radius: 10px;
  padding: 0.75rem;
  margin-top: 0.75rem;
}
.plan-info-grid > div { text-align: center; font-size: 0.78rem; }
.plan-info-grid > div span { display: block; color: var(--muted); font-size: 0.68rem; margin-bottom: 0.2rem; text-transform: uppercase; }
.plan-info-grid > div b { font-size: 0.88rem; color: var(--white); }

/* ── ACTIVE WALK BANNER ─────────────────────── */
.active-walk-banner {
  background: rgba(16,185,129,0.06) !important;
  border: 1px solid rgba(16,185,129,0.3) !important;
}
.walk-icon-green {
  width: 44px; height: 44px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(16,185,129,0.4);
}

/* ── WALKER AVATAR (Client) ─────────────────── */
.walker-avatar {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(4,150,215,0.35);
}

/* ── CLIENT GREETING ────────────────────────── */
.client-greeting { margin-bottom: 1.25rem; }
.client-greeting h2 { font-size: 1.3rem; font-weight: 800; color: var(--white); }

/* ── DOG NOTE ALERT ─────────────────────────── */
.dog-note-alert {
  background: rgba(229,62,62,0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 0.5rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #fca5a5;
}

/* ── PLAN PROGRESS ─────────────────────────── */
.plan-progress { margin-top: 0.5rem; }

/* ── INFO BOX ───────────────────────────────── */
.info-box {
  background: rgba(4,150,215,0.08);
  border: 1px solid rgba(4,150,215,0.2);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.info-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; padding: 0.35rem 0; }

/* ── ROW HELPERS ────────────────────────────── */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mx-1 { margin-left: 0.5rem; margin-right: 0.5rem; }
.sm { padding: 0.5rem 1rem !important; font-size: 0.82rem !important; }

/* ── MAP ICONS ──────────────────────────────── */
.map-walker-icon {
  width: 38px; height: 38px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(4,150,215,0.5);
}
.map-dog-icon {
  width: 42px; height: 42px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.1rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(16,185,129,0.5);
  animation: pulse 2s infinite;
}
.map-marker-a {
  width: 28px; height: 28px;
  background: var(--green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 0.8rem;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.map-marker-b {
  width: 28px; height: 28px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 900; font-size: 0.8rem;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ── ROLE BADGE TOPBAR ──────────────────────── */
#topbar-role-badge { display: flex; align-items: center; }
#topbar-role-badge .badge { font-size: 0.7rem; }

/* ── WALKER CHAT (Admin view) ───────────────── */
.msg-walker {
  background: rgba(117,118,227,0.15);
  color: var(--text);
  align-self: flex-start;
  border: 1px solid rgba(117,118,227,0.2);
  border-bottom-left-radius: 4px;
  max-width: 80%;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.4;
}
.msg-client {
  background: rgba(4,150,215,0.12);
  color: var(--text);
  align-self: flex-end;
  border: 1px solid rgba(4,150,215,0.2);
  border-bottom-right-radius: 4px;
  max-width: 80%;
  padding: 0.6rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.4;
}

/* ── CHIP GREEN ─────────────────────────────── */
.chip.green { background: rgba(16,185,129,0.15); color: #6ee7b7; border-radius: 99px; padding: 0.2rem 0.6rem; font-size: 0.73rem; font-weight: 600; }

/* ── DOWNLOAD BUTTON (Admin chat) ──────────── */
.btn-download {
  background: rgba(6,182,212,0.1);
  color: var(--cyan);
  border: 1px solid rgba(6,182,212,0.25);
  border-radius: 10px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.btn-download:hover { background: rgba(6,182,212,0.2); border-color: var(--cyan); color: var(--white); }

/* ── INACTIVITY ALERT (admin map) ──────────── */
.inactivity-card {
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
}
.inactivity-card .card-title { color: #fcd34d; }

/* ── SECCIÓN HEADER ─────────────────────────── */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.section-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ── SECTION LABEL ───────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 1rem;
}

/* ── PLAN MGMT CARD ─────────────────────────── */
.plan-mgmt-card {
  background: linear-gradient(135deg, var(--card) 0%, rgba(117,118,227,0.04) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.plan-mgmt-card:hover { border-color: rgba(117,118,227,0.3); box-shadow: 0 8px 24px rgba(117,118,227,0.1); }

/* ── PROGRESS BAR ───────────────────────────── */
.progress-bar { background: var(--bg3); border-radius: 99px; height: 6px; overflow: hidden; }
.progress-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--blue), var(--violet));
  transition: width 0.6s ease;
}

/* ── GLOW EFFECTS ────────────────────────────── */
.text-blue  { color: var(--blue); }
.text-cyan  { color: var(--cyan); }
.text-green { color: var(--green); }
.text-red   { color: var(--red); }
.text-violet{ color: var(--violet); }
.text-amber { color: var(--amber); }
.text-muted { color: var(--muted); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.fw-bold  { font-weight: 700; }
.fw-black { font-weight: 900; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mx-1 { margin-left: 0.5rem; margin-right: 0.5rem; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 640px) {
  #main-content { padding: 1rem; padding-bottom: 80px; }
  .modal { padding: 1.5rem; }
  .row { flex-direction: column; }
  .row2 { grid-template-columns: 1fr; }
  .row3 { grid-template-columns: 1fr; }
  .plan-info-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-stats { grid-template-columns: repeat(2, 1fr); }
  .cal-layout { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 1024px) {
  #bottom-nav { display: none; }
  #main-content { padding: 2rem; padding-bottom: 2rem; }
}

/* ── NUEVOS ESTILOS v5 ─────────────────────────────────────── */

/* Toast chat popup */
@keyframes slideInRight {
  from { transform: translateX(120%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}

/* Admin chat acordeón */
.acc-chat-header { cursor: pointer; transition: background 0.15s; }
.acc-chat-header:hover { background: rgba(4,150,215,0.07); }

/* Finanzas */
.text-amber { color: var(--amber); }
.badge-amber { background: rgba(245,158,11,0.15); color: var(--amber); border: 1px solid rgba(245,158,11,0.3); }

/* Calendario compacto — panel ver cliente */
.cal-nav-static { display: flex; align-items: center; justify-content: center; padding: 0.4rem 0; }
.cal-nav-static h5 { font-size: 0.88rem; font-weight: 700; color: var(--white); }

/* Tarjetas paseador compactas (móvil 4 por pantalla) */
@media (max-width: 640px) {
  .client-card {
    padding: 0.75rem;
  }
  .client-name { font-size: 0.9rem; }
  .dog-pills   { gap: 0.3rem; }
  .dog-pill    { font-size: 0.72rem; padding: 0.2rem 0.55rem; }
  .plan-progress { margin-top: 0.4rem; }
}

/* Highlight activo menos agresivo para tarjeta walker */
.client-card.active-walk {
  border-color: rgba(16,185,129,0.3);
  background:   rgba(16,185,129,0.03);
}

/* Sección historial admin (acordeón) */
.admin-chat-accordion { border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }

/* Selector calendarios cliente: solo meses relevantes */
.cal-compact-header { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.5px; padding: 0.3rem 0 0.5rem; }

/* Panel finanzas tabla */
#fin-tbody td { font-size: 0.84rem; }

/* Botón datepicker de reagendamiento */
input[type="date"] {
  background: var(--glass);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  width: 100%;
  font-family: inherit;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(0.6);
  cursor: pointer;
}
input[type="date"]:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(4,150,215,0.15);
}

/* Toast notif chat popup */
#chat-popup-toast { user-select: none; }

/* ── Panel "asignar clientes a paseador" con checkboxes ─────────── */
.wcp-list {
  max-height: 320px;
  overflow-y: auto;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.4rem;
  background: rgba(0,0,0,0.15);
}
.wcp-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: 9px;
  margin-bottom: 0.3rem;
  background: var(--glass);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s;
}
.wcp-row:hover { background: var(--glass2); border-color: rgba(4,150,215,0.25); }
.wcp-row.wcp-disabled { opacity: 0.62; cursor: not-allowed; }
.wcp-row.wcp-disabled:hover { background: var(--glass); border-color: transparent; }
.wcp-cb {
  width: 18px; height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  flex-shrink: 0;
}
.wcp-cb:disabled { cursor: not-allowed; }
.wcp-info { flex: 1; min-width: 0; }
.wcp-name { font-weight: 700; font-size: 0.9rem; color: var(--white); }
.wcp-email { font-size: 0.76rem; word-break: break-all; }

/* ── PATIPERROS — Modales corporativos (fondo blanco · logo · texto azul) ── */
.pp-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7, 24, 56, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1rem;
}
.pp-modal-overlay.show { opacity: 1; pointer-events: auto; }
.pp-modal {
  background: #ffffff;
  color: #0496D7;
  border-radius: 18px;
  width: 100%; max-width: 420px;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: 0 30px 80px rgba(4,150,215,0.35), 0 0 0 1px rgba(4,150,215,0.10);
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  transform: translateY(8px) scale(0.98);
  transition: transform 0.2s ease;
}
.pp-modal-overlay.show .pp-modal { transform: translateY(0) scale(1); }
.pp-modal-logo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.5rem;
  display: block;
  box-shadow: 0 8px 22px rgba(4,150,215,0.25);
  border: 3px solid #ffffff;
  background: #ffffff;
}
.pp-modal-brand {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #0496D7;
  margin-bottom: 0.85rem;
}
.pp-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0E2A47;
  margin: 0 0 0.5rem;
  letter-spacing: 0.2px;
}
.pp-modal-title .fas { color: #0496D7; margin-right: 0.4rem; }
.pp-modal-msg {
  font-size: 0.95rem;
  line-height: 1.55;
  color: #0E2A47;
  margin: 0 0 1.2rem;
}
.pp-modal-msg.pp-tone-warn  { color: #1f3b66; }
.pp-modal-msg.pp-tone-error { color: #b3261e; }
.pp-modal-msg.pp-tone-success { color: #137a3a; }
.pp-modal-actions {
  display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap;
}
.pp-btn-primary {
  background: linear-gradient(135deg, #0496D7 0%, #06B6D4 100%);
  color: #ffffff;
  border: none;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
  box-shadow: 0 6px 18px rgba(4,150,215,0.35);
  font-family: inherit;
}
.pp-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); }
.pp-btn-ghost {
  background: #ffffff;
  color: #0496D7;
  border: 1.5px solid #0496D7;
  padding: 0.7rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.pp-btn-ghost:hover { background: #E8F6FD; }
