:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --secondary: #10B981;
  --dark: #0F172A;
  --light: #F8FAFC;
  --surface: #FFFFFF;
  --text: #334155;
  --text-light: #64748B;
  --gradient: linear-gradient(135deg, #4F46E5 0%, #06B6D4 100%);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--light);
  color: var(--text);
  line-height: 1.6;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-content {
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 24px 0 0 24px;
  width: 90%;
  max-width: 450px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.hidden .modal-content {
  transform: translateY(30px);
}

.modal-content h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.modal-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--light);
  font-family: inherit;
  font-size: 1.05rem;
  color: var(--dark);
  outline: none;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230F172A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem top 50%;
  background-size: .8rem auto;
  cursor: pointer;
}

.modal-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-primary {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Site Navigation */
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 10;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -1px;
}

.nav-logo span {
  color: #fbbf24;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
}

/* Header & Hero Section */
.hero {
  background: var(--dark);
  background-image: var(--gradient);
  padding: 0 0 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5rem 2rem 0;
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1rem;
}

/* Filter Controls */
.filter-container {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  border: 0 none transparent !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  outline: 0 !important;
}

.filter-container label {
  font-weight: 600;
  font-size: 1rem;
}

#city-filter {
  appearance: none;
  background: white;
  border: none;
  padding: 0.5rem 2rem 0.5rem 1.2rem;
  border-radius: 30px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230F172A%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem top 50%;
  background-size: .65rem auto;
}

/* Main Content */
.ponude-lista {
  max-width: 1400px;
  margin: 1.5rem auto 4rem;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  flex: 1;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ad Cards */
.kartica {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.kartica:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.kartica-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.kartica-slika {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.kartica:hover .kartica-slika {
  transform: scale(1.05);
}

.kartica-grad {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.kartica-sadrzaj {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ad-category, .stavka-kategorija {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: #ede9fe;
  padding: 0.25rem 0.65rem;
  border-radius: 99px;
  display: inline-block;
}

.kartica-naziv {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  font-weight: 800;
  line-height: 1.3;
}

.kartica-opis {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.kartica-btn {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  width: 100%;
}

.kartica-btn:hover {
  background: var(--primary);
  color: white;
}

/* Utils */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-light);
  padding: 4rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

footer {
  text-align: center;
  padding: 2.5rem;
  color: var(--text-light);
  background: var(--surface);
  border-top: 1px solid rgba(0,0,0,0.05);
  font-weight: 500;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .filter-container {
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
    align-items: stretch;
  }
  .filter-container label {
    text-align: center;
  }
  #city-filter {
    width: 100%;
  }
  .ponude-lista {
    grid-template-columns: 1fr;
    margin-top: -20px;
    padding: 0 1.5rem;
  }
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
  .hero {
    padding: 0 0 4rem;
  }
}
/* Share Buttons */
.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.share-btn:hover {
  transform: scale(1.1) translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.share-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.x-twitter { background: #000000; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.viber { background: #7360F2; }
.share-btn.copy-link { background: #64748b; }

#close-details:hover {
  background: rgba(0,0,0,0.8) !important;
  transform: scale(1.1);
}

.copy-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--dark);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 2000;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.copy-toast.show {
  transform: translateX(-50%) translateY(0);
}

/* Premium Ad Styling */
.kartica.istaknuto {
  border: 2px solid #fbbf24;
  box-shadow: 0 15px 35px -5px rgba(251, 191, 36, 0.15);
  background: white;
}

.istaknuto-vrh {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: white;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  z-index: 5;
  animation: shine-pulse 3s infinite alternate;
}

@keyframes shine-pulse {
  from { filter: brightness(1); transform: scale(1); }
  to { filter: brightness(1.2) drop-shadow(0 0 8px rgba(251,191,36,0.6)); transform: scale(1.05); }
}

.kartica.istaknuto .kartica-naziv .title-text,
#detail-title .title-text {
  background: linear-gradient(90deg, #1e293b, #d97706);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block; /* Ensure clip works well */
}

.premium-label {
  display: block;
  color: #d97706;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
  white-space: nowrap; /* Prevent star and text from splitting */
}

#detail-title .premium-label {
  font-size: 0.85rem;
  margin-bottom: 8px;
  letter-spacing: 1.5px;
}

video.kartica-slika {
  background: #000;
  object-fit: cover;
}

/* Modal Media Fixes */
#detalji-media {
  border-radius: 24px 0 0 0;
  overflow: hidden;
  line-height: 0;
}

.details-media {
  display: block;
  width: 100%;
}


/* --- Extracted Inline Styles --- */
.es-city-modal-1 { display: none; }
.es-2 { position: relative; max-width: 720px; width: 95%; margin: auto; border-radius: 28px; overflow: hidden; box-shadow: 0 32px 64px -12px rgba(0,0,0,0.35); }
.es-close-details-3 { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.55); color: white; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-weight: bold; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; z-index: 1001; transition: all 0.2s; backdrop-filter: blur(4px); }
.es-close-details-3:hover { background: rgba(0,0,0,0.85); transform: scale(1.1); }
.es-modal-content-4 { max-width: 100%; padding: 0; max-height: 88vh; overflow-y: auto; text-align: left; position: relative; border-radius: 28px; scrollbar-width: thin; scrollbar-color: #e2e8f0 transparent; }
.es-modal-content-4::-webkit-scrollbar { width: 5px; }
.es-modal-content-4::-webkit-scrollbar-track { background: transparent; }
.es-modal-content-4::-webkit-scrollbar-thumb { background: #e2e8f0; border-radius: 99px; }
.es-ad-details-media-container-5 { position: relative; background: #000; min-height: 260px; }
.es-6 { padding: 2rem 2.5rem 2.5rem; }
.es-7 { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.75rem; }
.es-8 { display: flex; flex-direction: column; gap: 0.4rem; }
.es-9 { display: flex; gap: 0.5rem; }
.es-detail-city-10 { background: #e2e8f0; color: #475569; }
.es-detail-owner-name-11 { font-size: 0.9rem; font-weight: 800; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.25rem; }
.es-detail-price-box-12 { display: none; text-align: right; background: #fff8f1; padding: 0.5rem 1rem; border-radius: 8px; border: 1px solid #ffedd5; }
.es-detail-regular-price-13 { font-size: 0.85rem; color: #94a3b8; text-decoration: line-through; }
.es-detail-sale-price-14 { font-size: 1.4rem; font-weight: 800; color: #e11d48; }
.es-detail-discount-badge-15 { font-size: 0.75rem; font-weight: bold; color: white; background: #ef4444; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-top: 0.25rem; }
.es-detail-title-16 { margin-bottom: 0.75rem; font-family: 'Outfit', sans-serif; font-size: 1.5rem; line-height: 1.3; color: #0f172a; }
.es-detail-short-desc-17 { font-weight: 600; margin-bottom: 1.25rem; color: #334155; font-size: 1rem; line-height: 1.6; }
.es-detail-extended-desc-18 { color: #475569; line-height: 1.8; white-space: pre-wrap; font-size: 0.97rem; }
.es-detail-phone-section-19 { margin-top: 1.5rem; display: none; background: #f0fdf4; padding: 1rem 1.5rem; border-radius: 16px; border: 1px solid #bbf7d0; }
.es-detail-email-section-20 { margin-top: 1rem; display: none; background: #eff6ff; padding: 1rem 1.5rem; border-radius: 16px; border: 1px solid #bfdbfe; }
.es-detail-cities-section-21 { margin-top: 2rem; display:none; }
.es-detail-cities-title-22 { font-family: 'Outfit'; font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.es-detail-cities-list-23 { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.es-detail-share-section-24 { margin-top: 2rem; border-top: 1px solid #f1f5f9; padding-top: 1.5rem; text-align: center; }
.es-25 { font-family: 'Outfit'; font-size: 0.85rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.es-share-buttons-container-26 { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.es-detail-owner-info-27 { font-size: 0.75rem; color: #94a3b8; font-weight: 400; text-align: center; margin-top: 1.5rem; border-top: 1px dashed #e2e8f0; padding-top: 1rem; }
.es-search-wrapper-28 { display: flex; align-items: center; background: white; border-radius: 30px; padding: 0.25rem 0.5rem; flex: 1; min-width: 250px; border: 0 !important; box-shadow: none !important; }
.es-29 { padding-left: 0.5rem; opacity: 0.5; }
#keyword-search { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; -webkit-appearance: none; }
.es-keyword-search-30 { border: 0 !important; outline: 0 !important; padding: 0.5rem !important; font-family: inherit; font-size: 1rem; width: 100%; background: transparent; box-shadow: none !important; appearance: none; color: var(--dark); }
.es-keyword-search-30::placeholder { color: #94a3b8; }
.es-keyword-search-30::-webkit-search-decoration,
.es-keyword-search-30::-webkit-search-cancel-button,
.es-keyword-search-30::-webkit-search-results-button,
.es-keyword-search-30::-webkit-search-results-decoration { display: none; }
#city-filter { border: 0 !important; outline: 0 !important; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
.es-31 { display: none !important; }
.es-32 { display:none; }
.es-33 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.es-34 { margin: 0; }
.es-client-email-display-35 { margin: 0; color: #64748b; }
.es-36 { display: flex; gap: 0.5rem; align-items: center; }
.es-btn-edit-mode-37 { display: none; background: #6366f1; padding: 0.8rem 1.5rem; border-radius: 12px; font-weight: 700; gap: 8px; align-items: center; }
.es-btn-save-exit-38 { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); background: #4338ca; position: relative; }
.es-39 { position: absolute; bottom: 8px; width: 20px; height: 3px; background: #fbbf24; border-radius: 2px; }
.es-btn-save-top-40 { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.es-41 { display: flex; border-bottom: 1px solid #e2e8f0; margin-bottom: 2rem; overflow-x: auto; gap: 0.5rem; }
.es-41::-webkit-scrollbar { display: none; }
.es-email-edit-warning-42 { font-size:0.75rem; color:#64748b; margin-top:0.4rem; font-style: italic; }
.es-form-group-43 { grid-column: span 2; }
.es-notes-section-44 { display:none; margin-top: 1.5rem; }
.es-role-section-45 { display:none; background:#f1f5f9; padding:1rem; border-radius:12px; }
.es-46 { font-weight:700; }
.es-47 { display: flex; gap: 0.5rem; align-items:center; }
.es-prof-role-48 { width:auto; }
.es-save-role-btn-49 { width:auto; background:#8b5cf6; height: 100%; }
.es-50 { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed #cbd5e1; }
.es-51 { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; color: #166534; font-weight: 800; font-size: 1rem; }
.es-prof-always-free-52 { width: 22px; height: 22px; cursor: pointer; accent-color: #10b981; }
.es-53 { font-size: 0.75rem; color: #64748b; margin-top: 0.4rem; margin-left: 1.9rem; font-style: italic; }
.es-54 { margin-top: 2rem; }
.es-save-pwd-btn-separate-55 { background:#f59e0b; }
.es-section-title-56 { margin-top: 1.5rem; }
.es-57 { display:flex; justify-content:space-between; align-items:center; margin-bottom:0.4rem; }
.es-58 { margin:0; }
.es-59 { font-size:0.75rem; color:#6366f1; font-weight:700; display:flex; align-items:center; gap:4px; cursor:pointer; }
.es-prof-show-phone-60 { width:14px; height:14px; }
.es-61 { display:grid; grid-template-columns:120px 1fr; gap:0.5rem; }
.es-62 { margin-top: 1.5rem; background: #f8fafc; padding: 1rem; border-radius: 12px; border: 1px dashed #cbd5e1; }
.es-63 { font-weight:700; margin-bottom:1rem; }
.es-add-general-phone-btn-64 { background:#475569; width:auto; padding:0.4rem 1rem; font-size:0.85rem; margin-top:0.5rem; }
.es-add-contact-btn-65 { background:#6366f1; width:auto; padding:0.6rem 1.2rem; font-size:0.9rem; margin-top:0.5rem; }
.es-pdv-status-container-66 { display:none; background: #f0fdf4; padding: 1.25rem; border: 1px solid #bbf7d0; border-radius: 12px; margin-top: 1.5rem; }
.es-67 { font-weight: 800; color: #166534; display: block; margin-bottom: 0.75rem; }
.es-68 { display: flex; gap: 2rem; align-items: center; }
.es-69 { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color:#15803d; font-weight:600; }
.es-70 { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color:#b91c1c; font-weight:600; }
.es-pdv-not-set-warning-71 { display:none; color: #ef4444; font-size: 0.85rem; font-weight: 700; background: white; padding: 4px 8px; border-radius: 6px; }
.es-72 { color:#64748b; font-size:0.9rem; margin-bottom:1.5rem; }
.es-73 { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.es-section-title-74 { margin:0; border:none; }
.es-add-brand-btn-75 { width:auto; padding:0.6rem 1.2rem; }
.es-brands-empty-76 { color:#94a3b8; font-style:italic; padding:1rem 0; }
.es-77 { margin-top: 3rem; border-top: 1px solid #e2e8f0; padding-top: 2rem; }
.es-79 { color:#94a3b8; }
.es-80 { font-weight:800; color:#1e293b; font-family:'Outfit'; }
.es-81 { color:#6366f1; }
.es-btn-danger-82 { padding:0.3rem 0.6rem; font-size:0.8rem; width:auto; }
.es-83 { font-size:0.7rem; color:#6366f1; font-weight:700; display:flex; align-items:center; gap:4px; cursor:pointer; }
.es-contact-show-modal-84 { width:12px; height:12px; }
.es-form-control-85 { font-size:0.9rem; }
.es-86 { display:flex; align-items:center; gap:1rem; }
.es-form-control-87 { font-size:0.9rem; flex:1; }
.es-88 { font-size:0.7rem; color:#6366f1; font-weight:700; white-space:nowrap; display:flex; align-items:center; gap:4px; cursor:pointer; }
.es-btn-danger-89 { padding:0.4rem; font-size:0.8rem; width:32px; height:32px; }
.es-91 { display:grid; grid-template-columns:auto 1fr auto auto; gap:0.75rem; align-items:center; }
.es-city-active-check-92 { width:20px; height:20px; cursor:pointer; }
.es-93 { font-size:1rem; color:#1e293b; font-weight:800; cursor:pointer; margin:0; }
.es-94 { font-size:0.7rem; color:#6366f1; font-weight:700; white-space:nowrap; display:flex; align-items:center; gap:4px; cursor:pointer; margin-bottom:0; background:#f5f3ff; padding:0.25rem 0.5rem; border-radius:6px; border:1px solid #ddd6fe; }
.es-97 { display:grid; grid-template-columns: 1fr 1fr; gap:1rem; margin-bottom:1rem; }
.es-form-group-98 { margin-bottom:0; }
.es-99 { font-size:0.75rem; font-weight:700; color:#64748b; margin-bottom:0.25rem; display:block; }
.es-form-group-100 { margin-bottom:1rem; }
.es-form-grid-101 { grid-template-columns: 1fr 1fr 1fr; gap:1rem; }
.es-102 { display:flex; justify-content:space-between; align-items:center; }
.es-103 { font-size:0.65rem; color:#6366f1; white-space:nowrap; display:flex; align-items:center; gap:2px; cursor:pointer; }
.es-city-phone-show-104 { width:10px; height:10px; }
.es-form-control-105 { font-size:0.85rem; }
.es-107 { display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-bottom:1rem; }
.es-form-control-108 { font-weight:700; font-size:1.05rem; }
.es-109 { display:flex; gap:0.5rem; flex-shrink:0; }
.es-112 { display:flex; flex-direction:column; gap:2rem; }
.es-113 { font-family:'Inter', sans-serif; font-size:1rem; font-weight:600; color:#1e293b; display:flex; align-items:center; gap:0.5rem; }
.es-btn-primary-114 { background:#8b5cf6; padding:0.4rem 1rem; font-size:0.8rem; width:auto; border-radius:8px; }
.es-116 { border-top: 1px solid #e2e8f0; padding-top:2rem; }
.es-117 { font-family:'Inter', sans-serif; font-size:1rem; font-weight:600; color:#1e293b; margin-bottom:1.5rem; display:flex; align-items:center; gap:0.4rem; justify-content:space-between; }
.es-toggle-active-only-118 { background:#f1f5f9; border:1px solid #cbd5e1; padding:0.4rem 0.8rem; border-radius:8px; font-size:0.8rem; cursor:pointer; color:#475569; font-weight:600; display:flex; align-items:center; gap:0.4rem; }
.es-city-search-input-119 { padding:0.6rem 1rem; font-size:0.85rem; border:1px solid #cbd5e1; border-radius:10px; width:220px; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); }
.es-brand-cities-container-120 { display:grid; grid-template-columns: 1fr; gap:1rem; max-height:800px; overflow-y:auto; padding:0.5rem; background:#f8fafc; border-radius:14px; border:1px solid #e2e8f0; }
.es-login-container-121 { display: none; max-width: 400px; margin: 4rem auto; background: white; padding: 2.5rem; border-radius: 20px; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1); text-align: center; }
.es-122 { font-family: 'Outfit'; margin-bottom: 1.5rem; }
.es-form-group-123 { text-align: left; }
.es-btn-primary-124 { width: 100%; margin-top: 1rem; }
.es-125 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; position: relative; }
.es-126 { display: flex; gap: 1.5rem; align-items: center; }
.es-top-user-info-127 { display:none; text-align:right; font-size:0.9rem; }
.es-128 { display:flex; align-items:center; gap:0.8rem; justify-content:flex-end; }
.es-wallet-pill-129 { background: #ffffff; border: 2px solid #10b981; padding: 0 20px; border-radius: 50px; display: flex; align-items: center; gap: 10px; cursor: pointer; box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15); transition: all 0.3s ease; height: 44px; min-width: 180px; white-space: nowrap; }
.es-130 { font-size: 1.3rem; }
.es-131 { font-family: 'Outfit'; font-size: 0.85rem; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.es-top-wallet-balance-132 { color: #065f46; font-family: 'Outfit'; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.5px; }
.es-top-user-email-133 { font-weight:600; color:#334155; }
.es-top-user-role-134 { text-transform:uppercase; font-size:0.75rem; font-weight:800; color:#8b5cf6; letter-spacing:0.5px; }
.es-notifications-container-135 { position: relative; display: block; }
.es-notif-btn-136 { background: none; border: none; font-size: 1.5rem; cursor: pointer; position: relative; }
.es-notif-badge-137 { display: none; position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; border-radius: 50%; font-size: 0.7rem; width: 18px; height: 18px; line-height: 18px; text-align: center; font-weight: bold; }
.es-notif-dropdown-138 { display: none; position: absolute; top: 100%; right: 0; background: white; border: 1px solid #cbd5e1; border-radius: 12px; width: 320px; max-height: 400px; overflow-y: auto; box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); z-index: 50; padding: 0; }
.es-139 { display:flex; justify-content:space-between; align-items:center; padding: 0.75rem; border-bottom: 2px solid #e2e8f0; background: #f8fafc; border-radius: 12px 12px 0 0; }
.es-140 { font-weight:700; color:#1e293b; font-size: 0.9rem; }
.es-notif-read-all-141 { background:none; border:none; color:#3b82f6; cursor:pointer; font-size:0.75rem; font-weight:600; text-decoration: underline; }
.es-notif-list-142 { padding: 0.5rem; }
.es-btn-primary-143 { padding: 0 1.25rem; font-size: 0.9rem; text-decoration: none; background: #F4E9D8 !important; color: #334155 !important; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; height: 44px; border: 1px solid #e2e8f0; transition: all 0.2s ease; }
.es-btn-primary-143:hover { background: #efe3ce !important; transform: translateY(-1px); }
.es-logout-btn-144 { padding: 0 1.25rem; font-size: 0.9rem; background: #F4E9D8 !important; color: #334155 !important; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; height: 44px; white-space: nowrap; border: 1px solid #e2e8f0; cursor: pointer; transition: all 0.2s ease; }
.es-logout-btn-144:hover { background: #efe3ce !important; transform: translateY(-1px); }
.es-admin-tabs-145 { display: flex; flex-wrap: wrap; gap: 1rem; border-bottom: 2px solid #e2e8f0; margin-bottom: 2rem; padding-bottom: 1.5rem; }
.es-146 { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.4rem; background: #f8fafc; border-radius: 14px; align-items: center; border: 1px solid #e2e8f0; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.es-master-only-147 { display: flex; font-size: 0.75rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin: 0 0.5rem; letter-spacing: 0.5px; }
.es-tab-btn-148 { padding: 0.6rem 1.25rem; border:none; background:#10b981; color:white; font-weight:700; border-radius:10px; cursor:pointer; display:flex; align-items:center; gap:8px; }
.es-tab-btn-149 { padding: 0.6rem 1.25rem; border:none; background:transparent; color:#64748b; font-weight:700; border-radius:10px; cursor:pointer; display:flex; align-items:center; gap:8px; position:relative; }
.es-pending-badge-150 { background:#ef4444; color:white; border-radius:50px; font-size:0.75rem; width:18px; height:18px; display:inline-flex; align-items:center; justify-content:center; display:none; }
.es-tab-btn-151 { padding: 0.6rem 1.25rem; border:none; background:transparent; color:#64748b; font-weight:700; border-radius:10px; cursor:pointer; display:flex; align-items:center; gap:8px; }
.es-tab-btn-152 { padding: 0.6rem 1.25rem; border:none; background:transparent; color:#64748b; font-weight:700; border-radius:10px; cursor:pointer; display:flex; align-items:center; gap:8px; }
.es-master-only-153 { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.4rem; background: #f8fafc; border-radius: 14px; align-items: center; border: 1px solid #e2e8f0; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); }
.es-154 { font-size: 0.75rem; font-weight: 800; color: #94a3b8; text-transform: uppercase; margin: 0 0.5rem; letter-spacing: 0.5px; }
/* Stats Dashboard Cards - Premium Version */
.stats-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.stats-card {
  background: white;
  border-radius: 20px;
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.stats-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 100px;
  height: 100px;
  background: currentColor;
  opacity: 0.03;
  border-radius: 50%;
  transform: translate(30%, -30%);
}

.stats-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stats-info {
  display: flex;
  flex-direction: column;
}

.stats-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.stats-value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

/* Status specific colors */
.stats-card.active { color: #10b981; }
.stats-card.active .stats-icon-wrapper { background: #ecfdf5; color: #10b981; }

.stats-card.expired { color: #ef4444; }
.stats-card.expired .stats-icon-wrapper { background: #fef2f2; color: #ef4444; }

.stats-card.pending { color: #f59e0b; }
.stats-card.pending .stats-icon-wrapper { background: #fffbeb; color: #f59e0b; }

.es-164 { display:flex; justify-content:space-between; align-items:center; margin-bottom:1.5rem; }
.es-165 { color:#64748b; font-size:0.9rem; margin-top:0.25rem; }
.es-166 { color:white; font-weight:bold; margin-right:4px; }
.es-ad-filter-banner-167 { display:none; background:#eff6ff; border:1px solid #bfdbfe; padding:0.75rem 1rem; border-radius:10px; margin-bottom:1.5rem; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.es-168 { display:flex; align-items:center; gap:0.5rem; }
.es-169 { font-size:1.25rem; }
.es-170 { font-size:0.9rem; color:#1e3a8a; }
.es-btn-primary-171 { background:#3b82f6; width:auto; padding:0.4rem 0.8rem; font-size:0.8rem; }
.es-master-only-172 { display:none; color:#94a3b8; font-weight:normal; }
.es-173 { display:flex; gap:0.75rem; }
.es-hide-add-ad-btn-174 { width:auto; background:#94a3b8; padding:0.5rem 1rem; font-size: 0.85rem; }
.es-form-group-175 { display: flex; align-items: center; gap: 2rem; background: #f8fafc; padding: 1.25rem; border-radius: 16px; border: 2px dashed #cbd5e1; margin-bottom: 2rem; }
.es-176 { font-weight: 800; color: #475569; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.es-177 { margin-bottom: 0; display: flex; align-items: center; gap: 0.6rem; cursor: pointer; font-weight: 600; color: #1e293b; }
.es-178 { width: 22px; height: 22px; accent-color: #10b981; }
.es-form-group-179 { display:none; background:#f0f9ff; padding:1rem; border-radius:12px; border:1px solid #bae6fd; }
.es-180 { color:#0369a1; font-weight:700; }
.es-ad-owner-select-181 { border-color:#7dd3fc; }
.es-182 { font-size:0.75rem; color:#0c4a6e; margin-top:0.5rem; }
.es-183 { display:grid; grid-template-columns:1fr auto; gap:0.75rem; align-items:end; }
.es-184 { display:flex; gap:0.5rem; flex-wrap: wrap; }
.es-refresh-brands-btn-185 { width:auto; padding:0.5rem 1rem; display:flex; align-items:center; gap:0.5rem; background:#10b981; border-radius:10px; font-size: 0.85rem; }
.es-manage-brands-btn-186 { width:auto; padding:0.5rem 1rem; font-size:0.85rem; background:#8b5cf6; white-space:nowrap; border-radius:10px; }
.es-ad-title-187 { margin-top:0.25rem; font-weight: 700; border-color: #8b5cf6; }
.es-188 { font-size:0.75rem; color:#64748b; margin-top:0.35rem; }
.es-form-group-189 { display: none; background: #fffcf0; border: 1px solid #fde68a; padding: 1rem; border-radius: 12px; margin-bottom: 1rem; }
.es-190 { display: flex; align-items: center; gap: 0.75rem; }
.es-ad-is-premium-191 { width: 20px; height: 20px; cursor: pointer; }
.es-192 { margin-bottom: 0; font-weight: 800; color: #92400e; cursor: pointer; }
.es-193 { font-size: 0.8rem; color: #b45309; margin-top: 0.5rem; margin-left: 1.75rem; line-height: 1.4; }
.es-form-group-194 { display: none; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 1rem; border-radius: 12px; margin-bottom: 1rem; }
.es-195 { margin-bottom: 0; font-weight: 800; color: #166534; cursor: pointer; }
.es-196 { font-size: 0.8rem; color: #15803d; margin-top: 0.5rem; margin-left: 1.75rem; line-height: 1.4; }
.es-ad-calculation-box-197 { margin-top:2rem; background: #fffbeb; border: 2px solid #fde68a; padding: 1.5rem; border-radius: 16px; display: none; grid-column: 1 / -1; }
.es-198 { margin:0 0 1rem 0; font-family:'Outfit'; color:#92400e; font-size:1.1rem; }
.es-199 { display: flex; flex-direction: column; gap: 0.65rem; color: #b45309; font-weight: 600; font-size:0.95rem; }
.es-200 { display:flex; justify-content:space-between; }
.es-calc-discount-row-201 { display:flex; justify-content:space-between; color:#ef4444; }
.es-202 { margin-top:0.75rem; padding-top:1rem; border-top: 2px dashed #fde68a; display:flex; justify-content:space-between; color:#92400e; font-size:1.2rem; font-weight:900; }
.es-form-group-203 { background: #f0fdfa; border: 1px solid #99f6e4; padding: 1rem; border-radius: 12px; margin-bottom: 1rem; }
.es-204 { margin-bottom: 0; font-weight: 800; color: #0d9488; cursor: pointer; }
.es-205 { font-size: 0.8rem; color: #0f766e; margin-top: 0.5rem; margin-left: 1.75rem; line-height: 1.4; }
.es-quick-city-picker-206 { margin-bottom: 0.8rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.es-ad-city-207 { height: 140px; border-radius: 12px; border: 2px solid #e2e8f0; }
.es-208 { color: #64748b; margin-top: 0.4rem; display: block; }
.es-city-addresses-container-209 { display:none; background:#f8fafc; padding:1rem; border-radius:12px; border:1px solid #e2e8f0; }
.es-210 { margin-bottom:1rem; border-bottom:1px solid #cbd5e1; padding-bottom:0.5rem; }
.es-dynamic-city-inputs-211 { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.es-form-group-212 { display:grid; grid-template-columns:1fr auto; gap:0.5rem; align-items:end; }
.es-213 { background:#10b981; color:white; padding:0.85rem; border-radius:12px; font-weight:bold; white-space:nowrap; text-align:center; }
.es-214 { margin-top:0.5rem; display:flex; align-items:center; gap:0.75rem; flex-wrap:wrap; }
.es-ai-copywriter-btn-215 { background: linear-gradient(135deg, #6366f1, #8b5cf6); color:white; border:none; padding:0.45rem 1rem; border-radius:8px; font-size:0.82rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:6px; transition:all 0.2s; }
.es-ai-remaining-216 { font-size:0.75rem; color:#64748b; }
.es-ai-error-217 { font-size:0.75rem; color:#ef4444; display:none; }
.es-editor-container-218 { height: 250px; background: white; border-radius: 0 0 8px 8px; font-family: 'Inter', sans-serif; }
.es-ai-extended-btn-219 { background: linear-gradient(135deg, #0ea5e9, #6366f1); color:white; border:none; padding:0.45rem 1rem; border-radius:8px; font-size:0.82rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:6px; transition:all 0.2s; }
.es-ad-meta-info-220 { display:none; background:#f0fdf4; border:1px solid #bbf7d0; border-radius:10px; padding:1rem 1.5rem; margin-top:1rem; margin-bottom:1.5rem; font-size:0.9rem; color:#166534; }
.es-meta-history-221 { margin-top:0.75rem; border-top:1px dashed #bbf7d0; padding-top:0.75rem; font-size:0.85rem; }
.es-222 { display: flex; gap: 1rem; margin-top: 1rem; }
.es-cancel-btn-223 { background: #94a3b8; display: none; }
.es-224 { margin:0; color:#64748b; }
.es-225 { display:flex; gap:1rem; align-items:center; }
.es-invoice-search-input-226 { padding: 0.6rem 1rem; border: 1px solid #e2e8f0; border-radius: 10px; width: 250px; }
.es-invoice-sort-select-227 { padding: 0.6rem; border: 1px solid #e2e8f0; border-radius: 10px; cursor:pointer; }
.es-delete-selected-invoices-228 { width:auto; padding: 0.65rem 1.2rem; background:#ef4444; font-size: 0.85rem; border:0; border-radius:10px; color:white; cursor:pointer; font-weight:700; }
.es-delete-all-invoices-229 { width:auto; padding: 0.65rem 1.2rem; background:#475569; font-size: 0.85rem; border:0; border-radius:10px; color:white; cursor:pointer; font-weight:700; }
.es-230 { display:grid; grid-template-columns: 1fr 1fr; gap:1.5rem; margin-bottom:2rem; }
.es-231 { background:#dcfce7; padding:0.75rem; border-radius:12px; font-size:1.5rem; }
.es-232 { margin:0; font-size:0.85rem; color:#64748b; font-weight:600; }
.es-stats-total-paid-233 { margin:0; color:#10b981; font-size:1.5rem; }
.es-234 { background:#fee2e2; padding:0.75rem; border-radius:12px; font-size:1.5rem; }
.es-stats-total-pending-235 { margin:0; color:#ef4444; font-size:1.5rem; }
.es-236 { width:100%; border-collapse: collapse; background:white; border-radius:12px; overflow:hidden; border:1px solid #e2e8f0; }
.es-237 { padding:1rem; }
.es-check-all-invoices-238 { width:18px; height:18px; cursor:pointer; }
.es-239 { display: grid; grid-template-columns: 350px 1fr; gap: 1.5rem; height: calc(100vh - 250px); min-height: 600px; }
.es-240 { background: white; border-radius: 16px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; overflow: hidden; }
.es-241 { padding: 1rem; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.es-242 { margin: 0; font-size: 1.1rem; }
.es-chat-threads-list-243 { flex: 1; overflow-y: auto; }
.es-chat-active-header-244 { padding: 1rem; border-bottom: 1px solid #e2e8f0; background: #f8fafc; display: flex; align-items: center; gap: 10px; }
.es-245 { color: #64748b; font-size: 0.9rem; }
.es-chat-messages-container-246 { flex: 1; overflow-y: auto; padding: 1.5rem; background: #fdfdfd; display: flex; flex-direction: column; gap: 1rem; }
.es-chat-input-area-247 { padding: 1rem; border-top: 1px solid #e2e8f0; display: none; }
.es-admin-chat-form-248 { display: flex; gap: 10px; }
.es-admin-chat-input-249 { flex: 1; }
.es-btn-primary-250 { width: auto; padding: 0 1.5rem; }
.es-251 { margin-bottom: 1.5rem; }
.es-card-252 { max-width: 600px; }
.es-253 { display: flex; gap: 1rem; align-items: center; margin-bottom: 0.5rem; }
.es-comp-logo-preview-254 { max-height: 50px; display:none; border:1px solid #ddd; padding:2px; }
.es-255 { font-size: 0.75rem; color: #666; }
.es-btn-primary-256 { width: 100%; padding: 0.8rem; }
.es-257 { text-align:right; }
.es-258 { font-size:0.85rem; color:#64748b; font-weight:600; }
.es-wallet-balance-display-259 { margin:0; color:#10b981; font-size:2rem; }
.es-260 { background:#f0fdf4; padding:1.25rem; border-radius:16px; border:1px solid #bbf7d0; display:flex; align-items:center; gap:1rem; }
.es-261 { background:white; padding:0.75rem; border-radius:12px; font-size:1.5rem; }
.es-262 { margin:0; font-size:0.85rem; color:#166534; font-weight:600; }
.es-wallet-stats-total-in-263 { margin:0; color:#15803d; font-size:1.5rem; }
.es-264 { background:#fff7ed; padding:1.25rem; border-radius:16px; border:1px solid #ffedd5; display:flex; align-items:center; gap:1rem; }
.es-265 { margin:0; font-size:0.85rem; color:#9a3412; font-weight:600; }
.es-wallet-stats-total-out-266 { margin:0; color:#c2410c; font-size:1.5rem; }
.es-267 { background:white; border-radius:16px; border:1px solid #e2e8f0; overflow:hidden; }
.es-268 { padding:1.25rem; border-bottom:1px solid #e2e8f0; background:#f8fafc; font-weight:700; }
.es-269 { width:100%; border-collapse: collapse; }
.es-btn-primary-270 { width:auto; background:#3b82f6; }
.es-271 { background:#f8fafc; border-bottom:1px solid #e2e8f0; }
.es-272 { padding:1rem; text-align:left; }
.es-273 { text-align:left; }
.es-274 { text-align:left; width: 120px; }
.es-275 { text-align:left; width: 150px; }
.es-wallet-deposit-modal-276 { display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); z-index:1000; align-items:center; justify-content:center; }
.es-277 { background:white; width:400px; padding:2rem; border-radius:20px; box-shadow:0 20px 25px -5px rgba(0,0,0,0.2); }
.es-278 { margin-top:0; }
.es-deposit-user-email-279 { font-size:0.85rem; color:#64748b; margin-bottom:1.5rem; }
.es-280 { display:flex; gap:0.5rem; margin-top:1.5rem; }
.es-btn-primary-281 { flex:1; }
.es-btn-primary-282 { background:#94a3b8; flex:1; }
.es-283 { margin-bottom: 2rem; background: #f8fafc; padding: 1.5rem; border-radius: 8px; border: 1px solid #e2e8f0; }
.es-add-city-form-284 { display:flex; gap:1rem; align-items:flex-end; }
.es-form-group-285 { margin-bottom:0; flex:1; }
.es-btn-primary-286 { width: auto; padding:0.85rem 2rem; background: #4F46E5; white-space: nowrap; }
.es-287 { background: white; border-radius: 16px; border: 1px solid #e2e8f0; padding: 2rem; margin-bottom: 2rem; }
.es-288 { color:#64748b; margin-bottom: 2rem; }
.es-add-label-form-289 { display: flex; gap: 1rem; align-items: flex-end; }
.es-form-group-290 { margin: 0; flex: 1; }
.es-btn-primary-291 { width: auto; padding:0.85rem 2rem; background: #10B981; white-space: nowrap; }
.es-292 { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:1.5rem; flex-wrap: wrap; gap: 1rem; }
.es-293 { margin-bottom:0.5rem; }
.es-294 { display:flex; align-items:center; gap: 0.5rem; margin-top: 0.5rem; }
.es-295 { position:relative; width: 300px; }
.es-296 { position:absolute; left: 12px; top: 50%; transform: translateY(-50%); color:#94a3b8; }
.es-client-search-input-297 { width:100%; padding: 0.6rem 1rem 0.6rem 2.5rem; border-radius:10px; border:1px solid #cbd5e1; font-size:0.9rem; outline:none; transition: border-color 0.2s; }
.es-pdv-filter-btn-298 { background:#fef2f2; color:#b91c1c; border:1px solid #fee2e2; padding:0.6rem 1rem; border-radius:10px; font-size:0.85rem; font-weight:700; cursor:pointer; display:flex; align-items:center; gap:6px; transition:0.2s; }
.es-hide-add-client-btn-299 { width:auto; background:#94a3b8; padding:0.5rem 1rem; }
.es-client-send-btn-300 { background:#10B981; }
.es-301 { background: white; border-radius: 16px; border: 1px solid #e2e8f0; padding: 1.5rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; }
.es-302 { color: #8b5cf6; margin-top:0; margin-bottom: 0.5rem; }
.es-303 { color:#64748b; font-size:0.9rem; margin:0; }
.es-btn-primary-304 { width:auto; background: #94a3b8; font-size: 0.8rem; }
.es-305 { background: white; border-radius: 16px; border: 1px solid #e2e8f0; padding: 2rem; margin-bottom: 2rem; display: flex; justify-content: space-between; align-items: center; }
.es-306 { margin:0; font-family:'Outfit'; color:var(--dark); }
.es-307 { color:#64748b; font-size:0.95rem; margin-top:0.5rem; }
.es-308 { background: #f0f9ff; padding: 0.75rem 1.25rem; border-radius: 12px; border: 1px solid #bae6fd; color: #0369a1; font-weight: 700; font-size: 0.9rem; }
.es-section-card-309 { background: white; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; margin-bottom: 2rem; }
.es-310 { background: #f8fafc; padding: 1.25rem 2rem; border-bottom: 1px solid #e2e8f0; font-weight: 800; color: #334155; font-size:1.1rem; }
.es-311 { padding: 1.5rem; }
.es-312 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.es-section-card-313 { background: white; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; }
.es-314 { background: #f8fafc; padding: 1.25rem 2rem; border-bottom: 1px solid #e2e8f0; font-weight: 800; color: #334155; }
.es-client-chat-widget-315 { position: fixed; bottom: 2rem; right: 2rem; z-index: 1000; display: none; }
.es-chat-bubble-316 { width: 60px; height: 60px; border-radius: 50%; background: #10b981; border: none; color: white; font-size: 1.8rem; cursor: pointer; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4); display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; position: relative; }
.es-chat-notif-badge-317 { position: absolute; top: -5px; right: -5px; background: #ef4444; color: white; border-radius: 50%; width: 22px; height: 22px; font-size: 0.75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid white; display: none; }
.es-chat-window-318 { display: none; position: absolute; bottom: 80px; right: 0; width: 350px; height: 500px; background: white; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); border: 1px solid #e2e8f0; flex-direction: column; overflow: hidden; }
.es-319 { padding: 1rem 1.5rem; background: #10b981; color: white; display: flex; justify-content: space-between; align-items: center; }
.es-320 { font-weight: 700; }
.es-close-chat-321 { background: none; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.es-client-chat-messages-322 { flex: 1; padding: 1.5rem; overflow-y: auto; background: #f8fafc; display: flex; flex-direction: column; gap: 0.75rem; }
.es-323 { padding: 1rem; border-top: 1px solid #e2e8f0; }
.es-client-chat-form-324 { display: flex; gap: 8px; }
.es-client-chat-input-325 { flex: 1; border-radius: 12px; }
.es-326 { width: 40px; height: 40px; border-radius: 50%; background: #10b981; border: none; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.es-modal-content-327 { max-width: 800px; padding: 2rem; max-height: 90vh; overflow-y: auto; text-align: left; position: relative; }
.es-close-preview-btn-328 { position: absolute; top: 1rem; right: 1rem; background: #e2e8f0; color: #334155; border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-weight: bold; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.es-preview-modal-title-329 { font-family: 'Outfit'; margin-top: 0; margin-bottom: 1rem; }
.es-preview-modal-body-330 { display: flex; flex-direction: column; gap: 1rem; }


/* --- Extracted Inline Styles klijent-profil --- */
.es-kp-1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.es-kp-2 { margin: 0; }
.es-kp-3 { margin: 0; color: #64748b; }
.es-kp-4 { display: flex; gap: 0.5rem; align-items: center; }
/* Header Buttons - Beige Style (Standard for Admin Header) */
.es-header-btn-fix {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 33px !important;
  min-width: 130px !important;
  padding: 0 1.25rem !important;
  background-color: #F4E9D8 !important;
  color: #334155 !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  font-family: 'Inter', sans-serif !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
.es-header-btn-fix:hover {
  background-color: #efe3ce !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
}

.es-kp-5 { display: none; }
.es-kp-6 { width: 40px !important; height: 33px !important; min-width: 40px !important; }
.es-kp-8 { width: 40px !important; height: 33px !important; min-width: 40px !important; }

.es-kp-5, .es-kp-6, .es-kp-8 {
  background-color: #F4E9D8 !important;
  color: #334155 !important;
  border: 1px solid #e7e5e4 !important;
  border-radius: 8px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.es-kp-6, .es-kp-8 {
  display: inline-flex !important;
}

.es-kp-5:hover, .es-kp-6:hover, .es-kp-8:hover {
  background-color: #efe3ce !important;
  transform: translateY(-1px) !important;
}

.es-kp-7 { position: absolute; bottom: 4px; width: 15px; height: 2px; background: #fbbf24; border-radius: 2px; }
.es-kp-9 { display: flex; border-bottom: 1px solid #e2e8f0; margin-bottom: 2rem; overflow-x: auto; gap: 0.5rem; }
.es-kp-9::-webkit-scrollbar { display: none; }
.es-kp-10 { font-size:0.75rem; color:#64748b; margin-top:0.4rem; font-style: italic; }
.es-kp-11 { display:none; }
.es-kp-12 { display:none; }
.es-kp-13 { grid-column: span 2; }
.es-kp-14 { display:none; margin-top: 1.5rem; }
.es-kp-15 { display:none; background:#f1f5f9; padding:1rem; border-radius:12px; }
.es-kp-16 { font-weight:700; }
.es-kp-17 { display: flex; gap: 0.5rem; align-items:center; }
.es-kp-18 { width:auto; }
.es-kp-19 { width:auto; background:#8b5cf6; height: 100%; }
.es-kp-20 { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed #cbd5e1; }
.es-kp-21 { display: flex; align-items: center; gap: 0.75rem; cursor: pointer; color: #166534; font-weight: 800; font-size: 1rem; }
.es-kp-22 { width: 22px; height: 22px; cursor: pointer; accent-color: #10b981; }
.es-kp-23 { font-size: 0.75rem; color: #64748b; margin-top: 0.4rem; margin-left: 1.9rem; font-style: italic; }
.es-kp-24 { margin-top: 2rem; }
.es-kp-25 { background:#f59e0b; }
.es-kp-26 { margin-top: 1.5rem; }
.es-kp-27 { display:flex; justify-content:space-between; align-items:center; margin-bottom:0.4rem; }
.es-kp-28 { margin:0; }
.es-kp-29 { font-size:0.75rem; color:#6366f1; font-weight:700; display:flex; align-items:center; gap:4px; cursor:pointer; }
.es-kp-30 { width:14px; height:14px; }
.es-kp-31 { display:flex; justify-content:space-between; align-items:center; margin-bottom:0.4rem; }
.es-kp-32 { margin:0; }
.es-kp-33 { font-size:0.75rem; color:#6366f1; font-weight:700; display:flex; align-items:center; gap:4px; cursor:pointer; }
.es-kp-34 { width:14px; height:14px; }
.es-kp-35 { display:grid; grid-template-columns:120px 1fr; gap:0.5rem; }
.es-kp-36 { margin-top: 1.5rem; background: #f8fafc; padding: 1rem; border-radius: 12px; border: 1px dashed #cbd5e1; }
.es-kp-37 { font-weight:700; margin-bottom:1rem; }
.es-kp-38 { background:#475569; width:auto; padding:0.4rem 1rem; font-size:0.85rem; margin-top:0.5rem; }
.es-kp-39 { margin-top: 2rem; }
.es-kp-40 { background:#6366f1; width:auto; padding:0.6rem 1.2rem; font-size:0.9rem; margin-top:0.5rem; }
.es-kp-41 { margin-top: 1.5rem; }
.es-kp-42 { display:none; background: #f0fdf4; padding: 1.25rem; border: 1px solid #bbf7d0; border-radius: 12px; margin-top: 1.5rem; }
.es-kp-43 { font-weight: 800; color: #166534; display: block; margin-bottom: 0.75rem; }
.es-kp-44 { display: flex; gap: 2rem; align-items: center; }
.es-kp-45 { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color:#15803d; font-weight:600; }
.es-kp-46 { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color:#b91c1c; font-weight:600; }
.es-kp-47 { display:none; color: #ef4444; font-size: 0.85rem; font-weight: 700; background: white; padding: 4px 8px; border-radius: 6px; }
.es-kp-48 { color:#64748b; font-size:0.9rem; margin-bottom:1.5rem; }
.es-kp-49 { display:flex; justify-content:space-between; align-items:center; margin-bottom:1rem; }
.es-kp-50 { margin:0; border:none; }
.es-kp-51 { width:auto; padding:0.6rem 1.2rem; }
.es-kp-52 { color:#94a3b8; font-style:italic; padding:1rem 0; }
.es-kp-53 { margin-top: 3rem; border-top: 1px solid #e2e8f0; padding-top: 2rem; }


/* ===== SITE NAVIGATION ===== */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span { color: #fbbf24; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
  background: rgba(255, 255, 255, 0.15);
}

/* ===== INNER PAGES ===== */
.page-header { padding: 0 0 3rem; }

.page-title-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 2rem 0;
  text-align: center;
  color: white;
}

.page-title-section h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-title-section p {
  font-size: 1.1rem;
  opacity: 0.85;
}

.page-content {
  max-width: 900px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
}

.page-section {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
}

.page-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light);
}

.page-section p {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.page-section p:last-child { margin-bottom: 0; }

.page-section ul {
  color: var(--text);
  line-height: 1.8;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  padding: 0.85rem 1rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark);
  background: var(--light);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  background: var(--gradient);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  align-self: flex-start;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.contact-info-card {
  background: var(--light);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.contact-info-item h4 {
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-info-item p {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 2rem;
  text-align: center;
  color: #166534;
  font-weight: 600;
  font-size: 1.05rem;
}

/* ===== FOOTER WITH LINKS ===== */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--primary); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .site-nav { padding: 1.25rem 1rem; }
  .nav-logo { font-size: 1.2rem; }
  .nav-links a { font-size: 0.8rem; padding: 0.4rem 0.65rem; }
  .page-title-section h1 { font-size: 2rem; }
  .page-content { margin: 2rem auto 3rem; }
  .page-section { padding: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-submit { width: 100%; }
}

/* --- BUSINESS THEME OVERRIDES (Coolors Inspired) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --biz-primary: #3b82f6;
  --biz-primary-hover: #2563eb;
  --biz-secondary: #78716c;
  --biz-accent: #cbeef3; /* Light Blue za suptilne detalje */
  --biz-bg: #fdfbf7;
  --biz-border: #e7e5e4;
  --biz-text: #1c1917;
  --biz-text-light: #78716c;
  --biz-shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --biz-radius: 8px; /* Malo zaobljenije prema vizualizatoru */
}

body {
  font-family: 'Inter', sans-serif !important;
  background-color: var(--biz-bg) !important;
}

/* Dugmad - Coolors Style */
.btn-primary, .btn-danger, .btn-success {
  font-family: 'Inter', sans-serif !important;
  border-radius: var(--biz-radius) !important;
  padding: 0.6rem 1.25rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--biz-shadow-soft) !important;
  border: 1px solid transparent !important;
}

.btn-primary {
  background: var(--biz-primary) !important;
  color: white !important;
}

.btn-primary:hover {
  background: var(--biz-primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.25) !important;
}

/* Akcijska dugmad u tabeli */
.btn-action {
  width: 32px !important;
  height: 32px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  font-size: 0.9rem !important;
  border: 1px solid var(--biz-border) !important;
  background: white !important;
  color: var(--biz-text) !important;
  box-shadow: var(--biz-shadow-soft) !important;
  transition: all 0.2s !important;
}

.btn-action:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
  transform: translateY(-1px) !important;
}

.btn-action-blue { color: #2563eb !important; }
.btn-action-danger { color: #dc2626 !important; }
.btn-action-gray { color: #475569 !important; }

.btn-sm {
  padding: 0.4rem 0.75rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
}

.btn-danger {
  background: white !important;
  color: #991b1b !important;
  border: 1px solid #fee2e2 !important;
}

.btn-danger:hover {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
}

/* Header & Wallet - Clean Visualizer style */
.admin-container h1 {
  font-family: 'Inter', sans-serif !important;
  color: var(--biz-text) !important;
  font-size: 1.75rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

.es-wallet-pill-129 {
  background: white !important;
  border: 1px solid var(--biz-border) !important;
  box-shadow: var(--biz-shadow-soft) !important;
  height: 42px !important;
  border-radius: 10px !important;
}

/* Tabela - Clean Hierarchy */
table th {
  background: #f8fafc !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  color: var(--biz-text-light) !important;
  letter-spacing: 0.025em !important;
}

table td {
  font-family: 'Inter', sans-serif !important;
  color: var(--biz-text) !important;
}

/* Kartice statistike - Coolors Style */
.stats-card {
  background: white !important;
  border: 1px solid var(--biz-border) !important;
  border-radius: 12px !important;
  box-shadow: var(--biz-shadow-soft) !important;
  padding: 1.25rem !important;
  transition: transform 0.2s ease !important;
}

.stats-card:hover {
  transform: translateY(-2px) !important;
}

.stats-value {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--biz-text) !important;
  font-family: 'Inter', sans-serif !important;
  letter-spacing: -0.02em !important;
}

/* Tabovi navigacije */
.es-146 {
  background: #f1f5f9 !important;
  padding: 6px !important;
  border-radius: 12px !important;
  border: 1px solid var(--biz-border) !important;
}

.tab-btn {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}

.tab-btn.active {
  background: white !important;
  color: var(--biz-primary) !important;
  box-shadow: var(--biz-shadow-soft) !important;
}

.es-top-wallet-balance-132 {
  color: var(--biz-primary) !important;
  font-size: 1rem !important;
}

/* Status Bedževi - Elegantni Business stil */
.status-badge {
  display: inline-flex !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

.status-active { background: #f0fdf4 !important; color: #166534 !important; border: 1px solid #dcfce7 !important; }
.status-pending { background: #fffbeb !important; color: #92400e !important; border: 1px solid #fef3c7 !important; }
.status-rejected { background: #fef2f2 !important; color: #991b1b !important; border: 1px solid #fee2e2 !important; }
.status-inactive { background: #f8fafc !important; color: #475569 !important; border: 1px solid #e2e8f0 !important; }
.status-scheduled { background: #eff6ff !important; color: #1e40af !important; border: 1px solid #dbeafe !important; }

/* Modali - Business Refinement */
.modal-overlay {
  background: rgba(28, 25, 23, 0.6) !important; /* Stone 900 sa opasnošću */
  backdrop-filter: blur(4px) !important;
}

.modal-content {
  border-radius: 8px !important;
  border: 1px solid var(--biz-border) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.01) !important;
}

.modal-content h2 {
  font-size: 1.25rem !important;
  color: var(--biz-primary) !important;
  margin-bottom: 1.5rem !important;
}

/* Specijalna dugmad u modalima */
#btn-approve-minus { background: #991b1b !important; border-color: #991b1b !important; color: white !important; }
#btn-approve-free { background: #166534 !important; border-color: #166534 !important; color: white !important; }
.btn-cancel { background: var(--biz-secondary) !important; border-color: var(--biz-secondary) !important; color: white !important; }

/* Info Box u Modalima */
.biz-info-box {
  background: #f5f5f4 !important;
  padding: 1rem !important;
  border-radius: 6px !important;
  margin-bottom: 1.5rem !important;
  border: 1px solid var(--biz-border) !important;
}

.biz-row {
  display: flex !important;
  justify-content: space-between !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.9rem !important;
}

.biz-total-row {
  color: var(--biz-danger) !important;
  font-weight: 700 !important;
  border-top: 1px dashed var(--biz-border) !important;
  padding-top: 0.5rem !important;
  margin-top: 0.5rem !important;
}

.biz-action-stack {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

#approval-confirm-msg {
  margin-bottom: 1rem !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: var(--biz-text-light) !important;
}

.es-top-user-role-134 {
  background: #f1f5f9 !important;
  color: var(--biz-secondary) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 0.7rem !important;
}

#top-user-email {
  font-size: 0.85rem !important;
  color: var(--biz-text-light) !important;
}

/* Profil dugme i Logout u zaglavlju */
.es-btn-primary-143 {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 1.5rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  cursor: pointer !important;
  box-shadow: var(--biz-shadow-soft) !important;
  border: 1px solid transparent !important;
  box-sizing: border-box !important;
}

.es-btn-primary-143 { /* Profil dugme - Business Theme */
  background: var(--biz-primary) !important;
  color: white !important;
}

.es-btn-primary-143:hover {
  background: var(--biz-primary-hover) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(221, 45, 74, 0.25) !important;
}

#logout-btn {
  height: 33px !important;
  min-height: unset !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* Input polja i Forme */
#ads-search-input { border: none !important; border-radius: 0 !important; padding: 0.85rem 1rem !important; box-shadow: none !important; }
.form-control, input[type="text"], input[type="email"], input[type="password"], select, textarea {
  border-radius: 6px !important;
  border: 1px solid var(--biz-border) !important;
  padding: 0.6rem 0.75rem !important;
  font-size: 0.9rem !important;
  transition: border-color 0.2s, box-shadow 0.2s !important;
}

.form-control:focus {
  border-color: var(--biz-accent) !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
  outline: none !important;
}

/* Filter banner */
.es-ad-filter-banner-167 {
  background: #f1f5f9 !important;
  border: 1px solid var(--biz-border) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.25rem !important;
}

.es-170 { /* Tekst u banneru */
  color: var(--biz-secondary) !important;
  font-weight: 600 !important;
}

/* Radio grupe (Format oglasa) */
.es-form-group-175 {
  background: white !important;
  border: 1px solid var(--biz-border) !important;
  border-radius: 8px !important;
  padding: 1.5rem !important;
  border-style: solid !important;
}

.es-176 { /* Label "Format oglasa" */
  color: var(--biz-secondary) !important;
}

.es-177 { /* Radio label */
  font-size: 0.9rem !important;
  color: var(--biz-text) !important;
}