:root {
  --bcg-color: #ffee00;
  --second-color: #ffee00;
  --second-paragraph: #333333da;
  --paragraph: #333;
  --black-bcg: #ffffff;
  --title-color: #000;
  --welcome-img: url(/img/index/light/background.png);
  --border-color: #f0f0f0;
  --white-shadow: 1px solid #33333367;
  --second-icon: #33333396;
  --date: #33333381;
  --dark-yellow: #e4d500;
  --second-bcg: #f8f8f8;
  --picture-color: #ffffff;
  --bcg-opacity: 0.85;
  --welcome-gradient: linear-gradient(
    135deg,
    #ffee00 0%,
    #e4d500 30%,
    #e6c500 70%,
    #d4b000 100%
  );
  --text-primary: #1a1a1a;
  --text-secondary: rgba(26, 26, 26, 0.7);
  --search-bg: rgba(255, 255, 255, 0.95);
  --input-bg: rgba(255, 255, 255, 0.8);
  --input-border: rgba(26, 26, 26, 0.12);
}

.dark-theme {
  --second-paragraph: #e0e0e0;
  --paragraph: #f0f0f0;
  --black-bcg: #0f0f0f;
  --title-color: #ffffff;
  --welcome-img: url(/img/index/dark/pcbcg.png);
  --border-color: rgba(255, 255, 255, 0.1);
  --white-shadow: 1px solid rgba(255, 255, 255, 0.1);
  --second-icon: #f0f0f09c;
  --date: #f0f0f073;
  --second-bcg: #1a1a1a;
  --picture-color: #0c0c0c;
  --bcg-color: #fff700;
  --dark-yellow: #ffee00;
  --bcg-opacity: 0.9;
  --welcome-gradient: linear-gradient(
    135deg,
    #fff700 0%,
    #ffee00 25%,
    #ffe000 50%,
    #e6cc00 75%,
    #1a1a1a 100%
  );
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --search-bg: rgba(26, 26, 26, 0.95);
  --input-bg: rgba(40, 40, 40, 0.8);
  --input-border: rgba(255, 255, 255, 0.15);
}

/*
  Disable all load-time animations while `body` has the `no-load-animations` class.
  This preserves hover animations because the class is removed after the page finishes loading.
*/
body.no-load-animations .animate__animated {
  animation: none !important;
}

/* Welcome Section - Completely New Design */
#welcome {
  background: var(--welcome-gradient);
  position: relative;
  top: 69px;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.hero-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 60px;
  align-items: center;
}

.hero-left {
  flex: 1;
  max-width: 600px;
}

.hero-intro {
  margin-bottom: 40px;
}

.intro-label {
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
  color: #000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-left h1 {
  font-size: 3.2rem;
  font-weight: 300;
  color: #000;
  line-height: 1.1;
  margin: 0 0 25px;
  letter-spacing: -0.02em;
}

.highlight {
  font-weight: 800;
  color: #1a1a1a;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

.quick-stats {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 25px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.quick-stat {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.primary-action {
  background: #000;
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.primary-action:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.secondary-action {
  background: transparent;
  color: #000;
  border: 2px solid rgba(0, 0, 0, 0.2);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.secondary-action:hover {
  border-color: #000;
  background: rgba(0, 0, 0, 0.05);
}

.hero-right {
  flex: 0 0 420px;
}

.search-panel {
  background: var(--black-bcg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-panel h3 {
  font-size: 1.5rem;
  color: var(--title-color);
  margin: 0 0 25px;
  font-weight: 600;
}

.form-group {
  margin-bottom: 20px;
}

.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--black-bcg);
  color: var(--title-color);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.form-group select:focus {
  outline: none;
  border-color: var(--bcg-color);
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--title-color);
  margin-bottom: 8px;
}

/* Ensure price-range label matches other form labels */
.price-range label {
  display: block;
  font-size: 0.9rem;
  color: var(--title-color);
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--bcg-color);
  font-size: 1rem;
}

.input-with-icon input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--black-bcg);
  color: var(--title-color);
  transition: border-color 0.3s ease;
}

.input-with-icon input:focus {
  outline: none;
  border-color: var(--bcg-color);
}

.search-panel select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--black-bcg);
  color: var(--title-color);
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.search-panel select:focus {
  outline: none;
  border-color: var(--bcg-color);
}

.price-range {
  margin-bottom: 25px;
}

.range-inputs {
  display: flex;
  gap: 10px;
  align-items: center;
}

.range-inputs input {
  flex: 1;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 1rem;
  background: var(--black-bcg);
  color: var(--title-color);
  transition: border-color 0.3s ease;
}

.range-inputs input:focus {
  outline: none;
  border-color: var(--bcg-color);
}

.range-inputs span {
  color: var(--second-paragraph);
  font-weight: 500;
}

.search-submit {
  width: 100%;
  background: var(--bcg-color);
  color: #000;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.search-submit:hover {
  filter: brightness(0.8);
}

.popular-searches {
  font-size: 0.9rem;
  color: var(--second-paragraph);
}

.popular-searches span {
  font-weight: 500;
  margin-right: 10px;
}

.popular-searches a {
  color: var(--bcg-color);
  text-decoration: none;
  margin-right: 15px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.popular-searches a:hover {
  color: var(--dark-yellow);
}

/* Ensure anchors styled as buttons or inline links have no underline/border */
.primary-action,
a.primary-action {
  text-decoration: none;
}

.hero-actions a.primary-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.popular-searches a {
  text-decoration: none; /* reinforce no-underline */
  border-bottom: none !important;
}

/* Transaction separator - creates visual division between search sections */
.transaction-separator {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 25px !important;
  margin-bottom: 25px !important;
}

.dark-theme .transaction-separator {
  border-bottom-color: rgba(255, 255, 255, 0.15);
}

/* Stats Section - Redesigned */
#stats {
  background: var(--black-bcg);
  padding: 100px 0;
  position: relative;
  top: 69px;
}

.stats-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.stats-header {
  text-align: center;
  margin-bottom: 60px;
}

.stats-header h3 {
  font-size: 2.5rem;
  color: var(--title-color);
  margin-bottom: 15px;
  font-weight: 300;
}

.stats-header h3 span {
  font-weight: 700;
  color: var(--bcg-color);
}

.stats-header p {
  font-size: 0.95rem;
  color: var(--second-paragraph);
  margin: 0;
}

.stats-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  background: var(--second-bcg);
  border-radius: 20px;
  padding: 30px 30px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  min-width: 250px;
  flex: 1;
  max-width: 280px;
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--bcg-color);
}

.stat-visual {
  margin-bottom: 25px;
}

.stat-visual .material-symbols-outlined {
  display: block;
  font-size: 2.7rem;
  color: var(--bcg-color);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--title-color);
  line-height: 1;
}

.stat-info h4 {
  font-size: 1.4rem;
  color: var(--title-color);
  margin: 0 0 8px;
  font-weight: 600;
}

.stat-info p {
  font-size: 0.95rem;
  color: var(--second-paragraph);
  margin: 0;
  line-height: 1.4;
}

/* Properties Section */
#properties {
  /* Featured Real Estate sada koristi isti background kao i prethodni Browse (categories) */
  background: var(--second-bcg);
  padding: 80px 0;
  position: relative;
  top: 69px;
}

#properties h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--title-color);
  margin-bottom: 60px;
  font-weight: 300;
}

#properties h3 span {
  font-weight: 700;
  color: var(--bcg-color);
}

.properties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 20px;
  justify-content: center;
}

.property-card {
  width: 30%;
  background: var(--second-bcg);
  border-radius: 20px;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  position: relative;
  /* make card a column flex container so footer can align to bottom */
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--bcg-color);
}

.property-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  /* keep image area from growing/shrinking inside flex column */
  flex: 0 0 auto;
}

.property-image .image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 3rem;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--bcg-color);
  color: #000;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
}

.property-content {
  padding: 25px;
  /* allow content to grow and push footer to bottom */
  flex: 1 1 auto;
}

.property-content h4 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--title-color);
}

.property-location {
  margin: 0 0 15px;
  color: var(--second-paragraph);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.property-location i {
  color: var(--bcg-color);
}

.property-desc {
  margin: 0 0 20px;
  color: var(--paragraph);
  line-height: 1.6;
  font-size: 0.95rem;
}

.property-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--black-bcg);
  padding: 8px 12px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--paragraph);
}

.feature i {
  color: var(--bcg-color);
  font-size: 0.9rem;
}

.property-footer {
  padding: 0 25px 25px;
  display: flex;
  gap: 10px;
  align-items: center;
  /* push footer to bottom when card content differs in height */
  margin-top: auto;
}

.btn-contact {
  flex: 1;
  background: var(--bcg-color);
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background: var(--dark-yellow);
  transform: translateY(-2px);
}

.btn-details {
  background: transparent;
  border: 2px solid var(--border-color);
  padding: 12px 20px;
  border-radius: 25px;
  color: var(--paragraph);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-details:hover {
  border-color: var(--bcg-color);
  color: var(--title-color);
  background: rgba(255, 238, 0, 0.1);
}

/* Categories Section */
#categories {
  /* Uklonjen background za Browse sekciju */
  background: transparent;
  padding: 80px 0;
  position: relative;
  top: 69px;
}

.categories-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.categories-container h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--title-color);
  margin-bottom: 60px;
  font-weight: 300;
}

.categories-container h3 span {
  font-weight: 700;
  color: var(--bcg-color);
}

.category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.category-item {
  width: 100%;
  max-width: 350px;
  background: var(--black-bcg);
  padding: 35px 25px;
  border-radius: 18px;
  text-align: center;
  border: 2px solid var(--border-color);
  transition: all 0.4s ease;
  cursor: pointer;
}

.category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-color: var(--bcg-color);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--bcg-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  color: #000;
  font-size: 1.8rem;
}

.category-item h4 {
  margin: 0 0 10px;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--title-color);
}

.category-item p {
  margin: 0 0 15px;
  color: var(--paragraph);
  line-height: 1.5;
}

.property-count {
  display: inline-block;
  background: var(--bcg-color);
  color: #000;
  padding: 6px 15px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* CTA Section */
#cta {
  /* Ready to invest sada dobija background koji je imao Browse */
  background: var(--second-bcg);
  padding: 100px 0;
  position: relative;
  top: 69px;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.cta-container h3 {
  font-size: 2.4rem;
  color: var(--title-color);
  margin-bottom: 20px;
  font-weight: 300;
  line-height: 1.2;
}

.cta-container h3 span {
  font-weight: 700;
  color: var(--bcg-color);
}

.cta-container p {
  font-size: 1rem;
  color: var(--paragraph);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--bcg-color);
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1rem;
  color: #000;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--dark-yellow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--bcg-color);
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1rem;
  color: var(--bcg-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--bcg-color);
  color: #000;
  transform: translateY(-2px);
}

/* Mobile App Section */
#mobileApp {
  padding: 100px 0;
  position: relative;
  top: 69px;
}

.app-showcase {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.app-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.app-content-wrapper {
  width: 100%;
  max-width: 600px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bcg-color);
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.app-content-wrapper h3 {
  font-size: 2.5rem;
  color: var(--title-color);
  margin-bottom: 25px;
  font-weight: 300;
  line-height: 1.2;
}

.app-content-wrapper h3 span {
  font-weight: 700;
  color: var(--bcg-color);
}

.app-description {
  font-size: 1.1rem;
  color: var(--paragraph);
  margin-bottom: 35px;
  line-height: 1.6;
}

.app-features {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paragraph);
  font-weight: 500;
}

.feature-item i {
  color: var(--bcg-color);
  font-size: 1.2rem;
}

.download-section h4 {
  font-size: 1.3rem;
  color: var(--title-color);
  margin-bottom: 20px;
}

.store-buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.store-btn img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.store-btn:hover img {
  transform: scale(1.05);
}

.download-note {
  color: var(--second-paragraph);
  font-size: 0.9rem;
  margin: 0;
}

.app-visual {
  width: 100%;
  max-width: 400px;
  display: flex;
  justify-content: center;
}

.phone-container {
  position: relative;
}

.phone-frame {
  width: 300px;
  height: auto;
}

.app-screen {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1499px) {
  .property-footer {
    flex-direction: column;
    gap: 10px;
  }

  .btn-contact,
  .btn-details {
    width: 100%;
  }
}

@media (max-width: 1279px) {
  .hero-left h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .stat-visual .material-symbols-outlined {
    font-size: 2.2rem;
  }

  .stat-number {
    font-size: 1.7rem;
  }

  .stat-info p {
    font-size: 0.9rem;
  }

  .stats-header h3 {
    font-size: 2.2rem;
  }

  #properties h3 {
    font-size: 2.2rem;
  }

  .property-content h4 {
    font-size: 1.2rem;
  }

  .categories-container h3 {
    font-size: 2.2rem;
  }

  .cta-container h3 {
    font-size: 2.2rem;
  }

  .app-content-wrapper h3 {
    font-size: 2.2rem;
  }

  .app-description {
    font-size: 1.05rem;
  }

  /* Welcome section form adjustments */
  .hero-right {
    flex: 0 0 420px;
    max-width: 420px;
    margin-right: 15px;
  }

  .search-panel {
    padding: 20px;
    max-width: 100%;
  }

  .search-panel h3 {
    font-size: 1.3rem;
  }

  .input-with-icon input,
  .search-panel select {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .input-with-icon input {
    padding-left: 40px;
  }

  .range-inputs {
    gap: 8px;
  }

  .range-inputs input {
    padding: 12px 8px;
    font-size: 0.9rem;
    min-width: 0;
    flex: 1;
  }

  .range-inputs span {
    font-size: 0.9rem;
    flex-shrink: 0;
  }

  .search-submit {
    padding: 15px;
    font-size: 1rem;
  }

  /* Mobile App Store Buttons - smaller on medium screens */
  .store-buttons {
    gap: 10px;
  }

  .store-btn img {
    height: 42px;
  }

  /* Keep app layout horizontal on medium screens */
  .app-hero {
    gap: 40px;
    flex-direction: row;
    align-items: center;
  }

  .app-content-wrapper {
    max-width: 500px;
  }

  .app-visual {
    max-width: 350px;
  }

  .stat-item {
    min-width: 0px;
    flex: initial;
    width: 45%;
    max-width: initial;
  }
  .property-card {
    width: 48%;
  }
  .category-item {
    min-width: 0px;
    max-width: initial;
    width: 45%;
  }
}

@media (max-width: 1023px) {
  #welcome {
    top: 60px;
  }

  .property-card {
    width: 45%;
    min-width: 300px;
  }

  .category-item {
    width: 45%;
    min-width: 250px;
  }

  .app-hero {
    gap: 40px;
  }

  /* Welcome section - same as 768px */
  .hero-wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .quick-stats {
    justify-content: center;
    gap: 30px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-right {
    flex: none;
    width: 100%;
    max-width: 500px;
  }

  .search-panel {
    padding: 25px;
  }

  /* Mobile App - same as 768px */
  .app-hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .app-content-wrapper,
  .app-visual {
    width: 100%;
  }

  .app-features {
    justify-content: center;
    gap: 30px;
  }

  .app-content-wrapper h3 {
    font-size: 2.2rem;
    text-align: center;
  }

  .app-description {
    text-align: center;
    font-size: 1.05rem;
  }

  .download-section {
    text-align: center;
  }

  .store-buttons {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .hero-left h1 {
    font-size: 2.5rem;
  }
  #welcome {
    justify-content: center;
  }

  .hero-wrapper {
    justify-content: center;
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .quick-stats {
    justify-content: center;
    gap: 30px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-right {
    margin-inline: auto;
    width: 95%;
    max-width: 95%;
  }

  .search-panel {
    padding: 25px;
  }

  .stats-grid {
    gap: 20px;
    align-items: center;
  }

  .stat-item {
    max-width: 350px;
    min-width: unset;
  }

  .properties-grid {
    gap: 20px;
  }

  .property-card {
    width: 100%;
    min-width: unset;
  }

  .category-grid {
    gap: 20px;
  }

  .category-item {
    min-width: unset;
  }

  .app-hero {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .app-content-wrapper,
  .app-visual {
    width: 100%;
  }

  .app-features {
    justify-content: center;
    gap: 30px;
  }

  .app-content-wrapper h3 {
    font-size: 2.2rem;
    text-align: center;
  }

  .app-description {
    text-align: center;
    font-size: 1.05rem;
  }

  .download-section {
    text-align: center;
  }

  .store-buttons {
    justify-content: center;
  }

  .cta-container h3 {
    font-size: 2.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 250px;
    justify-content: center;
  }
}

@media (max-width: 499px) {
  #welcome {
    padding: 50px 0px;
  }
  .hero-wrapper {
    padding: 0px 8px;
  }
  .hero-right {
    width: 100%;
    max-width: 100%;
  }
  .range-inputs input {
    width: 100%;
  }
  .properties-grid {
    padding: 0 8px;
  }
  .hero-left h1 {
    font-size: 1.8rem;
  }
  .category-item {
    width: 100%;
  }

  /* Mobile: uklanjamo background sekcija za čistiji prikaz */
  #properties,
  #cta {
    background: transparent !important;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .stat-visual .material-symbols-outlined {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .stat-info p {
    font-size: 0.87rem;
  }

  .stats-header h3 {
    font-size: 1.6rem;
  }

  #properties h3 {
    font-size: 1.6rem;
  }

  .categories-container h3 {
    font-size: 1.6rem;
  }

  .cta-container h3 {
    font-size: 1.6rem;
  }

  .cta-container p {
    font-size: 0.9rem;
  }

  .property-content h4 {
    font-size: 1.1rem;
  }

  .property-desc {
    font-size: 0.85rem;
  }

  .category-item h4 {
    font-size: 1.15rem;
  }

  .quick-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
    justify-content: center;
  }

  .search-panel {
    padding: 20px;
  }

  .range-inputs {
    flex-direction: column;
    gap: 10px;
  }

  .range-inputs span {
    display: none;
  }

  .property-content {
    padding: 20px;
  }

  .property-footer {
    padding: 0 20px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .btn-contact,
  .btn-details {
    width: 100%;
  }

  .stats-grid {
    flex-direction: column;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 10000px;
  }

  .property-card {
    width: 100%;
    min-width: unset;
  }

  .properties-grid {
    gap: 20px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  /* Mobile App Section Improvements */
  #mobileApp {
    padding: 60px 0px;
  }

  .app-content-wrapper h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
  }

  .app-description {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 25px;
  }

  .app-badge {
    display: flex;
    font-size: 0.85rem;
    padding: 6px 12px;
    margin: 0 auto 20px;
    width: fit-content;
  }

  .app-features {
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
    align-items: center;
  }

  .feature-item {
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
  }

  .feature-item i {
    font-size: 1.1rem;
  }

  .download-section {
    text-align: center;
  }

  .download-section h4 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  .store-buttons {
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
  }

  .store-btn img {
    height: 45px;
  }

  .download-note {
    font-size: 0.85rem;
  }

  .app-visual {
    order: -1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .phone-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .phone-frame {
    width: 250px;
    max-width: 90%;
  }
}

/* Advanced Search Styles */
.advanced-search-link {
  margin-top: 20px;
  text-align: center;
}

.advanced-search-link a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.advanced-search-link a:hover {
  color: #000;
  border-color: var(--bcg-color);
  background: var(--bcg-color);
  transform: translateY(-1px);
}

.dark-theme .advanced-search-link a {
  color: var(--paragraph);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.dark-theme .advanced-search-link a:hover {
  color: #000;
  background: var(--bcg-color);
  border-color: var(--bcg-color);
}

/* Modal Styles */
.modal-content {
  background: var(--black-bcg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

.modal-header {
  background: var(--second-bcg);
  border-bottom: 1px solid var(--border-color);
  border-radius: 16px 16px 0 0;
  padding: 24px 28px;
}

.modal-title {
  color: var(--title-color);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 28px;
  background: var(--black-bcg);
}

.modal-footer {
  background: var(--second-bcg);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 16px 16px;
  padding: 20px 28px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.form-label {
  color: var(--title-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.form-control,
.form-select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bcg-color);
  outline: none;
  background: var(--input-bg);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.8;
}

.dark-theme .form-control,
.dark-theme .form-select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--paragraph);
}

.dark-theme .form-control:focus,
.dark-theme .form-select:focus {
  border-color: var(--bcg-color);
  background: rgba(255, 255, 255, 0.08);
}

.dark-theme .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
  background: var(--bcg-color);
  border: none;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--dark-yellow);
  color: #000;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--second-bcg);
  border-color: var(--input-border);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.dark-theme .btn-secondary {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--paragraph);
}

.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  opacity: 0.7;
  transition: all 0.2s ease;
  padding: 8px;
  border-radius: 6px;
}

.btn-close:hover {
  opacity: 1;
  background: var(--second-bcg);
}

.dark-theme .btn-close {
  color: var(--paragraph);
}

.row {
  margin-bottom: 0;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 20px 15px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-header,
  .modal-footer {
    padding: 20px;
  }
  
  .modal-title {
    font-size: 18px;
  }
  
  .advanced-search-link a {
    font-size: 13px;
    padding: 8px 14px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Modern Modal Styles - Updated to match welcome section */
.modern-modal {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000 !important;
  animation: fadeIn 0.3s ease-out !important;
}

.modern-modal.show {
  display: block !important;
}

.modal-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px !important;
}

.modal-container {
  background: var(--black-bcg) !important;
  border-radius: 16px !important;
  max-width: 900px !important;
  width: 100% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  position: relative !important;
  animation: slideUp 0.3s ease-out !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--border-color) !important;
}

.modal-container::-webkit-scrollbar {
  width: 6px !important;
}

.modal-container::-webkit-scrollbar-track {
  background: var(--second-bcg) !important;
}

.modal-container::-webkit-scrollbar-thumb {
  background: var(--bcg-color) !important;
  border-radius: 3px !important;
}

.modal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 24px 30px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--border-color) !important;
  background: var(--bcg-color) !important;
  border-radius: 16px 16px 0 0 !important;
  position: relative !important;
}

.modal-header h3 {
  margin: 0 !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  color: #000 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
  z-index: 1 !important;
}

.modal-header h3 i {
  font-size: 1.2rem !important;
  color: #000 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.modal-close {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  font-size: 1.1rem !important;
  color: #000 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  z-index: 1 !important;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  transform: scale(1.05) !important;
}

.modal-body {
  padding: 35px !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  flex: 1 !important;
  overflow-y: auto !important;
}

.modal-body::-webkit-scrollbar {
  width: 0 !important;
  background: transparent !important;
}

.form-group {
  margin-bottom: 20px !important;
  position: relative !important;
}

.form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
}

.form-row .form-group:only-child {
  grid-column: 1 / -1 !important;
}

.form-row.single-item {
  grid-template-columns: 1fr !important;
}

.form-label {
  display: block !important;
  margin-bottom: 6px !important;
  font-weight: 500 !important;
  color: var(--title-color) !important;
  font-size: 0.9rem !important;
}

.form-input,
.form-select {
  width: 100% !important;
  height: 56px !important;
  padding: 0 16px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--paragraph) !important;
  background: var(--black-bcg) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  outline: none !important;
}

.form-input:hover,
.form-select:hover {
  border-color: var(--bcg-color) !important;
}

.form-input:focus,
.form-select:focus {
  outline: none !important;
  border-color: var(--bcg-color) !important;
  box-shadow: 0 0 0 2px rgba(255, 238, 0, 0.2) !important;
}

.form-input::placeholder {
  color: #888 !important;
  font-weight: 400 !important;
}

/* Select-specific styling to match input exactly */
.form-select {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23888' d='M6 8L0 0h12z'/></svg>") !important;
  background-position: right 16px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px !important;
  padding-right: 45px !important;
}

.dark-theme .form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23ccc' d='M6 8L0 0h12z'/></svg>") !important;
}

.form-select option {
  background: var(--black-bcg) !important;
  color: var(--paragraph) !important;
  padding: 8px !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

.modal-footer {
  padding: 30px 35px !important;
  margin: 0 !important;
  border-top: 3px solid var(--bcg-color) !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  background: var(--second-bcg) !important;
  border-radius: 0 0 16px 16px !important;
}

.btn-primary,
.btn-secondary {
  height: 44px !important;
  padding: 10px 20px !important;
  margin-right: 20px !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 120px !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.btn-primary:last-child,
.btn-secondary:last-child {
  margin-right: 0 !important;
}

.btn-primary {
  background: var(--bcg-color) !important;
  color: #000 !important;
  border: 1px solid var(--bcg-color) !important;
}

.btn-primary:hover {
  background: var(--dark-yellow) !important;
  transform: translateY(-1px) !important;
}

.btn-primary i {
  color: #000 !important;
  font-size: 0.9rem !important;
}

.btn-secondary {
  background: transparent !important;
  color: var(--paragraph) !important;
  border: 1px solid var(--border-color) !important;
}

.btn-secondary:hover {
  background: var(--black-bcg) !important;
  border-color: var(--bcg-color) !important;
  transform: translateY(-1px) !important;
}

/* Advanced Search Modal: Match welcome section input styling */
#advancedSearchModal .form-control,
#advancedSearchModal .form-select,
#advancedSearchModal select,
#advancedSearchModal input,
#advancedSearchModal .form-input {
  height: 56px !important;
  border: none !important;
  outline: none !important;
  font-size: 1rem !important;
  background-color: var(--black-bcg) !important;
  padding-left: 16px !important;
  padding-right: 16px !important;
  color: var(--paragraph) !important;
  width: 100% !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  border: 1px solid var(--border-color) !important;
  transition: all 0.2s ease !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  font-weight: 400 !important;
}

/* Select specific styling to match welcome input */
#advancedSearchModal select,
#advancedSearchModal .form-select {
  padding-right: 45px !important;
  cursor: pointer !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23888' d='M6 8L0 0h12z'/></svg>") !important;
  background-position: right 16px center !important;
  background-repeat: no-repeat !important;
}

/* Dark theme select arrow */
.dark-theme #advancedSearchModal select,
.dark-theme #advancedSearchModal .form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23ccc' d='M6 8L0 0h12z'/></svg>") !important;
}

/* Hover state */
#advancedSearchModal .form-control:hover,
#advancedSearchModal .form-select:hover,
#advancedSearchModal select:hover,
#advancedSearchModal input:hover {
  border-color: var(--bcg-color) !important;
}

/* Focus state */
#advancedSearchModal .form-control:focus,
#advancedSearchModal .form-select:focus,
#advancedSearchModal select:focus,
#advancedSearchModal input:focus {
  border-color: var(--bcg-color) !important;
  box-shadow: 0 0 0 2px rgba(255, 238, 0, 0.2) !important;
  outline: none !important;
}

/* Select options styling */
#advancedSearchModal option {
  color: var(--paragraph) !important;
  background: var(--black-bcg) !important;
  padding: 8px !important;
}

/* Placeholder styling */
#advancedSearchModal input::placeholder,
#advancedSearchModal .form-input::placeholder,
#advancedSearchModal .form-control::placeholder {
  color: #888 !important;
  font-weight: 400 !important;
}

/* Notification Styles */
.notification {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  background: var(--black-bcg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  z-index: 10001 !important;
  min-width: 300px !important;
  max-width: 500px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  transform: translateX(100%) !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
}

.notification.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.notification.success {
  border-left: 4px solid var(--bcg-color) !important;
}

.notification.error {
  border-left: 4px solid #ff4757 !important;
}

.notification-content {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.notification.success .notification-content i {
  color: var(--bcg-color) !important;
  font-size: 1.1rem !important;
}

.notification.error .notification-content i {
  color: #ff4757 !important;
  font-size: 1.1rem !important;
}

.notification-content span {
  color: var(--paragraph) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Mobile Responsive - Match welcome section responsive behavior */
@media (max-width: 1279px) {
  .modal-container {
    max-width: 800px !important;
  }

  .form-input,
  .form-select {
    height: 50px !important;
    font-size: 0.95rem !important;
  }

  .btn-primary,
  .btn-secondary {
    height: 40px !important;
    font-size: 0.9rem !important;
    padding: 0 18px !important;
  }
}

@media (max-width: 1023px) {
  .modal-container {
    max-width: 700px !important;
  }

  .modal-header h3 {
    font-size: 1.4rem !important;
  }

  .form-label {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 767px) {
  .modal-container {
    margin: 15px !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
    max-width: none !important;
  }

  .modal-header {
    padding: 20px 28px !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .modal-header h3 {
    font-size: 1.3rem !important;
  }

  .modal-body {
    padding: 28px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .modal-footer {
    padding: 25px 28px !important;
    border-radius: 0 0 12px 12px !important;
  }

  .notification {
    top: 15px !important;
    right: 15px !important;
    left: 15px !important;
    min-width: auto !important;
    max-width: none !important;
    transform: translateY(-100%) !important;
  }
  
  .notification.show {
    transform: translateY(0) !important;
  }
}

@media (max-width: 499px) {
  .modal-overlay {
    padding: 10px !important;
  }

  .modal-container {
    margin: 0 !important;
    max-height: 95vh !important;
    border-radius: 16px !important;
  }

  .modal-header {
    padding: 16px 20px !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .modal-header h3 {
    font-size: 1.1rem !important;
    gap: 8px !important;
  }

  .modal-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  .modal-body {
    padding: 25px !important;
  }

  .form-group {
    margin-bottom: 16px !important;
  }

  .form-row {
    margin-bottom: 16px !important;
    gap: 12px !important;
  }

  .form-input,
  .form-select {
    height: 50px !important;
    font-size: 1rem !important;
    padding: 0 15px !important;
  }

  .form-select {
    padding-right: 40px !important;
    background-position: right 15px center !important;
  }

  .form-label {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
  }

  .modal-footer {
    flex-direction: column !important;
    padding: 22px 25px !important;
    gap: 10px !important;
    border-radius: 0 0 16px 16px !important;
  }

  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    height: 44px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }

  .btn-primary:last-child,
  .btn-secondary:last-child {
    margin-bottom: 0 !important;
  }
}

/* Skeleton Loader Styles */
.skeleton {
  background: linear-gradient(90deg, var(--second-bcg) 25%, #e0e0e0 50%, var(--second-bcg) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

.dark-theme .skeleton {
  background: linear-gradient(90deg, #2a2a2a 25%, #353535 50%, #2a2a2a 75%);
  background-size: 200% 100%;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--black-bcg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.skeleton-image {
  width: 100%;
  height: 220px;
}

.skeleton-content {
  padding: 25px;
}

.skeleton-title {
  width: 80%;
  height: 24px;
  margin-bottom: 12px;
}

.skeleton-location {
  width: 60%;
  height: 16px;
  margin-bottom: 15px;
}

.skeleton-description {
  width: 100%;
  height: 60px;
  margin-bottom: 20px;
}

.skeleton-features {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.skeleton-feature {
  width: 100px;
  height: 40px;
  border-radius: 8px;
}

.skeleton-footer {
  display: flex;
  gap: 10px;
}

.skeleton-btn {
  flex: 1;
  height: 44px;
  border-radius: 12px;
}

.no-ads-message {
  text-align: center;
  padding: 80px 20px;
  border-radius: 20px;
  margin: 40px 0;
  width: 100%;
  grid-column: 1 / -1;
}

.no-ads-message i {
  font-size: 4rem;
  color: var(--second-icon);
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-ads-message h3 {
  color: var(--title-color);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.no-ads-message p {
  color: var(--second-paragraph);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}
