/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *
 *= require_tree .
 *= require_self
 */

/* Override Tagify's styles */
.tagify {
  /* default (blue) */
  --tag-bg: #e8e9ff !important;
  --tag-text-color: #3a43c9 !important;
  --tag-remove-btn-color: #3a43c9 !important;
  --tag-remove-btn-bg: transparent !important;
  --tag-remove-btn-bg--hover: #3a43c9 !important;
  --tag-pad: 0.1em 0.5em !important;
}

.tagify__tag .tagify__tag-text::before {
  content: none;
}

/* tighter vertical spacing between rows */
.tagify__tag {
  margin-top: 2px !important;
  margin-bottom: 2px !important;
}

/* ensure text/bg use our vars */
.tagify__tag > div {
  color: var(--tag-text-color) !important;
}
.tagify__tag > div::before {
  box-shadow: 0 0 0 var(--tag-inset-shadow-size) var(--tag-bg) inset !important;
}

/* =========================
   Invalid (regex fail)
   Tagify uses these classes:
   - .tagify--notAllowed on the tag
   - .tagify--invalid while editing
   ========================= */
.tagify__tag.tagify--notAllowed,
.tagify__tag--editable.tagify--invalid {
  --tag-bg: #FEEBEB !important;
  --tag-text-color: #DF2325 !important;
  --tag-remove-btn-color: #DF2325 !important;
  --tag-remove-btn-bg--hover: #DF2325 !important;
}
.tagify__tag.tagify--notAllowed > div,
.tagify__tag--editable.tagify--invalid > div {
  color: #DF2325 !important;
}
.tagify__tag.tagify--notAllowed > div::before,
.tagify__tag--editable.tagify--invalid > div::before {
  box-shadow: 0 0 0 var(--tag-inset-shadow-size) #FEEBEB inset !important;
}

/* Invalid (red) – icon BEFORE the text */
.tagify__tag.tagify--notAllowed .tagify__tag-text::before,
.tagify__tag--editable.tagify--invalid .tagify__tag-text::before {
  content: "\26A0\FE0E";             /* ❌ */
  display: inline-block;
  margin-right: 6px;
  font-size: 0.9em;
  line-height: 1;
  vertical-align: middle;
  color: #DF2325;
}

/* =========================
   Already-in-use (warning)
   add class .tagify__tag--warning in JS
   ========================= */
.tagify__tag--warning {
  --tag-bg: #FFEEC6 !important;
  --tag-text-color: #F98707 !important;
  --tag-remove-btn-color: #F98707 !important;
  --tag-remove-btn-bg--hover: #F98707 !important;
}
.tagify__tag--warning > div {
  color: #F98707 !important;
}
.tagify__tag--warning > div::before {
  box-shadow: 0 0 0 var(--tag-inset-shadow-size) #FFEEC6 inset !important;
}

/* optional: make hover state for the "×" use our hover var + white glyph */
.tagify__tag__removeBtn:hover {
  background: var(--tag-remove-btn-bg--hover) !important;
  color: #fff !important;
}

/* Duplicate/Warning (yellow) – icon BEFORE the text */
.tagify__tag--warning .tagify__tag-text::before {
  content: "\26A0\FE0E";        /* ⚠ text style */
  display: inline-block;
  margin-right: 6px;
  font-size: 0.95em;
  line-height: 1;
  vertical-align: middle;
  color: #F98707;
}

/* Multi-select dropdown styles */
.multi-select-dropdown {
  position: relative;
}

.multi-select-dropdown button {
  position: relative;
  text-align: left;
  background: white;
  cursor: pointer;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  transition: all 0.15s ease-in-out;
}

.multi-select-dropdown button:hover {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.multi-select-dropdown button:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.multi-select-dropdown .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-height: 300px;
  overflow-y: auto;
  margin-top: 4px;
}

.multi-select-dropdown .dropdown-content input[type="text"] {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 14px;
  color: #374151;
  background: white;
  transition: all 0.15s ease-in-out;
}

.multi-select-dropdown .dropdown-content input[type="text"]:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.multi-select-dropdown .dropdown-content input[type="text"]::placeholder {
  color: #9ca3af;
}

.multi-select-dropdown .dropdown-content label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  border-bottom: 1px solid #f3f4f6;
  border-radius: 8px;
  margin: 2px 0;
}

.multi-select-dropdown .dropdown-content label:last-child {
  border-bottom: none;
}

.multi-select-dropdown .dropdown-content label:hover {
  background-color: #f9fafb;
}

.multi-select-dropdown .dropdown-content input[type="checkbox"] {
  margin-left: 10px;
  cursor: pointer;
  width: 16px;
  height: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  background: transparent;
  position: relative;
  transition: all 0.15s ease-in-out;
}

.multi-select-dropdown .dropdown-content input[type="checkbox"]:checked {
  background: transparent;
  border: none;
  position: relative;
}

.multi-select-dropdown .dropdown-content input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #4c55db;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
}

.multi-select-dropdown .dropdown-content input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none;
}

/* Selected state styling */
.multi-select-dropdown .dropdown-content label input[type="checkbox"]:checked + span,
.multi-select-dropdown .dropdown-content label:has(input[type="checkbox"]:checked) {
  background-color: rgba(59, 130, 246, 0.1);
  border: 1px solid #4c55db;
  border-radius: 8px;
}

.multi-select-dropdown .dropdown-content span {
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  color: #374151;
  line-height: 1.4;
  flex: 1;
}

/* Display text truncation */
.multi-select-dropdown button span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 24px; /* Space for the arrow */
}

/* Dropdown arrow rotation */
.multi-select-dropdown button[aria-expanded="true"] svg {
  transform: translateY(-50%) rotate(180deg);
  transition: transform 0.15s ease-in-out;
}

.multi-select-dropdown button svg {
  transition: transform 0.15s ease-in-out;
}

/* Scrollbar styling for dropdown */
.multi-select-dropdown .dropdown-content::-webkit-scrollbar {
  width: 6px;
}

.multi-select-dropdown .dropdown-content::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.multi-select-dropdown .dropdown-content::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.multi-select-dropdown .dropdown-content::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Date range picker - target the custom alt input class */
.date-range-picker-input {
  color: #374151 !important;
  background: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 12px !important;
  font-family: 'Sarabun', sans-serif !important;
  width: 100% !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
}

/* More specific selectors to override Flatpickr's text color */
input.date-range-picker-input,
input[class*="date-range-picker-input"],
.flatpickr-input.date-range-picker-input {
  color: #374151 !important;
}

/* Even more specific - target by data attribute */
input[data-date-range-picker-target="rangeInput"] {
  color: #374151 !important;
}

/* Ultra-specific selectors to override Flatpickr */
body input.date-range-picker-input,
body input[class*="date-range-picker-input"],
body .flatpickr-input.date-range-picker-input,
input[type="text"].date-range-picker-input,
input[readonly].date-range-picker-input {
  color: #374151 !important;
}

/* Target the actual Flatpickr generated input */
.flatpickr-input[class*="date-range-picker-input"] {
  color: #374151 !important;
}


@media (min-width: 640px) {
  .date-range-picker-input {
    font-size: 14px !important;
  }
}

.date-range-picker-input:hover {
  border: 1px solid rgba(16, 185, 129, 0.5) !important;
  box-shadow: 0 0 0 1px #d1d5db, 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
}

.date-range-picker-input:focus {
  outline: none !important;
  border: 1px solid rgba(61, 194, 162, 0.5) !important;
  box-shadow: 0 0 0 1px #d1d5db, 0 0 0 2px rgba(61, 194, 162, 0.2) !important;
}

.date-range-picker-input::placeholder {
  color: #1e2543 !important;
}

/* More specific placeholder selectors */
input.date-range-picker-input::placeholder,
input[class*="date-range-picker-input"]::placeholder,
.flatpickr-input.date-range-picker-input::placeholder,
body input.date-range-picker-input::placeholder {
  color: #1e2543 !important;
}

/* Flatpickr custom styling */
.flatpickr-calendar {
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.flatpickr-calendar.open {
  z-index: 9999 !important;
}

/* Ensure calendar positions relative to input */
.flatpickr-calendar.arrowTop:before,
.flatpickr-calendar.arrowTop:after {
  border-bottom-color: #e5e7eb !important;
}

.flatpickr-calendar.arrowBottom:before,
.flatpickr-calendar.arrowBottom:after {
  border-top-color: #e5e7eb !important;
}

/* Range selection styling */
.flatpickr-day.selected.startRange,
.flatpickr-day.selected.endRange,
.flatpickr-day.selected.startRange:hover,
.flatpickr-day.selected.endRange:hover {
  background: #4c55db !important;
  border-color: #4c55db !important;
  color: white !important;
  border-radius: 6px !important;
}

/* Additional range classes that might be missing */
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
  background: #4c55db !important;
  border-color: #4c55db !important;
  color: white !important;
  border-radius: 6px !important;
}

.flatpickr-day.selected {
  background: #4c55db !important;
  border-color: #4c55db !important;
  color: white !important;
  border-radius: 6px !important;
}

.flatpickr-day.selected:hover {
  background: #4c55db !important;
  border-color: #4c55db !important;
  color: white !important;
}

.flatpickr-day.inRange {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
  border-radius: 0 !important;
}

.flatpickr-day.inRange:hover {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

/* Ensure in-range styles override any default Flatpickr styles */
.flatpickr-calendar .flatpickr-day.inRange {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

.flatpickr-calendar .flatpickr-day.inRange:hover {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

/* Additional in-range classes that might exist */
.flatpickr-day.inRange:not(.startRange):not(.endRange) {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

.flatpickr-day.inRange:not(.startRange):not(.endRange):hover {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

/* Override any potential conflicting styles */
.flatpickr-day[class*="inRange"] {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

.flatpickr-day[class*="inRange"]:hover {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

/* Month navigation */
.flatpickr-prev-month,
.flatpickr-next-month {
  color: #6b7280 !important;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
  color: #374151 !important;
}

/* Month/year display */
.flatpickr-current-month {
  font-weight: 600 !important;
  color: #1f2937 !important;
}

/* Day labels */
.flatpickr-weekday {
  color: #6b7280 !important;
  font-weight: 500 !important;
}

/* Day cells */
.flatpickr-day {
  border-radius: 4px !important;
  font-weight: 400 !important;
}

.flatpickr-day:hover:not(.inRange):not(.selected):not(.startRange):not(.endRange) {
  background: #f3f4f6 !important;
  border-color: #f3f4f6 !important;
}

/* Ensure no other classes override our in-range styling */
.flatpickr-day.inRange:not(.startRange):not(.endRange):not(.selected) {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

.flatpickr-day.inRange:not(.startRange):not(.endRange):not(.selected):hover {
  background: #e8e9ff !important;
  border-color: #e8e9ff !important;
  color: #1f2937 !important;
}

/* Disabled dates */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  color: #d1d5db !important;
  background: transparent !important;
  border-color: transparent !important;
}

/* Today */
.flatpickr-day.today {
  border-color: #4c55db !important;
  color: #4c55db !important;
  font-weight: 600 !important;
}

.flatpickr-day.today:hover {
  background: #4c55db !important;
  color: white !important;
}

/* Custom footer styling */
.flatpickr-footer {
  border-top: 1px solid #e5e7eb !important;
  background: #f9fafb !important;
  border-radius: 0 0 8px 8px !important;
}

.flatpickr-footer button {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  transition: all 0.15s ease-in-out !important;
}

.flatpickr-footer button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* =========================
   Responsive Font Scaling
   ========================= */
/* Responsive scaling for mobile/tablet screens */
@media screen and (max-width: 1023px) {
  /* Slightly smaller text on mobile/tablet for better fit */
  html {
    font-size: 14px; /* Base font size reduced from default 16px */
  }
}

@media screen and (max-width: 767px) {
  /* Even smaller text on small mobile screens */
  html {
    font-size: 13px; /* Further reduced for very small screens */
  }
}

/* Responsive utilities for pixel-based font sizes */
@media screen and (max-width: 1023px) {
  /* Scale down all text-[XXpx] classes by ~15% on tablets */
  .text-\[12px\] { font-size: 10px !important; }
  .text-\[13px\] { font-size: 11px !important; }
  .text-\[14px\] { font-size: 12px !important; }
  .text-\[15px\] { font-size: 13px !important; }
  .text-\[16px\] { font-size: 14px !important; }
  .text-\[17px\] { font-size: 15px !important; }
  .text-\[18px\] { font-size: 16px !important; }
  .text-\[19px\] { font-size: 17px !important; }
  .text-\[20px\] { font-size: 18px !important; }
  .text-\[21px\] { font-size: 19px !important; }
  .text-\[22px\] { font-size: 20px !important; }
  .text-\[24px\] { font-size: 22px !important; }
  .text-\[26px\] { font-size: 24px !important; }
  .text-\[28px\] { font-size: 26px !important; }
  .text-\[30px\] { font-size: 28px !important; }
  .text-\[32px\] { font-size: 30px !important; }
}

@media screen and (max-width: 767px) {
  /* Scale down even more on small mobile screens */
  .text-\[12px\] { font-size: 9px !important; }
  .text-\[13px\] { font-size: 10px !important; }
  .text-\[14px\] { font-size: 11px !important; }
  .text-\[15px\] { font-size: 12px !important; }
  .text-\[16px\] { font-size: 13px !important; }
  .text-\[17px\] { font-size: 14px !important; }
  .text-\[18px\] { font-size: 15px !important; }
  .text-\[19px\] { font-size: 16px !important; }
  .text-\[20px\] { font-size: 17px !important; }
  .text-\[21px\] { font-size: 18px !important; }
  .text-\[22px\] { font-size: 19px !important; }
  .text-\[24px\] { font-size: 21px !important; }
  .text-\[26px\] { font-size: 23px !important; }
  .text-\[28px\] { font-size: 25px !important; }
  .text-\[30px\] { font-size: 27px !important; }
  .text-\[32px\] { font-size: 29px !important; }
}

/* Mobile edge-to-edge fix */
@media screen and (max-width: 639px) {
  .mobile-edge-fix {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    width: calc(100% + 3rem) !important;
  }
  
  /* Mobile full-width button fix */
  .mobile-full-width-button {
    margin-left: -1.5rem !important;
    margin-right: -1.5rem !important;
    width: calc(100% + 3rem) !important;
  }
  
  .mobile-full-width-button > div {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  /* Prevent horizontal scrolling on mobile */
  body {
    overflow-x: hidden !important;
  }
  
  .main-content {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
}

/* =========================
   Join Project Banner Styles
   ========================= */
.join-project-banner {
  background-image: url("/assets/join_project_banner_background_image-4f731b48.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  min-height: 400px;
  position: relative;
}

.join-project-background {
  background-image: url("/assets/join_project_banner_background_image-4f731b48.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.join-project-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-title {
  font-size: 28px;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 900px;
}

.hero-subtitle {
  font-size: 16px;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

.hero-button {
  font-size: 16px;
  padding: 12px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for join project banner */
@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: 24px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .hero-button {
    font-size: 15px;
    padding: 10px 28px;
  }
}

@media screen and (max-width: 768px) {
  .join-project-banner {
    min-height: 350px;
  }
  
  .hero-content {
    min-height: 350px;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 20px;
    margin-bottom: 1rem;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 1.5rem;
  }
  
  .hero-button {
    font-size: 14px;
    padding: 10px 24px;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 18px;
  }
  
  .hero-subtitle {
    font-size: 13px;
  }
  
  .hero-button {
    font-size: 13px;
    padding: 8px 20px;
  }
}
/* Google Maps Autocomplete Input Constraints */
[data-google-maps-target="autocompleteContainer"] input[type="text"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-family: 'Sarabun', sans-serif !important;
  color: #1f2937 !important;
}

[data-google-maps-target="autocompleteContainer"] {
  position: relative !important;
  overflow: visible !important;
  z-index: 10 !important;
}

.pac-container input[type="text"],
.pac-target-input {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 12px !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-family: 'Sarabun', sans-serif !important;
  color: #1f2937 !important;
}

/* Google Maps Autocomplete Dropdown Styling */
.pac-container {
  background-color: white !important;
  border: 1px solid #d1d5db !important;
  border-radius: 8px !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  margin-top: 4px !important;
  max-height: 300px !important;
  overflow-y: auto !important;
  position: absolute !important;
  z-index: 9999 !important;
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Prevent full-screen overlay */
.pac-container:before,
.pac-container:after {
  display: none !important;
  content: none !important;
}

.pac-container {
  background: white !important;
  background-color: white !important;
  background-image: none !important;
}

body.pac-container-open,
html.pac-container-open {
  overflow: visible !important;
  position: static !important;
}

/* Ensure map container doesn't interfere with autocomplete dropdown */
[data-google-maps-target="map"] {
  z-index: 1 !important;
  position: relative !important;
}

/* Additional styling to ensure autocomplete appears above everything */
.pac-container.pac-logo:after {
  display: none !important;
}

/* Force autocomplete dropdown to appear above all elements */
.pac-container {
  z-index: 99999 !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
}

/* Ensure the autocomplete container creates a stacking context */
[data-google-maps-target="autocompleteContainer"] {
  position: relative !important;
  z-index: 100 !important;
  isolation: isolate !important;
}

.pac-container-overlay,
.pac-container-backdrop {
  display: none !important;
}

/* Style individual suggestions */
.pac-item {
  padding: 12px 16px !important;
  border-bottom: 1px solid #f3f4f6 !important;
  cursor: pointer !important;
  font-family: 'Sarabun', sans-serif !important;
  font-size: 14px !important;
  color: #374151 !important;
  transition: background-color 0.15s ease-in-out !important;
}

.pac-item:last-child {
  border-bottom: none !important;
}

.pac-item:hover,
.pac-item-selected {
  background-color: #f9fafb !important;
}

/* Style the main text in suggestions */
.pac-item-query {
  font-weight: 500 !important;
  color: #1f2937 !important;
}

/* Style the secondary text in suggestions */
.pac-matched {
  font-weight: 600 !important;
  color: #4c55db !important;
}

/* Mobile-specific fixes */
@media screen and (max-width: 768px) {
  .pac-container {
    position: fixed !important;
    top: auto !important;
    left: 16px !important;
    right: 16px !important;
    width: calc(100% - 32px) !important;
    max-width: calc(100% - 32px) !important;
    max-height: 250px !important;
    z-index: 9999 !important;
  }
}
