/* =============================================================
   sportingo-drawer.css
   Sportingo közös drawer / fiók panel stílusok
   Referencia: web-palya.html végleges drawer implementáció
   ============================================================= */
.sportingo-auth-btn { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 20px; border: 1.5px solid #d4e8f0; background: white; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 700; color: #1a2e3b; cursor: pointer; transition: all .2s; white-space: nowrap; }
.sportingo-auth-btn:hover { border-color: #1a8fc1; color: #1a8fc1; background: rgba(26,143,193,.04); }
.sp-loading { grid-column: 1/-1; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 4rem 2rem; color: #6b8a9a; font-size: .9rem; }
.sp-empty { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; background: white; border: 1.5px solid #d4e8f0; border-radius: 18px; color: #6b8a9a; }
.sp-empty-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.sp-empty-title { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; color: #0a1628; margin-bottom: .5rem; }
.sp-empty-sub { font-size: .88rem; line-height: 1.6; }
#sp-login-modal-overlay { position: fixed; inset: 0; background: rgba(10,22,40,.55); backdrop-filter: blur(4px); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
#sp-login-modal-overlay.open { opacity: 1; pointer-events: all; }
#sp-login-modal { background: white; border-radius: 20px; width: 420px; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.25); overflow: hidden; }
.sp-modal-head { padding: 20px 20px 16px; display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1.5px solid #f0f7fb; }
.sp-modal-logo img { height: 36px; background: white; border-radius: 6px; padding: 2px 6px; }
.sp-modal-subtitle { font-size: .78rem; color: #6b8a9a; font-weight: 600; margin-top: 4px; }
.sp-modal-close { background: #f0f7fb; border: none; border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; color: #6b8a9a; transition: all .2s; flex-shrink: 0; }
.sp-modal-close:hover { background: #d4e8f0; color: #0a1628; }
#sp-login-modal-body { padding: 20px; }
.sp-login-alert { padding: 10px 14px; border-radius: 10px; font-size: .83rem; font-weight: 600; margin-bottom: 14px; display: none; }
.sp-login-alert.error { background: #fef2f2; color: #ef4444; border: 1px solid #fecaca; }
.sp-login-alert.success { background: rgba(45,191,126,.1); color: #1a9960; border: 1px solid rgba(45,191,126,.3); }
.sp-login-tabs { display: flex; gap: 4px; background: #f0f7fb; border-radius: 12px; padding: 4px; margin-bottom: 18px; }
.sp-login-tab { flex: 1; padding: 8px; text-align: center; font-size: .85rem; font-weight: 600; cursor: pointer; border-radius: 9px; border: none; background: transparent; color: #6b8a9a; transition: all .2s; font-family: inherit; }
.sp-login-tab.active { background: white; color: #0a1628; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.sp-lv-section { display: none; }
.sp-lv-section.active { display: block; }
.sp-login-input { width: 100%; padding: 11px 14px; border: 1.5px solid #d4e8f0; border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .9rem; color: #0a1628; background: white; outline: none; transition: all .2s; margin-bottom: 10px; }
.sp-login-input:focus { border-color: #1a8fc1; box-shadow: 0 0 0 3px rgba(26,143,193,.1); }
.sp-login-btn { width: 100%; padding: 12px; background: linear-gradient(135deg,#1a8fc1,#2dbf7e); color: white; border: none; border-radius: 11px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .92rem; font-weight: 700; cursor: pointer; transition: all .2s; margin-bottom: 10px; }
.sp-login-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,143,193,.3); }
.sp-login-btn:disabled { opacity: .6; cursor: not-allowed; }
.sp-google-btn { width: 100%; padding: 11px; background: white; color: #1a2e3b; border: 1.5px solid #d4e8f0; border-radius: 11px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88rem; font-weight: 600; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; }
.sp-google-btn:hover { border-color: #1a8fc1; }
.sp-login-divider { display: flex; align-items: center; gap: 10px; color: #6b8a9a; font-size: .78rem; margin: 4px 0 10px; }
.sp-login-divider::before, .sp-login-divider::after { content: ''; flex: 1; height: 1px; background: #d4e8f0; }
.sp-login-link { font-size: .78rem; color: #1a8fc1; font-weight: 600; cursor: pointer; background: none; border: none; padding: 0; font-family: inherit; text-decoration: underline; }

.sp-modal-foot { padding: 12px 20px; border-top: 1.5px solid #f0f7fb; font-size: .78rem; color: #6b8a9a; text-align: center; }
.sp-modal-foot a { color: #1a8fc1; font-weight: 600; text-decoration: none; }
.sportingo-auth-btn { display: flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 20px; border: 1.5px solid #d4e8f0; background: white; font-family: 'Plus Jakarta Sans', sans-serif; font-size: .85rem; font-weight: 700; color: #1a2e3b; cursor: pointer; transition: all .2s; white-space: nowrap; }
.sportingo-auth-btn:hover { border-color: #1a8fc1; color: #1a8fc1; background: rgba(26,143,193,.04); }
.sp-empty { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; background: white; border: 1.5px solid #d4e8f0; border-radius: 18px; color: #6b8a9a; }

#sp-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.5);
  backdrop-filter: blur(4px);
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
#sp-drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ── Panel alap ── */
#sp-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 860px; max-width: 100vw;
  background: #f5f9fc;
  z-index: 9999;
  box-shadow: -12px 0 60px rgba(10,22,40,.18);
  transform: translateX(100%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow: hidden;
}
#sp-drawer.open { transform: translateX(0); }

/* ── Panel fejléc ── */
.sfd-header {
  background: linear-gradient(135deg, #0a1628 0%, #0f2040 100%);
  padding: 0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.sfd-header::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(45,191,126,.15), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(26,143,193,.12), transparent 50%);
  pointer-events: none;
}
.sfd-header-inner {
  position: relative;
  padding: 20px 24px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.sfd-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, #1a8fc1, #2dbf7e);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.3rem; color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(45,191,126,.3);
}
.sfd-userinfo { flex: 1; min-width: 0; padding-top: 4px; }
.sfd-title {
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 2px;
}
.sfd-name {
  font-weight: 800; font-size: 1.05rem; color: white;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sfd-email { font-size: .75rem; color: rgba(255,255,255,.5); margin-top: 1px; }
.sfd-close {
  background: rgba(255,255,255,.1); border: none; border-radius: 50%;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: rgba(255,255,255,.7);
  font-size: .9rem; transition: all .2s; flex-shrink: 0;
  margin-top: 4px;
}
.sfd-close:hover { background: rgba(255,255,255,.2); color: white; }

/* ── CTA gomb a fejlécben ── */
.sfd-header-cta {
  margin: 14px 24px 0;
  position: relative;
}
.sfd-search-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 11px 18px;
  background: linear-gradient(135deg, #1a8fc1, #2dbf7e);
  color: white; border: none; border-radius: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .88rem; font-weight: 700; cursor: pointer;
  transition: all .2s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(26,143,193,.3);
}
.sfd-search-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,143,193,.4); }
.sfd-search-btn svg { flex-shrink: 0; }

/* ── Nav tabs ── */
.sfd-nav {
  display: flex; gap: 0;
  padding: 16px 24px 0;
  position: relative;
}
.sfd-nav-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  background: none; border: none; border-bottom: 2.5px solid transparent;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.45);
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.sfd-nav-btn:hover { color: rgba(255,255,255,.75); }
.sfd-nav-btn.active { color: #2dbf7e; border-bottom-color: #2dbf7e; }
.sfd-nav-btn .nav-icon { font-size: .9rem; }

/* ── Tartalom terület ── */
.sfd-body {
  flex: 1; overflow-y: auto;
  padding: 24px;
  background: #f5f9fc;
}
.sfd-panel { display: none; }
.sfd-panel.active { display: block; }

/* ── Áttekintés ── */
.sfd-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.sfd-stat-card {
  background: white; border-radius: 16px;
  padding: 18px 16px;
  border: 1.5px solid #e8f2f8;
  cursor: pointer; transition: all .22s;
  text-align: center;
}
.sfd-stat-card:hover { border-color: #1a8fc1; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,143,193,.1); }
.sfd-stat-val {
  font-size: 1.6rem; font-weight: 900; color: #0a1628;
  line-height: 1;
}
.sfd-stat-lbl {
  font-size: .72rem; font-weight: 700; color: #6b8a9a;
  margin-top: 6px; text-transform: uppercase; letter-spacing: .04em;
}

/* Következő foglalás kártya */
.sfd-next-booking {
  background: linear-gradient(135deg, rgba(26,143,193,.08), rgba(45,191,126,.06));
  border: 1.5px solid rgba(26,143,193,.2);
  border-radius: 16px; padding: 18px 20px;
  margin-bottom: 20px;
}
.sfd-next-booking.clickable {
  cursor: pointer; transition: border-color .18s, transform .18s;
  display: block; text-decoration: none; color: inherit;
}
.sfd-next-booking.clickable:hover {
  border-color: rgba(26,143,193,.5);
  transform: translateY(-1px);
}
.sfd-next-booking.clickable:hover .sfd-next-val { color: #1a8fc1; }
.sfd-next-label {
  font-size: .7rem; font-weight: 700; color: #1a8fc1;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px;
}
.sfd-next-val {
  font-size: 1rem; font-weight: 800; color: #0a1628;
}
.sfd-next-sub { font-size: .78rem; color: #6b8a9a; margin-top: 2px; }

/* Gyors akciók */
.sfd-quick-actions {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 24px;
}
.sfd-quick-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: white; border: 1.5px solid #e8f2f8;
  border-radius: 14px; cursor: pointer;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .85rem; font-weight: 700; color: #0a1628;
  transition: all .2s; text-decoration: none;
}
.sfd-quick-btn:hover { border-color: #1a8fc1; color: #1a8fc1; background: rgba(26,143,193,.04); }
.sfd-quick-btn .qb-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(26,143,193,.12), rgba(45,191,126,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}

/* ── Foglalások ── */
.sfd-filter-bar {
  display: flex; gap: 6px; margin-bottom: 16px;
  overflow-x: auto; padding-bottom: 4px;
}
.sfd-filter-chip {
  padding: 6px 14px; border-radius: 20px;
  border: 1.5px solid #d4e8f0; background: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem; font-weight: 700; color: #6b8a9a;
  cursor: pointer; transition: all .2s; white-space: nowrap; flex-shrink: 0;
}
.sfd-filter-chip.active { background: #0a1628; border-color: #0a1628; color: white; }

.sfd-booking-card {
  background: white; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 10px;
  border: 1.5px solid #e8f2f8;
  transition: border-color .2s;
}
.sfd-booking-card.jovahagyva { border-left: 3px solid #2dbf7e; }
.sfd-booking-card.varakozik  { border-left: 3px solid #f59e0b; }
.sfd-booking-card.elutasitva { border-left: 3px solid #ef4444; background: #fff9f9; }
.sfd-booking-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 8px; margin-bottom: 6px;
}
.sfd-booking-name { font-weight: 700; font-size: .9rem; color: #0a1628; }
.sfd-status-pill {
  padding: 3px 10px; border-radius: 20px;
  font-size: .68rem; font-weight: 700; white-space: nowrap; flex-shrink: 0;
}
.sfd-status-pill.jovahagyva { background: rgba(45,191,126,.12); color: #1a9960; }
.sfd-status-pill.varakozik  { background: rgba(245,158,11,.12); color: #b45309; }
.sfd-status-pill.elutasitva { background: rgba(239,68,68,.1);   color: #ef4444; }
.sfd-status-pill.lemondva   { background: #f1f5f9; color: #64748b; }
.sfd-booking-card.lemondva  { border-left: 3px solid #94a3b8; opacity: .75; }
.sfd-booking-meta { font-size: .75rem; color: #6b8a9a; }
/* ── Lemondás gomb ── */
.sfd-cancel-btn {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 8px; padding: 5px 12px;
  background: transparent;
  border: 1.5px solid rgba(239,68,68,.35);
  border-radius: 8px;
  color: #ef4444; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.sfd-cancel-btn:hover { background: #fff5f5; border-color: #ef4444; }
.sfd-cancel-btn:disabled { opacity: .5; cursor: not-allowed; }
.sfd-booking-link {
  display: inline-block; margin-top: 6px;
  font-size: .73rem; font-weight: 700; color: #1a8fc1;
  text-decoration: none;
}
.sfd-booking-name-link {
  color: inherit; text-decoration: none;
}
.sfd-booking-name-link:hover { text-decoration: underline; }

/* ── Review CTA gomb (drawer foglalás kártyában) ── */
.sfd-btn-ertekeles {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 6px; padding: 5px 12px;
  background: transparent;
  border: 1.5px solid rgba(26,143,193,.4);
  border-radius: 8px; color: #1a8fc1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .72rem; font-weight: 700; cursor: pointer;
  transition: all .2s;
}
.sfd-btn-ertekeles:hover { background: rgba(26,143,193,.07); border-color: #1a8fc1; }
.sfd-review-info {
  display: inline-block; margin-top: 6px;
  font-size: .72rem; color: #6b8a9a; font-style: italic;
}
.sfd-review-info strong { font-style: normal; font-weight: 700; color: #1a2e3b; }

/* ── Értékeléseim panel ── */
.sfd-ert-szekció { margin-bottom: 28px; }
.sfd-ert-szekció-cím {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #6b8a9a; margin-bottom: 4px;
}
.sfd-ert-szekció-alcím {
  font-size: .78rem; color: #94a3b8; margin-bottom: 12px; line-height: 1.5;
}
.sfd-ert-card {
  background: white; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 8px;
  border: 1.5px solid #e8f2f8;
  transition: border-color .18s;
}
.sfd-ert-card:last-child { margin-bottom: 0; }
.sfd-ert-card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 8px; margin-bottom: 5px;
}
.sfd-ert-card-nev { font-weight: 700; font-size: .88rem; color: #0a1628; flex: 1; min-width: 0; }
.sfd-ert-card-meta { font-size: .72rem; color: #94a3b8; margin-top: 3px; }
.sfd-ert-card-preview {
  font-size: .78rem; color: #3a5060; margin-top: 6px;
  line-height: 1.55; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sfd-ert-stars { font-size: .9rem; color: #f59e0b; letter-spacing: 2px; flex-shrink: 0; }
.sfd-ert-cimke {
  display: inline-block; font-size: .65rem; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
  background: rgba(26,143,193,.1); color: #1a8fc1;
  margin-right: 4px; margin-top: 6px;
}
.sfd-ert-cooldown {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: #94a3b8; margin-top: 6px;
}
.sfd-ert-cta-wrap { margin-top: 10px; }
.sfd-ert-elvalaszto {
  border: none; border-top: 1.5px solid #f0f7fb;
  margin: 20px 0;
}

/* ── Review modal overlay ── */
#sfd-review-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.55); backdrop-filter: blur(4px);
  z-index: 20000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
#sfd-review-modal-overlay.open { opacity: 1; pointer-events: all; }
#sfd-review-modal {
  background: white; border-radius: 20px;
  width: 480px; max-width: 94vw; max-height: 90vh; overflow-y: auto;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.sfd-review-modal-title { font-weight: 800; font-size: 1.1rem; color: #0a1628; margin-bottom: 4px; }
.sfd-review-modal-sub { font-size: .82rem; color: #6b8a9a; margin-bottom: 20px; }
.sfd-review-stars { display: flex; gap: 8px; margin-bottom: 18px; }
.sfd-review-star {
  font-size: 2rem; cursor: pointer; color: #d4e8f0;
  transition: color .15s, transform .15s;
  user-select: none; line-height: 1;
}
.sfd-review-star.active { color: #f59e0b; transform: scale(1.1); }
.sfd-review-star:hover  { color: #f59e0b; }
.sfd-review-rating-label { font-size: .82rem; color: #6b8a9a; margin-bottom: 18px; min-height: 18px; }
.sfd-review-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e4eef5; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88rem;
  resize: vertical; min-height: 80px; outline: none;
  transition: border-color .2s; margin-bottom: 16px; box-sizing: border-box;
}
.sfd-review-textarea:focus { border-color: #1a8fc1; }
.sfd-review-cimkek-title { font-size: .78rem; font-weight: 700; color: #1a2e3b;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.sfd-review-cimkek { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sfd-review-cimke {
  padding: 5px 12px; border-radius: 20px;
  border: 1.5px solid #d4e8f0; background: white;
  font-size: .78rem; font-weight: 600; color: #6b8a9a; cursor: pointer;
  transition: all .18s; user-select: none;
}
.sfd-review-cimke.selected { background: rgba(26,143,193,.1); border-color: #1a8fc1; color: #1a8fc1; }
.sfd-review-cimke.disabled { opacity: .45; cursor: not-allowed; }
.sfd-review-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.sfd-review-cancel-btn {
  padding: 10px 18px; background: #f1f5f9; color: #1a2e3b; border: none;
  border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .2s;
}
.sfd-review-cancel-btn:hover { background: #e2e8f0; }
.sfd-review-submit-btn {
  padding: 10px 20px; background: linear-gradient(135deg,#1a8fc1,#2dbf7e);
  color: white; border: none; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .85rem;
  cursor: pointer; transition: opacity .2s;
}
.sfd-review-submit-btn:disabled { opacity: .55; cursor: not-allowed; }
.sfd-review-error { font-size: .8rem; color: #ef4444; margin-top: 8px; display: none; }
@media (max-width: 600px) {
  #sfd-review-modal { padding: 20px 16px 18px; border-radius: 16px 16px 0 0; }
  #sfd-review-modal-overlay { align-items: flex-end; }
  .sfd-review-actions { flex-direction: column-reverse; }
  .sfd-review-cancel-btn, .sfd-review-submit-btn { width: 100%; text-align: center; }
}

/* ── Kedvencek ── */
.sfd-kedvenc-card {
  background: white; border-radius: 14px;
  padding: 12px 16px; margin-bottom: 8px;
  border: 1.5px solid #e8f2f8;
  display: flex; align-items: center; gap: 12px;
}
.sfd-kedvenc-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(26,143,193,.1), rgba(45,191,126,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.sfd-kedvenc-info { flex: 1; min-width: 0; }
.sfd-kedvenc-name { font-weight: 700; font-size: .88rem; color: #0a1628; }
.sfd-kedvenc-meta { font-size: .73rem; color: #6b8a9a; margin-top: 1px; }
.sfd-kedvenc-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.sfd-kedvenc-link {
  font-size: .75rem; font-weight: 700; color: #1a8fc1;
  text-decoration: none; white-space: nowrap;
  padding: 5px 10px; border: 1.5px solid rgba(26,143,193,.25);
  border-radius: 8px; transition: all .2s;
}
.sfd-kedvenc-link:hover { background: #1a8fc1; color: white; border-color: transparent; }
.sfd-kedvenc-remove {
  background: none; border: none; cursor: pointer;
  color: #c0d4dc; font-size: 1rem; padding: 4px;
  border-radius: 6px; transition: all .2s;
}
.sfd-kedvenc-remove:hover { background: #fee2e2; color: #ef4444; }

/* ── Profil ── */
.sfd-profil-section {
  background: white; border-radius: 16px;
  padding: 20px; margin-bottom: 16px;
  border: 1.5px solid #e8f2f8;
}
.sfd-profil-section-title {
  font-size: .72rem; font-weight: 700; color: #6b8a9a;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.sfd-field { margin-bottom: 14px; }
.sfd-field:last-child { margin-bottom: 0; }
.sfd-field-label {
  font-size: .72rem; font-weight: 700; color: #6b8a9a;
  margin-bottom: 5px;
}
.sfd-field-input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #d4e8f0; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .9rem; color: #0a1628; background: #f8fbfd;
  outline: none; transition: all .2s;
}
.sfd-field-input:focus { border-color: #1a8fc1; background: white; box-shadow: 0 0 0 3px rgba(26,143,193,.08); }
.sfd-field-val {
  font-size: .9rem; font-weight: 600; color: #0a1628;
  padding: 10px 0;
}
.sfd-save-btn {
  width: 100%; padding: 11px;
  background: linear-gradient(135deg, #1a8fc1, #2dbf7e);
  color: white; border: none; border-radius: 11px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .9rem; cursor: pointer;
  transition: all .2s; margin-top: 4px;
}
.sfd-save-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(26,143,193,.3); }
.sfd-save-btn:disabled { opacity: .6; cursor: not-allowed; }
.sfd-msg { font-size: .8rem; margin-top: 8px; padding: 8px 12px; border-radius: 8px; }
.sfd-msg.ok  { background: rgba(45,191,126,.1); color: #1a9960; }
.sfd-msg.err { background: rgba(239,68,68,.1);  color: #ef4444; }

/* ── Statisztika ── */
.sfd-stats-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; margin-bottom: 16px;
}
.sfd-insight-card {
  background: white; border-radius: 14px;
  padding: 16px; border: 1.5px solid #e8f2f8;
}
.sfd-insight-card.clickable {
  cursor: pointer; transition: border-color .18s, transform .18s;
}
.sfd-insight-card.clickable:hover {
  border-color: #1a8fc1; transform: translateY(-1px);
}
.sfd-insight-card.clickable:hover .sfd-insight-val { color: #1a8fc1; }
.sfd-insight-icon { font-size: 1.3rem; margin-bottom: 8px; }
.sfd-insight-val { font-size: 1.2rem; font-weight: 900; color: #0a1628; }
.sfd-insight-lbl { font-size: .72rem; color: #6b8a9a; font-weight: 600; margin-top: 2px; }

/* ── Empty states ── */
.sfd-empty {
  text-align: center; padding: 40px 20px;
}
.sfd-empty-icon { font-size: 2.2rem; margin-bottom: 12px; }
.sfd-empty-title {
  font-weight: 800; font-size: .95rem; color: #0a1628; margin-bottom: 6px;
}
.sfd-empty-sub {
  font-size: .82rem; color: #6b8a9a; line-height: 1.6; max-width: 260px; margin: 0 auto;
}
.sfd-empty-cta {
  display: inline-block; margin-top: 16px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #1a8fc1, #2dbf7e);
  color: white; border-radius: 10px;
  font-weight: 700; font-size: .85rem; text-decoration: none;
}

/* ── Pagination ── */
.sfd-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin-top: 16px;
}
.sfd-page-btn {
  padding: 7px 16px; border: 1.5px solid #d4e8f0;
  border-radius: 8px; background: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .78rem; font-weight: 700; color: #6b8a9a;
  cursor: pointer; transition: all .2s;
}
.sfd-page-btn:hover:not(:disabled) { border-color: #1a8fc1; color: #1a8fc1; }
.sfd-page-btn:disabled { opacity: .4; cursor: not-allowed; }
.sfd-page-info { font-size: .78rem; color: #6b8a9a; font-weight: 600; }

/* ── Footer ── */
.sfd-footer {
  padding: 14px 24px;
  border-top: 1.5px solid #e8f2f8;
  background: white;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-shrink: 0;
}
.sfd-footer-left {
  font-size: .78rem; color: #6b8a9a; font-weight: 600;
}
.sfd-logout-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 16px;
  background: #fff5f5; color: #ef4444;
  border: 1.5px solid #fed7d7; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .82rem; cursor: pointer;
  transition: all .2s;
}
.sfd-logout-btn:hover { background: #fed7d7; }

/* ── Section fejléc ── */
.sfd-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.sfd-section-title {
  font-size: .88rem; font-weight: 800; color: #0a1628;
}

/* ══════════════════════════════════════
   RESPONSIVE – Mobil (< 640px)
   ══════════════════════════════════════ */
@media (max-width: 640px) {
  #sp-drawer {
    width: 100vw;
    /* Mobil: full-screen */
  }
  .sfd-header-inner { padding: 16px 16px 0; }
  .sfd-header-cta { margin: 12px 16px 0; }
  .sfd-search-btn { font-size: .85rem; padding: 10px 14px; }
  .sfd-nav { padding: 12px 16px 0; overflow-x: auto; }
  .sfd-nav-btn { padding: 8px 12px; font-size: .75rem; }
  .sfd-body { padding: 16px; }
  .sfd-overview-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .sfd-stat-card { padding: 14px 10px; }
  .sfd-stat-val { font-size: 1.3rem; }
  .sfd-quick-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .sfd-quick-btn { padding: 12px; font-size: .8rem; }
  .sfd-stats-grid { grid-template-columns: 1fr 1fr; }
  .sfd-footer { padding: 12px 16px; }
}

/* ── Desktop: 2-oszlopos layout ahol van hely ── */
@media (min-width: 900px) {
  .sfd-two-col {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  }
}

/* ── Lemondás confirm modal ── */
#sp-confirm-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.55); backdrop-filter: blur(4px);
  z-index: 20000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
#sp-confirm-modal-overlay.open { opacity: 1; pointer-events: all; }
#sp-confirm-modal {
  background: white; border-radius: 20px;
  width: 400px; max-width: 92vw;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.sp-confirm-icon { font-size: 2rem; margin-bottom: 12px; }
.sp-confirm-title { font-weight: 800; font-size: 1.05rem; color: #0a1628; margin-bottom: 8px; }
.sp-confirm-body  { font-size: .85rem; color: #6b8a9a; line-height: 1.6; margin-bottom: 24px; }
.sp-confirm-actions { display: flex; gap: 10px; justify-content: flex-end; }
.sp-confirm-cancel-btn {
  padding: 10px 18px; background: #f1f5f9; color: #1a2e3b;
  border: none; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .85rem;
  cursor: pointer; transition: all .2s;
}
.sp-confirm-cancel-btn:hover { background: #e2e8f0; }
.sp-confirm-ok-btn {
  padding: 10px 18px;
  background: white; color: #ef4444;
  border: 1.5px solid #ef4444; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .85rem;
  cursor: pointer; transition: all .2s;
}
.sp-confirm-ok-btn:hover { background: #fff5f5; }
.sp-confirm-ok-btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 600px) {
  #sp-confirm-modal { padding: 22px 18px 20px; }
  .sp-confirm-actions { flex-direction: column-reverse; }
  .sp-confirm-cancel-btn, .sp-confirm-ok-btn { width: 100%; text-align: center; }
}

/* ── Értékeléseim panel ── */
.sfd-ert-szekció { margin-bottom: 28px; }
.sfd-ert-szekció-cím {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: #6b8a9a; margin-bottom: 4px;
}
.sfd-ert-szekció-alcím {
  font-size: .78rem; color: #94a3b8; margin-bottom: 12px; line-height: 1.5;
}
.sfd-ert-card {
  background: white; border-radius: 14px;
  padding: 14px 16px; margin-bottom: 8px;
  border: 1.5px solid #e8f2f8;
  transition: border-color .18s;
}
.sfd-ert-card:last-child { margin-bottom: 0; }
.sfd-ert-card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 8px; margin-bottom: 5px;
}
.sfd-ert-card-nev { font-weight: 700; font-size: .88rem; color: #0a1628; flex: 1; min-width: 0; }
.sfd-ert-card-meta { font-size: .72rem; color: #94a3b8; margin-top: 3px; }
.sfd-ert-card-preview {
  font-size: .78rem; color: #3a5060; margin-top: 6px;
  line-height: 1.55; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.sfd-ert-stars { font-size: .9rem; color: #f59e0b; letter-spacing: 2px; flex-shrink: 0; }
.sfd-ert-cimke {
  display: inline-block; font-size: .65rem; font-weight: 700;
  padding: 2px 8px; border-radius: 10px;
  background: rgba(26,143,193,.1); color: #1a8fc1;
  margin-right: 4px; margin-top: 6px;
}
.sfd-ert-cooldown {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: #94a3b8; margin-top: 6px;
}
.sfd-ert-cta-wrap { margin-top: 10px; }
.sfd-ert-elvalaszto {
  border: none; border-top: 1.5px solid #f0f7fb;
  margin: 20px 0;
}

/* ── Review modal overlay ── */
#sfd-review-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(10,22,40,.55); backdrop-filter: blur(4px);
  z-index: 20000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .22s;
}
#sfd-review-modal-overlay.open { opacity: 1; pointer-events: all; }
#sfd-review-modal {
  background: white; border-radius: 20px;
  width: 480px; max-width: 94vw; max-height: 90vh; overflow-y: auto;
  padding: 28px 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.22);
}
.sfd-review-modal-title { font-weight: 800; font-size: 1.1rem; color: #0a1628; margin-bottom: 4px; }
.sfd-review-modal-sub { font-size: .82rem; color: #6b8a9a; margin-bottom: 20px; }
.sfd-review-stars { display: flex; gap: 8px; margin-bottom: 18px; }
.sfd-review-star {
  font-size: 2rem; cursor: pointer; color: #d4e8f0;
  transition: color .15s, transform .15s;
  user-select: none; line-height: 1;
}
.sfd-review-star.active { color: #f59e0b; transform: scale(1.1); }
.sfd-review-star:hover  { color: #f59e0b; }
.sfd-review-rating-label { font-size: .82rem; color: #6b8a9a; margin-bottom: 18px; min-height: 18px; }
.sfd-review-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #e4eef5; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-size: .88rem;
  resize: vertical; min-height: 80px; outline: none;
  transition: border-color .2s; margin-bottom: 16px; box-sizing: border-box;
}
.sfd-review-textarea:focus { border-color: #1a8fc1; }
.sfd-review-cimkek-title { font-size: .78rem; font-weight: 700; color: #1a2e3b;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.sfd-review-cimkek { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.sfd-review-cimke {
  padding: 5px 12px; border-radius: 20px;
  border: 1.5px solid #d4e8f0; background: white;
  font-size: .78rem; font-weight: 600; color: #6b8a9a; cursor: pointer;
  transition: all .18s; user-select: none;
}
.sfd-review-cimke.selected { background: rgba(26,143,193,.1); border-color: #1a8fc1; color: #1a8fc1; }
.sfd-review-cimke.disabled { opacity: .45; cursor: not-allowed; }
.sfd-review-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.sfd-review-cancel-btn {
  padding: 10px 18px; background: #f1f5f9; color: #1a2e3b; border: none;
  border-radius: 10px; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: .85rem; cursor: pointer; transition: background .2s;
}
.sfd-review-cancel-btn:hover { background: #e2e8f0; }
.sfd-review-submit-btn {
  padding: 10px 20px; background: linear-gradient(135deg,#1a8fc1,#2dbf7e);
  color: white; border: none; border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: .85rem;
  cursor: pointer; transition: opacity .2s;
}
.sfd-review-submit-btn:disabled { opacity: .55; cursor: not-allowed; }
.sfd-review-error { font-size: .8rem; color: #ef4444; margin-top: 8px; display: none; }
@media (max-width: 600px) {
  #sfd-review-modal { padding: 20px 16px 18px; border-radius: 16px 16px 0 0; }
  #sfd-review-modal-overlay { align-items: flex-end; }
  .sfd-review-actions { flex-direction: column-reverse; }
  .sfd-review-cancel-btn, .sfd-review-submit-btn { width: 100%; text-align: center; }
}

