/* ============================================
   PIN WEDDING DASHBOARD - Warm Style
   Sa dinamičkim temama i RSVP tabelom
   ============================================ */

:root {
  --accent: #d97a3c;
  --accent-light: #f5a472;
  --accent-dark: #c46529;
  --accent-deep: #8a4a1e;
  --accent-soft: #fdf2e9;
  --accent-soft-2: #fae0c8;
  --accent-border: #f5d4b3;
  
  --cream: #fffaf5;
  --cream-2: #fdf4e9;
  --line: #f0e5d4;
  --line-soft: #f5f0e8;
  
  --ink: #2d1810;
  --ink-soft: #5a3e2a;
  --muted: #a8896b;
  --muted-light: #b5a08a;
  
  --success: #639922;
  --success-soft: #eef7e6;
  --danger: #c84545;
  --danger-soft: #fcebeb;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body { margin: 0; padding: 0; }

html {
    scrollbar-gutter: stable;
    overflow-y: scroll
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ============ TOPBAR ============ */
.topbar {
  background: rgba(255, 250, 245, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.topbar-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .topbar-inner { height: 64px; padding: 0 1.5rem; }
}

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 19px;
  color: var(--ink);
  text-decoration: none;
}

.logo em {
  font-style: italic;
  color: var(--accent);
}

@media (min-width: 640px) { .logo { font-size: 22px; } }

.user-block { display: flex; align-items: center; gap: 10px; }

.avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-initials {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.icon-btn {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: transparent;
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--line-soft);
  color: var(--ink);
}

.icon-btn-danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

/* ============ CONTAINER ============ */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
}

@media (min-width: 640px) {
  .container { padding: 1.75rem 1.5rem 4rem; }
}

/* ============ BACK LINK ============ */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.15s;
}

.back-link:hover { color: var(--accent); }

/* ============ GREETING ============ */
.greeting {
  margin-bottom: 1.25rem;
  padding: 0 0.25rem;
}

.greeting-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}

.greeting-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}

.greeting-name em {
  font-style: italic;
  color: var(--accent);
}

@media (min-width: 640px) { .greeting-name { font-size: 28px; } }

/* ============ ALERTS ============ */
.alert {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  margin-bottom: 1.25rem;
  border: 1px solid;
}

.alert-success {
  background: var(--success-soft);
  color: #3b6d11;
  border-color: #c0dd97;
}

.alert-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #f7c1c1;
}

/* ============ TOAST ============ */
.toast {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 13px;
  z-index: 60;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  font-weight: 500;
  animation: toastIn 0.2s ease;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.toast-success {
  background: var(--success);
  color: white;
}

.toast-error {
  background: var(--danger);
  color: white;
}

/* ============ HERO CARD ============ */
.hero-card {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.hero-deco-1, .hero-deco-2, .hero-deco-3 {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-deco-1 { top: -30px; right: -30px; width: 130px; height: 130px; }
.hero-deco-2 { top: 20px; right: 30px; width: 70px; height: 70px; border-color: rgba(255, 255, 255, 0.12); }
.hero-deco-3 { bottom: -40px; left: -20px; width: 110px; height: 110px; border-color: rgba(255, 255, 255, 0.06); }

.hero-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.hero-url {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 17px;
  margin-bottom: 18px;
  word-break: break-all;
  position: relative;
  z-index: 1;
  line-height: 1.4;
}

@media (min-width: 640px) { .hero-url { font-size: 20px; } }

.hero-buttons {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
}

.btn-content { display: flex; align-items: center; gap: 6px; }

.btn-hero-primary {
  background: white;
  color: var(--accent-dark);
}

.btn-hero-primary:hover:not(:disabled) {
  background: var(--cream);
  transform: translateY(-1px);
}

.btn-hero-primary:active { transform: scale(0.98); }
.btn-hero-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary:hover:not(.disabled) { background: rgba(255, 255, 255, 0.25); }
.btn-hero-secondary.disabled { opacity: 0.4; cursor: not-allowed; }

/* ============ STATUS PILL ============ */
.status-pill {
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 10px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-icon {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.status-text {
  font-size: 13px;
  color: var(--accent-deep);
}

.status-text strong { font-weight: 500; }

.status-days {
  margin-left: auto;
  font-size: 11px;
  color: var(--accent-dark);
  font-family: 'Playfair Display', Georgia, serif;
}

.status-days em { font-style: italic; }

/* ============ SECTION TITLE ============ */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.75rem 0 0.875rem;
  padding: 0 0.25rem;
  color: var(--accent);
}

.section-title em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink);
}

.section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line), transparent);
}

/* ============ STATS GRID ============ */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}

.stat-card {
  background: white;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  position: relative;
}

.stat-card-highlight {
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-2));
  border-color: var(--accent-border);
}

.stat-dot {
  position: absolute;
  top: 14px; right: 14px;
  width: 7px; height: 7px;
  border-radius: 50%;
}

.stat-dot-green { background: var(--success); }
.stat-dot-orange { background: var(--accent); }
.stat-dot-gray { background: var(--muted-light); }

.stat-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.stat-card-highlight .stat-label { color: var(--accent-deep); }

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 4px;
}

@media (min-width: 640px) { .stat-number { font-size: 30px; } }

.stat-hint {
  font-size: 10px;
  color: var(--muted-light);
  margin-top: 2px;
}

.stat-card-highlight .stat-hint {
  color: var(--accent-deep);
  opacity: 0.7;
}

/* ============ ACTION CARDS (dashboard) ============ */
.action-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 640px) {
  .action-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
}

.action-card {
  background: white;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.15s;
}

.action-card:hover:not(.disabled) {
  border-color: var(--accent-border);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.action-card.disabled { opacity: 0.5; cursor: not-allowed; }

.action-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-soft-2));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--accent-border);
  color: var(--accent);
  flex-shrink: 0;
}

.action-icon-neutral {
  background: var(--line-soft);
  border-color: var(--line);
  color: var(--ink-soft);
}

.action-text { flex: 1; min-width: 0; }

.action-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.action-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.action-chevron {
  color: var(--accent);
  flex-shrink: 0;
}

.action-card.disabled .action-chevron { display: none; }

.action-badge {
  background: var(--accent);
  color: white;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 50px;
  font-weight: 500;
  flex-shrink: 0;
}

/* ============ FOOTER DECORATION ============ */
.footer-decoration {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.footer-decoration em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: var(--muted);
}

/* ============ ACCOUNT - PROFILE CARD ============ */
.profile-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .profile-card {
    flex-direction: row;
    text-align: left;
    padding: 1.75rem;
    gap: 1.5rem;
  }
}

.profile-avatar-wrap { position: relative; flex-shrink: 0; }

.profile-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cream);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.profile-avatar-initials {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 36px;
  font-weight: 500;
}

.profile-content { flex: 1; }

.profile-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 4px;
}

.profile-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 1rem;
}

.profile-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 640px) { .profile-buttons { justify-content: flex-start; } }

/* ============ ACCOUNT - THEME ============ */
.theme-section { margin-bottom: 2rem; }

.theme-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0.25rem 1rem;
  line-height: 1.6;
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (min-width: 640px) {
  .theme-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}

.theme-option {
  background: white;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 14px 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.theme-option:hover {
  border-color: var(--muted-light);
  transform: translateY(-1px);
}

.theme-option-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.theme-swatch {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 4px;
}

.theme-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.theme-desc {
  font-size: 10px;
  color: var(--muted);
}

/* ============================================
   RSVP STRANICA
   ============================================ */

/* Toolbar */
.rsvp-toolbar {
  display: flex;
  gap: 10px;
  margin: 1.25rem 0 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.rsvp-toolbar-left, .rsvp-toolbar-right {
  display: flex;
  gap: 8px;
  align-items: center;
}

.rsvp-toolbar-left {
  flex: 1;
  min-width: 0;
}

.rsvp-search {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 280px;
}

.rsvp-search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.rsvp-search input {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px 8px 32px;
  font-size: 13px;
  outline: none;
  transition: all 0.15s;
  font-family: inherit;
}

.rsvp-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 122, 60, 0.12);
}

.rsvp-filter {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 30px 8px 12px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23a8896b' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.rsvp-filter:focus {
  outline: none;
  border-color: var(--accent);
}

.rsvp-export-text {
  display: none;
}

@media (min-width: 640px) {
  .rsvp-export-text { display: inline; }
}

/* RSVP Lista */
.rsvp-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rsvp-row {
  background: white;
  border: 1px solid var(--line);
  /*border-radius: 12px;*/
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.15s;
}

.rsvp-row:hover {
  border-color: var(--accent-border);
  background: var(--cream);
}

.rsvp-row-companion {
  background: var(--cream);
  border-left: 3px solid var(--accent-border);
  padding-left: 12px;
  margin-left: 16px;
}

.rsvp-row-status {
  flex-shrink: 0;
  padding-top: 2px;
}

.status-pill-mini {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.status-yes { background: var(--success); }
.status-no { background: var(--muted-light); }
.status-pending { background: var(--accent); }

.rsvp-row-info {
  flex: 1;
  min-width: 0;
}

.rsvp-row-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rsvp-companion-arrow {
  color: var(--accent);
  font-weight: 400;
}

.rsvp-companion-tag {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  padding: 2px 6px;
  border-radius: 50px;
  font-weight: 500;
}

.rsvp-row-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.rsvp-row-meta em {
  color: var(--accent-deep);
  font-style: normal;
  font-weight: 500;
}

.rsvp-row-message {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: flex-start;
  gap: 5px;
  line-height: 1.5;
}

.rsvp-row-message svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.rsvp-row-message em {
  font-style: italic;
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--ink-soft);
}

.rsvp-row-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

/* Prazna lista */
.empty-state {
  background: white;
  border: 2px dashed var(--line);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.empty-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--accent-soft);
  border-radius: 50%;
  color: var(--accent);
  margin-bottom: 1rem;
}

.empty-state-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 6px;
}

.empty-state-text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 24, 16, 0.5);
  backdrop-filter: blur(4px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal {
  background: white;
  border-radius: 18px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.modal-enter {
  animation: modalIn 0.2s ease;
}

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

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--line);
}

.modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.modal-title em {
  font-style: italic;
  color: var(--accent);
}

.modal-body {
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.form-hint em {
  font-style: italic;
  color: var(--accent-deep);
}

.modal-footer {
  padding: 1rem 1.5rem 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

textarea.input {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23a8896b' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

/* ============ DUGMAD I INPUT (zajedničko) ============ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.625rem 1.125rem;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary:hover:not(:disabled) { background: var(--accent-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: white;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.625rem 1rem;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.input {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: all 0.15s;
  font-family: inherit;
  box-sizing: border-box;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 122, 60, 0.12);
}

.input::placeholder { color: var(--muted-light); }

.label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.375rem;
}

.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted-light); }


/* ============ DONJI NAVIGACIONI MENI ============ */

.dash-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-top: 1px solid #ece6dd;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px 0 8px;
    z-index: 100;
    max-width: 600px;
    margin: 0 auto;
}

.dash-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #8a8a8a;
    flex: 1;
    padding: 6px 0;
    -webkit-tap-highlight-color: transparent;
}

.dash-nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-nav-icon-wrap img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.dash-nav-item.active img {
    filter: invert(46%) sepia(85%) saturate(1200%) hue-rotate(10deg) brightness(95%);
}

.dash-nav-item:active img {
    transform: scale(0.9);
}

.dash-nav-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #fff;
    line-height: 1;
}

.dash-wrapper {
    padding-bottom: 70px;
}

@media (max-width: 399px) {
    .dash-nav-icon-wrap img { width: 24px; height: 24px; }
}



