/* Base Styles */
html {
  overflow-x: hidden;
  max-width: 100vw;
}

body { 
  font-family: 'Heebo', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; 
  margin: 0;
  padding: 16px;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  transition: opacity 0.5s ease-in;
  overflow-x: hidden;
}

body.loaded {
  opacity: 1;
}

/* Hide main content until loaded, but keep preloader visible */
body:not(.loaded) > *:not(#preloader) {
  opacity: 0;
  pointer-events: none;
}

h1 { 
  margin-bottom: 8px; 
  text-align: center; 
  color: #333; 
}

section { 
  margin: 16px auto; 
  padding: 16px; 
  border: 1px solid #e5e5e5; 
  border-radius: 8px; 
  background: #fafafa;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  gap: 16px; 
  margin-top: 16px; 
}

.card { 
  border: 1px solid #ddd; 
  border-radius: 8px; 
  padding: 12px; 
  background: white; 
  box-shadow: 0 2px 4px rgba(0,0,0,0.1); 
}

.row { 
  display: flex; 
  gap: 12px; 
  align-items: center; 
  margin-bottom: 12px; 
}

.grid img { 
  width: 100%; 
  height: 200px; 
  object-fit: cover; 
  border-radius: 6px; 
}

/* Buttons */
button { 
  padding: 10px 16px; 
  border-radius: 6px; 
  border: none; 
  cursor: pointer; 
  font-weight: 500; 
}

.btn-primary { 
  background: #405de6; 
  color: white; 
}

.btn-secondary { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid #e5e7eb;
  background: #f3f4f6;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 120px;
  box-sizing: border-box;
}

.btn-secondary:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #374151;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid #ec4899;
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(236, 72, 153, 0.25);
  min-width: 120px;
  box-sizing: border-box;
}

.btn-signup:hover {
  background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
  border-color: #db2777;
  box-shadow: 0 4px 8px rgba(236, 72, 153, 0.35);
  transform: translateY(-1px);
}

.btn-signup:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(236, 72, 153, 0.25);
}

.btn-signup:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3), 0 2px 4px rgba(236, 72, 153, 0.25);
}

button:disabled { 
  opacity: 0.6; 
  cursor: not-allowed; 
}

/* Form Elements */
input[type="text"], 
input[type="number"], 
input[type="file"] { 
  padding: 8px 12px; 
  border: 1px solid #ddd; 
  border-radius: 4px; 
}

.hashtags { 
  color: #666; 
  font-size: 0.9em; 
  margin-top: 8px; 
}

.similarity { 
  color: #28a745; 
  font-weight: bold; 
  margin-top: 4px; 
}

.loading { 
  text-align: center; 
  color: #666; 
}

/* Slots */
.slots { 
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
  gap: 10px; 
  margin-top: 12px; 
}

.slot { 
  padding: 10px; 
  border: 1px solid #ddd; 
  border-radius: 6px; 
  text-align: center; 
  cursor: pointer; 
  background: #fff; 
}

.slot:hover { 
  background: #f3f4f6; 
}

/* Creator Items */
.creator-item { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 12px; 
  border: 1px solid #ddd; 
  border-radius: 6px; 
  margin-bottom: 8px; 
  background: white; 
}

.creator-info { 
  display: flex; 
  flex-direction: column; 
  gap: 4px; 
}

.post-count { 
  color: #666; 
  font-size: 0.9em; 
}

.btn-profile { 
  padding: 6px 12px; 
  background: #405de6; 
  color: white; 
  text-decoration: none; 
  border-radius: 4px; 
  font-size: 0.9em; 
}

.btn-profile:hover { 
  background: #3b4db8; 
}

/* Modal Styles */
.modal { 
  position: fixed; 
  inset: 0; 
  background: rgba(0,0,0,0.5); 
  display: none; 
  align-items: center; 
  justify-content: center; 
  z-index: 1000; 
}

.modal.open { 
  display: flex; 
}

/* Signup overlay - full screen blocking overlay */
.signup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10001; /* Above modals (1000) and preloader (10000) */
  backdrop-filter: blur(1px);
  cursor: not-allowed;
  pointer-events: all;
}

.modal-card { 
  width: 480px; 
  max-width: 90vw;
  max-height: 90vh;
  background: white; 
  border-radius: 16px; 
  padding: 0; 
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
  overflow: hidden; 
  display: flex;
  flex-direction: column;
  position: relative;
}

.modal-header { 
  padding: 32px 32px 16px; 
  text-align: center; 
  border-bottom: 1px solid #f0f0f0; 
  flex-shrink: 0;
}

.modal-title { 
  font-size: 28px; 
  font-weight: 700; 
  color: #1a1a1a; 
  margin: 0 0 8px 0; 
}

.modal-subtitle { 
  font-size: 16px; 
  color: #666; 
  margin: 0; 
}

.modal-close { 
  position: absolute; 
  top: 12px; 
  right: 12px; 
  background: none; 
  border: none; 
  font-size: 28px; 
  color: #999; 
  cursor: pointer; 
  padding: 8px; 
  line-height: 1; 
  z-index: 10;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #333;
}

.modal-body { 
  padding: 32px; 
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  position: relative; /* For form preloader positioning */
}

.form-group { 
  margin-bottom: 24px; 
}

.form-label { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 600; 
  color: #333; 
  margin-bottom: 8px; 
  font-size: 14px; 
}

.form-icon { 
  width: 16px; 
  height: 16px; 
  color: #666; 
}

.form-input { 
  width: 100%; 
  padding: 12px 16px; 
  border: 2px solid #e5e5e5; 
  border-radius: 8px; 
  font-size: 16px; 
  transition: border-color 0.2s; 
  box-sizing: border-box; 
  font-family: inherit;
}

.form-input:focus { 
  outline: none; 
  border-color: #405de6; 
}

.form-input::placeholder { 
  color: #999; 
}

.form-input:disabled {
  background-color: #f3f4f6;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 1;
}

textarea.form-input {
  resize: vertical;
  min-height: 100px;
}

.price-range { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.price-input { 
  flex: 1; 
}

.price-separator { 
  color: #666; 
  font-weight: 500; 
}

.modal-actions { 
  padding: 0 32px 32px; 
  flex-shrink: 0;
}

.btn-get-started { 
  width: 100%; 
  padding: 16px; 
  background: #333; 
  color: white; 
  border: none; 
  border-radius: 8px; 
  font-size: 16px; 
  font-weight: 600; 
  cursor: pointer; 
  transition: background-color 0.2s; 
}

.btn-get-started:hover { 
  background: #555; 
}

.btn-get-started:disabled { 
  background: #ccc; 
  cursor: not-allowed; 
}

/* Filter Bar */
.filter-bar { 
  background: white; 
  padding: 24px 32px; 
  border-radius: 16px; 
  margin-bottom: 24px; 
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: start;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.08);
  border: 1px solid #fce7f3;
}

@media (max-width: 1400px) {
  .filter-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1000px) {
  .filter-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 700px) {
  .filter-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .filter-bar {
    grid-template-columns: 1fr;
  }
}

.filter-group { 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
  width: 100%;
}

.filter-group.button-group {
  flex-direction: column;
  gap: 12px;
}

.filter-label { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
  font-weight: 600; 
  color: #1f2937; 
  font-size: 15px; 
  margin-bottom: 4px;
  height: 24px;
}

.filter-icon { 
  width: 18px; 
  height: 18px; 
  color: #6b7280; 
}

.filter-input { 
  padding: 12px 16px; 
  border: 2px solid #e5e7eb; 
  border-radius: 10px; 
  font-size: 15px; 
  background: white;
  transition: all 0.2s ease;
  width: 100%;
  min-width: 180px;
  box-sizing: border-box;
}

/* Ensure select elements have consistent appearance across all devices */
select.filter-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  padding-left: 16px;
  cursor: pointer;
}

.filter-input:hover {
  border-color: #f9a8d4;
  background: #fdf2f8;
}

.filter-input:focus { 
  outline: none; 
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  background: #fdf2f8;
}

/* Hide mobile break on desktop */
.main-title .mobile-break {
  display: none;
}

/* Date input styling - ensure calendar picker icon is always visible */
input[type="date"] {
  position: relative;
  color: #111827;
  padding-right: 40px;
}

/* Show calendar picker icon even when disabled */
input[type="date"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  opacity: 0.6;
  background-size: contain;
}

/* Keep calendar icon visible even when disabled */
input[type="date"]:disabled::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  cursor: not-allowed;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

input[type="date"]:disabled::-webkit-calendar-picker-indicator:hover {
  opacity: 0.4;
}

/* Desktop/Web Slider Design */
.price-slider { 
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-top: 0;
  margin-bottom: 0;
  gap: 4px; /* Reduced spacing for desktop */
}

.price-slider .filter-label {
  margin-bottom: 2px !important; /* Reduced margin below label - override inline style */
  height: 24px;
  align-items: center;
  margin-top: 0;
}

/* Reduce space between price slider and hashtag sections on desktop */
.price-slider + .filter-group {
  margin-top: -4px; /* Reduce space after price slider on desktop */
}

.price-display { 
  color: #ec4899; 
  font-weight: 700; 
  font-size: 18px; 
}

.price-header { 
  display: flex; 
  align-items: center; 
  gap: 8px; 
}

.price-title { 
  color: #1f2937; 
  font-weight: 600; 
  font-size: 15px;
}

.price-currency { 
  color: #6b7280; 
  font-weight: 600; 
}

.slider-container { 
  position: relative; 
  height: 48px; 
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  width: 100%;
  min-width: 180px;
  box-sizing: border-box;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider { 
  width: 100%; 
  height: 6px; 
  border-radius: 6px; 
  background: #e5e7eb; 
  outline: none; 
  -webkit-appearance: none;
  appearance: none;
  position: relative; 
  top: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slider:hover {
  background: #f9a8d4;
}

.slider::-webkit-slider-thumb { 
  -webkit-appearance: none; 
  appearance: none; 
  width: 22px; 
  height: 22px; 
  border-radius: 50%; 
  background: #ffffff; 
  border: 3px solid #ec4899; 
  box-shadow: 0 2px 4px rgba(236, 72, 153, 0.3); 
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(236, 72, 153, 0.4);
  border-color: #db2777;
}

.slider::-moz-range-thumb { 
  width: 22px; 
  height: 22px; 
  border-radius: 50%; 
  background: #ffffff; 
  border: 3px solid #ec4899; 
  box-shadow: 0 2px 4px rgba(236, 72, 153, 0.3); 
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 6px rgba(236, 72, 153, 0.4);
  border-color: #db2777;
}

/* Button Styles */
.btn-primary { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  white-space: nowrap; 
  border-radius: 0.375rem; 
  font-size: 0.875rem; 
  font-weight: 600; 
  transition: color .2s, background-color .2s, filter .2s, box-shadow .2s; 
  height: 2.5rem; 
  padding: 0 1rem; 
  background: #475569; 
  color: #fff; 
  gap: 0.5rem; 
  border: none; 
  cursor: pointer; 
  width: 100%;
}

.btn-primary:hover { 
  background: #334155; 
}

.btn-primary:focus-visible { 
  outline: none; 
  box-shadow: 0 0 0 2px rgba(59,130,246,.5), 0 0 0 4px #fff inset; 
}

.btn-primary:disabled { 
  opacity: .5; 
  pointer-events: none; 
}

.match-btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  white-space: nowrap; 
  border-radius: 10px; 
  font-size: 15px; 
  font-weight: 600; 
  transition: all 0.2s ease; 
  height: 44px; 
  padding: 0 16px; 
  background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%); 
  color: #fff; 
  gap: 6px; 
  border: none; 
  cursor: pointer; 
  width: 100%;
  min-width: 180px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.match-btn span:first-child {
  display: inline-block;
}

.match-btn span:last-child {
  margin-left: 4px;
}

.match-btn:hover { 
  background: linear-gradient(135deg, #db2777 0%, #ec4899 100%);
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4);
  transform: translateY(-1px);
}

.match-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
}

.match-btn:focus-visible { 
  outline: none; 
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.3), 0 4px 12px rgba(236, 72, 153, 0.4);
}

.match-btn:disabled { 
  opacity: .5; 
  pointer-events: none; 
}

.clear-filters-btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  white-space: nowrap; 
  border-radius: 10px; 
  font-size: 15px; 
  font-weight: 600; 
  height: 44px; 
  padding: 0 16px; 
  background: #f3f4f6; 
  color: #111827; 
  border: 2px solid #e5e7eb; 
  box-shadow: none; 
  cursor: pointer; 
  width: 100%;
  min-width: 180px;
  box-sizing: border-box;
  transition: all 0.2s ease;
}

.clear-filters-btn:hover { 
  background: #e5e7eb; 
}

.clear-filters-btn:disabled { 
  opacity: .5; 
  pointer-events: none; 
}

/* Creators Grid - Desktop: fewer columns = wider cards */
.creators-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
  align-items: stretch; 
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
}

/* Desktop: Prices container - 2 columns grid (like in the image) */
.creator-prices-container {
  grid-template-columns: 1fr 1fr;
  gap: 6px 8px;
  align-content: start;
  grid-auto-rows: min-content;
}

/* Desktop: Ensure price labels stay on one line */
.creator-price-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Desktop: Ensure price items have consistent height and spacing */
.creator-price-item {
  min-height: fit-content;
  height: auto;
}

@media (max-width: 1400px) { 
  .creators-grid { 
    grid-template-columns: repeat(4, 1fr); 
  } 
}

@media (max-width: 1200px) { 
  .creators-grid { 
    grid-template-columns: repeat(3, 1fr); 
  } 
}

@media (max-width: 900px) { 
  .creators-grid { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

@media (max-width: 768px) { 
  .creators-grid { 
    grid-template-columns: 1fr !important; 
    gap: 16px !important;
  }
}

@media (max-width: 700px) { 
  .creators-grid { 
    grid-template-columns: 1fr !important; 
    gap: 16px !important;
  }
}

@media (max-width: 500px) {
  .creators-grid { 
    grid-template-columns: 1fr !important; 
    gap: 12px !important;
  }
}

/* Mobile Responsive Styles for Header and Layout */
@media (max-width: 768px) {
  /* Prevent horizontal overflow on mobile */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }
  
  /* Body padding adjustment for mobile - reduced for wider cards */
  body {
    padding: 8px;
    box-sizing: border-box;
  }
  
  
  /* Ensure all containers respect viewport width */
  section,
  .creator-cards,
  .creators-grid {
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  
  /* Header section - stack vertically on mobile */
  .main-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 0 4px !important;
    margin-bottom: 20px !important;
    align-items: center !important;
  }
  
  /* Hide the spacer on mobile */
  .header-spacer {
    display: none !important;
  }
  
  /* Title adjustments for mobile */
  .main-title {
    font-size: 28px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 !important;
    width: 100% !important;
    order: 1;
    font-weight: 700 !important;
    padding: 0 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .title-subtitle {
    font-size: 16px !important;
    display: block;
    margin-top: 4px !important;
    line-height: 1.4 !important;
    color: #6b7280 !important;
  }
  
  /* Button container - center and stack */
  .header-buttons {
    display: flex !important;
    gap: 10px !important;
    justify-content: center !important;
    width: 100% !important;
    order: 2;
    flex-wrap: wrap !important;
  }
  
  /* Button sizing for mobile */
  .btn-secondary,
  .btn-signup {
    padding: 11px 24px !important;
    font-size: 15px !important;
    flex: 1;
    max-width: 160px;
    font-weight: 600 !important;
    border-radius: 12px !important;
  }
  
  /* Section padding for mobile - reduce to give more space for cards */
  section {
    padding: 8px !important;
    margin: 8px auto !important;
  }
  
  /* Ensure creator cards use full available width with minimal margins */
  .creator-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  /* Reduce gap between cards on mobile */
  .creators-grid {
    gap: 16px !important;
  }
  
  /* Filter bar adjustments - improved padding and spacing */
  .filter-bar {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 20px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 20px !important;
  }
  
  /* Filter group spacing */
  .filter-group {
    gap: 8px !important;
  }
  
  /* Filter label improvements */
  .filter-label {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 6px !important;
    color: #374151 !important;
    height: auto !important;
  }
  
  .filter-icon {
    width: 16px !important;
    height: 16px !important;
  }
  
  /* Filter inputs full width on mobile - improved sizing */
  .filter-input,
  .region-btn {
    width: 100% !important;
    min-width: auto !important;
    padding: 14px 16px !important;
    font-size: 15px !important;
    border-radius: 12px !important;
    border-width: 1.5px !important;
  }
  
  /* Price display adjustments */
  .price-display {
    font-size: 17px !important;
    font-weight: 600 !important;
  }
  
  /* Creator cards adjustments */
  .creator-card {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  
  /* Creator card images - maintain aspect ratio, no fixed height */
  .creator-card img[data-role="header"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 16px 16px 0 0 !important;
  }
  
  /* Ensure grid items don't overflow */
  .creators-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  
  /* Match and clear buttons on mobile - improved sizing */
  .match-btn,
  .clear-filters-btn {
    width: 100% !important;
    padding: 16px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    min-height: 52px !important;
  }
  
  /* Ensure proper text wrapping */
  .main-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Split main title into 2 lines on mobile */
  .main-title .mobile-break {
    display: inline;
  }
  
  .main-title .mobile-break::before {
    content: "\A";
    white-space: pre;
  }
  
  /* Better spacing for filter groups */
  .filter-group {
    margin-bottom: 0;
  }
  
  /* Ensure touch targets are at least 44px */
  button,
  .region-btn,
  .filter-input {
    min-height: 48px;
  }
  
  /* Price slider improvements */
  .price-slider-container {
    padding: 4px 0;
  }
  
  .price-labels {
    font-size: 14px !important;
    margin-bottom: 8px !important;
  }
  
  .slider-inputs {
    margin-bottom: 12px !important;
  }
  
  .slider-inputs input {
    font-size: 15px !important;
    padding: 8px 12px !important;
  }
  
  /* Region dropdown improvements */
  .region-label {
    font-size: 15px !important;
  }
  
  .region-item {
    padding: 12px 14px !important;
    font-size: 15px !important;
  }
  
  /* Date input styling for mobile - ensure calendar picker icon is visible */
  input[type="date"] {
    font-size: 16px; /* Prevents zoom on iOS */
    padding-right: 40px;
  }
  
  /* Make calendar icon larger and more visible on mobile */
  input[type="date"]::-webkit-calendar-picker-indicator {
    width: 28px;
    height: 28px;
    opacity: 0.6;
  }
  
  input[type="date"]:disabled::-webkit-calendar-picker-indicator {
    opacity: 0.4;
  }
  
  /* Better text readability on mobile */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  
  /* Ensure price values are never cut off in creator cards */
  /* Mobile: Keep 2 columns for prices (same as desktop) */
  .creator-prices-container {
    grid-template-columns: 1fr 1fr !important;
    gap: 6px 8px !important;
  }
  
  /* Ensure price items don't overflow */
  .creator-price-item {
    min-width: 0;
    overflow: visible;
    width: 100%;
  }
  
  /* Keep price labels on one line - cards are now wider */
  .creator-price-label {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }
  
  /* Align price value to center */
  .creator-price-value {
    align-self: center;
  }
  
  /* Reduce font size slightly to help fit on one line */
  .creator-price-item {
    font-size: 10px !important;
  }
  
  /* Ensure price values are always fully visible and never cut off */
  .creator-price-value {
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: fit-content !important;
    max-width: none !important;
    flex-shrink: 0 !important;
  }
  
  /* Scroll to top button on mobile */
  .scroll-to-top {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  body {
    padding: 6px;
  }
  
  .main-header {
    padding: 0 2px !important;
    gap: 10px !important;
  }
  
  .main-title {
    font-size: 26px !important;
    line-height: 1.35 !important;
    padding: 0 4px !important;
  }
  
  /* Show line break in title on mobile */
  .main-title .mobile-break {
    display: inline;
  }
  
  .title-subtitle {
    font-size: 15px !important;
    margin-top: 3px !important;
  }
  
  .header-buttons {
    gap: 8px !important;
  }
  
  
  .btn-secondary,
  .btn-signup {
    padding: 11px 20px !important;
    font-size: 14px !important;
    max-width: 150px;
  }
  
  section {
    padding: 6px !important;
    margin: 6px auto !important;
  }
  
  .filter-bar {
    gap: 12px !important; /* Reduced gap between filter groups on mobile */
    padding: 18px 14px !important;
  }
  
  .filter-group {
    gap: 7px !important;
  }
  
  /* Reduce space between price slider and hashtag sections */
  .price-slider + .filter-group {
    margin-top: -6px !important; /* Reduce space after price slider */
  }
  
  .filter-label {
    font-size: 13px !important;
  }
  
  .filter-input,
  .region-btn {
    padding: 13px 14px !important;
    font-size: 14px !important;
  }
  
  /* Ensure hashtag dropdown matches other dropdowns on mobile */
  #hashtagDropdown .region-btn {
    /* Use standard mobile padding like other dropdowns */
    padding: 13px 14px !important;
  }
  
  #hashtagSearchInput {
    font-size: 14px !important;
    padding: 0 !important; /* Button already has padding */
  }
  
  #hashtagDropdown .region-chevron {
    /* Match standard chevron margin on mobile */
    margin-left: 6px !important;
    margin-right: 0 !important;
  }
  
  /* Mobile Slider Design - Reduced Spacing */
  .price-slider {
    gap: 1px !important; /* Minimal gap between label and slider on mobile */
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .price-slider .filter-label {
    margin-bottom: 0px !important; /* No margin below label on mobile */
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Mobile slider container - compact design */
  .slider-container {
    height: 40px !important; /* Reduced height on mobile */
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }
  
  .creator-card {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Creator card images - maintain aspect ratio */
  .creator-card img[data-role="header"] {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    object-fit: cover !important;
  }
  
  /* Match and clear buttons on mobile */
  .match-btn,
  .clear-filters-btn {
    width: 100% !important;
    padding: 15px 18px !important;
    font-size: 15px !important;
    min-height: 50px !important;
  }
}

/* Region Dropdown */
.region-dropdown { 
  position: relative; 
  width: 100%; 
}

.region-btn { 
  width: 100%; 
  min-width: 180px;
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  padding: 12px 16px; 
  border: 2px solid #e5e7eb; 
  border-radius: 10px; 
  background: #fff; 
  font-size: 15px; 
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

/* Hashtag dropdown - ensure it matches other dropdowns exactly */
#hashtagDropdown .region-btn {
  /* Use standard padding like other dropdowns */
  padding: 12px 16px !important;
  justify-content: space-between !important; /* Match other dropdowns */
}

#hashtagSearchInput {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  padding: 0 !important; /* Button already has padding */
  font-size: 15px !important;
  direction: rtl !important;
  outline: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

#hashtagSearchInput::placeholder {
  color: #9ca3af !important; /* Match placeholder color of other dropdowns */
}

/* Ensure hashtag chevron is positioned like other dropdowns */
#hashtagDropdown .region-chevron {
  /* Match standard chevron margin */
  margin-left: 6px !important;
  margin-right: 0 !important;
  flex-shrink: 0 !important;
}

.region-btn:hover {
  border-color: #f9a8d4;
  background: #fdf2f8;
}

.region-btn:focus { 
  outline: none; 
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
  border-color: #ec4899; 
  background: #fdf2f8;
}

.region-label { 
  font-size: 15px;
  font-weight: 400;
  color: #1f2937;
}

.region-label.placeholder { 
  color: #9ca3af; 
}

.region-menu { 
  position: absolute; 
  z-index: 9999; 
  top: calc(100% + 4px); 
  left: 0; 
  right: 0; 
  background: #fff; 
  border: 1px solid #fce7f3; 
  border-radius: 8px; 
  box-shadow: 0 10px 25px rgba(236, 72, 153, 0.1); 
  padding: 6px 0; 
  display: none; 
}

.region-menu.open { 
  display: block; 
}

.region-search { 
  width: 100%; 
  border: none; 
  border-bottom: 1px solid #eee; 
  padding: 10px 12px; 
  font-size: 14px; 
}

.region-search:focus { 
  outline: none; 
}

.region-list { 
  max-height: 220px; 
  overflow-y: auto; 
  padding: 6px; 
}

.region-item { 
  display: flex; 
  align-items: center; 
  gap: 0; 
  padding: 8px 10px; 
  border-radius: 6px; 
  cursor: pointer; 
}

.region-item input[type="checkbox"] { 
  pointer-events: none; 
}

.region-item input[type="radio"] { 
  pointer-events: none;
  display: none;
}

.region-item:hover { 
  background: #fdf2f8; 
}

.region-chevron { 
  width: 16px; 
  height: 16px; 
  color: #9ca3af; 
  margin-left: 6px; 
}

.filter-group {
  direction: rtl;
}

.price-slider-container {
  direction: rtl;
  font-family: Arial, sans-serif;
  width: 100%;
}

.price-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5em;
  font-weight: 600;
  font-size: 15px;
  color: #374151;
}

.slider-inputs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1em;
}

.slider-inputs input {
  width: 48%;
  font-size: 1rem;
  text-align: center;
  padding: 0.3em;
  border: 1px solid #ccc;
  border-radius: 4px;
  direction: ltr;
}

.slider-rail {
  position: relative;
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
}

.slider-track {
  position: absolute;
  height: 100%;
  background: linear-gradient(90deg, #ec4899, #f472b6);
  border-radius: 3px;
}

.slider-thumb {
  position: absolute;
  top: -8px;
  width: 20px;
  height: 20px;
  background-color: white;
  border: 3px solid #ec4899;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.3);
  transition: all 0.2s ease;
}

.slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(236, 72, 153, 0.4);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px; /* RTL: left side for Hebrew */
  width: 48px;
  height: 48px;
  background: #ec4899;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #db2777;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(236, 72, 153, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.scroll-to-top svg {
  width: 24px;
  height: 24px;
}

/* Preloader */
.preloader {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, #f8e8e8 0%, #ffe4e1 50%, #fff0f5 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10000 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  overflow: hidden;
}

.preloader::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: sparkleBackground 20s linear infinite;
}

@keyframes sparkleBackground {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

#preloader.preloader.hidden,
.preloader.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader-content {
  text-align: center;
  color: #8b4a6b;
  position: relative;
  z-index: 1;
}

.preloader-animation {
  width: 280px;
  height: 320px;
  margin: 0 auto 30px;
  position: relative;
}

.bride-preloader {
  width: 100%;
  height: 100%;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(139, 74, 107, 0.2));
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}

/* Sparkles */
.sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

.sparkle-1 {
  animation-delay: 0s;
}

.sparkle-2 {
  animation-delay: 0.5s;
}

.sparkle-3 {
  animation-delay: 1s;
}

.sparkle-4 {
  animation-delay: 1.5s;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

/* Hair animations */
.hair-loose {
  animation: hairShine 3s ease-in-out infinite;
  transform-origin: center top;
}

@keyframes hairShine {
  0%, 100% {
    filter: brightness(1);
    transform: translateY(0) rotate(0deg);
  }
  25% {
    filter: brightness(1.15);
    transform: translateY(-1px) rotate(0.5deg);
  }
  50% {
    filter: brightness(1.2);
    transform: translateY(0) rotate(0deg);
  }
  75% {
    filter: brightness(1.15);
    transform: translateY(-1px) rotate(-0.5deg);
  }
}

.hair-base {
  animation: hairSway 3.5s ease-in-out infinite;
  transform-origin: center 100px;
}

@keyframes hairSway {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  25% {
    transform: translateX(2px) translateY(-1px) rotate(1deg);
  }
  50% {
    transform: translateX(0) translateY(0) rotate(0deg);
  }
  75% {
    transform: translateX(-2px) translateY(-1px) rotate(-1deg);
  }
}

/* Loose hair animations - flowing strands that move naturally */
.hair-strand {
  transform-origin: top center;
  animation: hairFlow 2.5s ease-in-out infinite;
}

.strand-1 { animation: hairFlow 2.6s ease-in-out infinite; animation-delay: 0s; }
.strand-2 { animation: hairFlow 2.4s ease-in-out infinite; animation-delay: 0.1s; }
.strand-3 { animation: hairFlow 2.7s ease-in-out infinite; animation-delay: 0.2s; }
.strand-4 { animation: hairFlow 2.3s ease-in-out infinite; animation-delay: 0.15s; }
.strand-5 { animation: hairFlow 2.5s ease-in-out infinite; animation-delay: 0.05s; }
.strand-6 { animation: hairFlow 2.8s ease-in-out infinite; animation-delay: 0.25s; }
.strand-7 { animation: hairFlow 2.4s ease-in-out infinite; animation-delay: 0.1s; }
.strand-8 { animation: hairFlow 2.6s ease-in-out infinite; animation-delay: 0.2s; }
.strand-9 { animation: hairFlow 2.3s ease-in-out infinite; animation-delay: 0.3s; }
.strand-10 { animation: hairFlow 2.5s ease-in-out infinite; animation-delay: 0.05s; }
.strand-11 { animation: hairFlow 2.7s ease-in-out infinite; animation-delay: 0.15s; }
.strand-12 { animation: hairFlow 2.4s ease-in-out infinite; animation-delay: 0.2s; }
.strand-13 { animation: hairFlow 2.6s ease-in-out infinite; animation-delay: 0.1s; }
.strand-14 { animation: hairFlow 2.5s ease-in-out infinite; animation-delay: 0.25s; }
.strand-15 { animation: hairFlow 2.3s ease-in-out infinite; animation-delay: 0.3s; }
.strand-16 { animation: hairFlow 2.7s ease-in-out infinite; animation-delay: 0.15s; }
.strand-17 { animation: hairFlow 2.4s ease-in-out infinite; animation-delay: 0.2s; }
.strand-18 { animation: hairFlow 2.6s ease-in-out infinite; animation-delay: 0.1s; }
.strand-19 { animation: hairFlow 2.5s ease-in-out infinite; animation-delay: 0.25s; }
.strand-20 { animation: hairFlow 2.3s ease-in-out infinite; animation-delay: 0.3s; }

@keyframes hairFlow {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translateX(4px) translateY(2px) rotate(3deg);
    opacity: 0.96;
  }
  50% {
    transform: translateX(0) translateY(0) rotate(0deg);
    opacity: 1;
  }
  75% {
    transform: translateX(-4px) translateY(2px) rotate(-3deg);
    opacity: 0.96;
  }
}

.hair-shine {
  animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
  0%, 100% {
    opacity: 0.4;
    transform: translateX(0);
  }
  50% {
    opacity: 0.9;
    transform: translateX(3px);
  }
}

/* Veil and Tiara */
.veil-tiara {
  animation: veilFloat 4s ease-in-out infinite;
}

@keyframes veilFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

.tiara-gem {
  animation: gemSparkle 1.5s ease-in-out infinite;
}

@keyframes gemSparkle {
  0%, 100% {
    opacity: 0.7;
    fill: #ffd700;
  }
  50% {
    opacity: 1;
    fill: #fff;
  }
}

.veil {
  animation: veilWave 3s ease-in-out infinite;
}

@keyframes veilWave {
  0%, 100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.5;
  }
}

/* Face */
.face {
  animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Eyes */
.eyes {
  animation: eyesBlink 4s ease-in-out infinite;
}

@keyframes eyesBlink {
  0%, 90%, 100% {
    transform: scaleY(1);
  }
  92%, 94% {
    transform: scaleY(0.1);
  }
}

.eyelash {
  animation: lashFlutter 2s ease-in-out infinite;
}

@keyframes lashFlutter {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Blush */
.blush {
  animation: blushGlow 2s ease-in-out infinite;
}

@keyframes blushGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

/* Lips */
.lips {
  animation: lipsShine 2.5s ease-in-out infinite;
}

@keyframes lipsShine {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

.lips-gloss {
  animation: glossShine 1.5s ease-in-out infinite;
}

@keyframes glossShine {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Makeup brush */
.makeup-brush {
  animation: makeupApply 2.5s ease-in-out infinite;
  transform-origin: 245px 142px;
}

@keyframes makeupApply {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(35deg);
  }
  25% {
    transform: translateX(-8px) translateY(-5px) rotate(30deg);
  }
  50% {
    transform: translateX(-15px) translateY(-8px) rotate(25deg);
  }
  75% {
    transform: translateX(-8px) translateY(-5px) rotate(30deg);
  }
}

.particle {
  animation: particleFloat 2s ease-in-out infinite;
}

.particle-1 {
  animation-delay: 0s;
}

.particle-2 {
  animation-delay: 0.3s;
}

.particle-3 {
  animation-delay: 0.6s;
}

.particle-4 {
  animation-delay: 0.2s;
}

.particle-5 {
  animation-delay: 0.5s;
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(0) scale(0);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-10px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-20px) scale(0);
  }
}

/* Hair brush */
.hair-brush {
  animation: hairStyle 2.2s ease-in-out infinite;
  transform-origin: 62.5px 122px;
}

@keyframes hairStyle {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(-25deg);
  }
  25% {
    transform: translateX(5px) translateY(-3px) rotate(-20deg);
  }
  50% {
    transform: translateX(10px) translateY(-6px) rotate(-15deg);
  }
  75% {
    transform: translateX(5px) translateY(-3px) rotate(-20deg);
  }
}

.bristle {
  animation: bristleMove 1.5s ease-in-out infinite;
}

@keyframes bristleMove {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(1px);
  }
}

.hair-particle {
  animation: hairParticleFloat 2.5s ease-in-out infinite;
}

@keyframes hairParticleFloat {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0);
  }
  50% {
    opacity: 0.6;
    transform: translate(-5px, -8px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-10px, -15px) scale(0);
  }
}

/* Eyeliner brush */
.eyeliner-brush {
  animation: eyelinerApply 2.8s ease-in-out infinite;
  transform-origin: 238px 115px;
}

@keyframes eyelinerApply {
  0%, 100% {
    transform: translateX(0) translateY(0) rotate(-20deg);
  }
  25% {
    transform: translateX(-6px) translateY(-4px) rotate(-15deg);
  }
  50% {
    transform: translateX(-12px) translateY(-6px) rotate(-10deg);
  }
  75% {
    transform: translateX(-6px) translateY(-4px) rotate(-15deg);
  }
}

.preloader-text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: 'Heebo', sans-serif;
  color: #8b4a6b;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.preloader-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.preloader-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  animation: dotBounce 1.4s ease-in-out infinite;
}

.preloader-dots span:nth-child(1) {
  animation-delay: 0s;
}

.preloader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.preloader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Form Preloader - for signup/forms */
.form-preloader {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 8px;
}

.form-preloader-content {
  text-align: center;
  color: #8b4a6b;
}

.form-preloader-spinner {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  border: 4px solid #f3f4f6;
  border-top-color: #ec4899;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-preloader-text {
  font-size: 16px;
  font-weight: 600;
  color: #8b4a6b;
  margin: 0;
}

/* Info icon with tooltip */
.info-icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.info-icon {
  width: 18px;
  height: 18px;
  color: #6b7280;
  cursor: help;
  transition: color 0.2s ease;
}

.info-icon-wrapper:hover .info-icon {
  color: #ec4899;
}

.info-tooltip {
  position: absolute;
  bottom: 100%;
  right: 50%;
  transform: translateX(50%);
  margin-bottom: 8px;
  padding: 6px 12px;
  background: #1f2937;
  color: white;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  right: 50%;
  transform: translateX(50%);
  border: 5px solid transparent;
  border-top-color: #1f2937;
}

.info-icon-wrapper:hover .info-tooltip {
  opacity: 1;
  visibility: visible;
}


@keyframes dotBounce {
  0%, 80%, 100% {
    transform: scale(0.8) translateY(0);
    opacity: 0.6;
  }
  40% {
    transform: scale(1.3) translateY(-8px);
    opacity: 1;
  }
}
