#map {
  height: 724px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.business-cards-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 0 15px;
  height: 724px;
  justify-content: space-between;
}

.business-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 412px;
}

.cards-no-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 412px;
}

.no-results {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  color: #666;
  font-style: italic;
}

.no-results p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.5;
}

.show-nearby-btn, .show-filters {
  background-color: var(--color--brand--primary-200);
  color: white;
  border: none;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.show-nearby-btn:hover, .show-filters:hover {
  background-color: #004999;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.show-nearby-btn:active, .show-filters:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (max-width: 480px) {
  .no-results {
    padding: 15px;
  }
  
  .no-results p {
    font-size: 14px;
  }
  
  .show-nearby-btn, .show-filters {
    padding: 10px 20px;
    font-size: 13px;
  }
}

.business-card {
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.business-card.highlighted {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--color--brand--primary-200);
  transform: translateY(-8px);
  border: 4px dashed var(--color--brand--primary-200);
}

.business-card-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.company-name {
  color: #0066cc;
  font-size: 20px;
  margin-bottom: 15px;
  word-break: break-word;
  text-align: left;
}

.contact-info {
  margin-bottom: 15px;
  text-align: left;
  width: 100%;
}

.contact-item {
  margin: 16px 0;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  word-break: break-word;
  font-size: 14px;
}

.contact-icon {
  color: #0066cc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-svg-icon {
  width: 20px;
  height: 20px;
}

.contact-text {
  flex: 1;
}

.social-icons {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  width: 100%;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  color: #0066cc;
  transition: color 0.3s ease;
  background-color: var(--color--brand--primary-200);
  width: 32px;
  height: 32px;
}

.social-icon:hover {
  background-color: #004999;
}

.social-svg-icon {
  width: 20px;
  height: 20px;
  color: white;
}

@media (max-width: 480px) {
  .business-cards-grid {
    max-width: 100%;
    padding: 0 10px;
  }

  .business-card {
    padding: 15px;
  }

  .company-name {
    font-size: 18px;
  }

  .contact-item {
    font-size: 13px;
  }

  .contact-svg-icon {
    width: 18px;
    height: 18px;
  }

  .social-icons {
    gap: 8px;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    margin: 3px;
  }

  .social-svg-icon {
    width: 16px;
    height: 16px;
  }
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  width: 100%;
  max-width: 412px;
  margin-left: auto;
  margin-right: auto;
}

.pagination-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 5px;
  width: 100%;
}

@media (max-width: 480px) {
  .pagination-controls {
    width: 100%;
    justify-content: space-between;
  }
}

.pagination-btn {
  background-color: var(--color--brand--primary-200);
  border: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  font-size: 20px;
  padding: 0;
}

.pagination-btn:disabled {
  background-color: #e0e0e0;
  color: #a0a0a0;
  cursor: not-allowed;
}

.pagination-btn.prev::before {
  content: "←";
}

.pagination-btn.next::before {
  content: "→";
}

.page-indicators {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 10px;
}

@media (max-width: 480px) {
  .page-indicators {
    gap: 3px;
    margin: 0 5px;
  }

  .page-indicator {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .page-indicator.ellipsis::before {
    font-size: 12px;
  }
}

.page-indicator {
  width: 28px;
  height: 28px;
  border: 1px solid #838e9f;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #838e9f;
  font-weight: 500;
}

.page-indicator.active {
  background-color: #33b1ff;
  color: white;
  border-color: #33b1ff;
}

.page-indicator.ellipsis {
  border: none;
  position: relative;
  width: 20px;
  height: 20px;
}

.page-indicator.ellipsis::before {
  content: "...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  color: #838e9f;
  line-height: 0;
}

.page-indicator:not(.ellipsis) {
  cursor: pointer;
}

.map-popup h3 {
  color: #0066cc;
  margin-bottom: 10px;
  font-size: 16px;
}

.map-popup p {
  margin: 5px 0;
  font-size: 14px;
}

.map-popup a {
  color: #0066cc;
  text-decoration: none;
}

.map-popup a:hover {
  text-decoration: underline;
}

/* Autocomplete Styles */
.autocomplete-container {
  position: relative;
}

.autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  margin-top: 5px;
}

.autocomplete-dropdown.show {
  display: block;
}

.autocomplete-item {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover {
  background-color: #f5f9ff;
}

.autocomplete-item .city {
  font-weight: 500;
  color: #333;
}

.autocomplete-item .state {
  color: #666;
  font-size: 0.9em;
  background-color: #f0f0f0;
  padding: 2px 8px;
  border-radius: 4px;
}

.autocomplete-item.active {
  background-color: #e6f0ff;
}

/* Improve scrollbar appearance for the dropdown */
.autocomplete-dropdown::-webkit-scrollbar {
  width: 8px;
}

.autocomplete-dropdown::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

.autocomplete-dropdown::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

select.non-interactive {
  pointer-events: none;
  opacity: 0.6;
  background-color: #f2f2f2;
  cursor: not-allowed;
}

.custom-marker {
  background: transparent;
  border: none;
}

.marker-number {
  background: #0066cc;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.card-header-left {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-pin-number .marker-number {
  background: #0066cc;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.card-distance {
  color: #333;
  font-size: 16px;
  font-weight: 500;
  min-width: 48px;
  text-align: right;
}

@media (max-width: 480px) {
  .card-header-row {
    margin-bottom: 4px;
  }
  .card-pin-number .marker-number {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .card-distance {
    font-size: 13px;
    min-width: 36px;
  }
}

/* === NOVO FILTRO REDE AUTORIZADA === */
.mwm-filtro-novo {
  background: #f6f7fa;
  border-radius: 8px;
  padding: 32px 24px 24px 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  max-width: 100%;
}
.mwm-filtro-novo .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 0;
}
.mwm-filtro-novo .col {
  flex: 1 1 0;
  min-width: 180px;
}
.mwm-filtro-novo label.label-inline {
  font-weight: 600;
  color: #0071ce;
  margin-bottom: 8px;
  display: block;
  font-size: 1.08em;
}
.mwm-filtro-novo .location-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mwm-filtro-novo .location-row select.form-control {
  min-width: 220px;
  max-width: 220px;
  flex: 0 0 220px;
}
.mwm-filtro-novo .cep-location-group {
  display: flex;
  align-items: center;
  flex: 1 1 260px;
  min-width: 200px;
}
.mwm-filtro-novo #cep-or-address {
  width: 100%;
  min-width: 120px;
  flex: 1 1 auto;
}
.mwm-filtro-novo .btn-location {
  margin-left: 4px;
  flex-shrink: 0;
}
.mwm-filtro-novo .ou {
  margin: 0 8px;
  color: #888;
  font-weight: 500;
  font-size: 1em;
}
.mwm-filtro-novo input.form-control,
.mwm-filtro-novo select.form-control {
  border: 1px solid #c7d1e6;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 1em;
  background: #fff;
  color: #222;
  min-width: 120px;
  transition: border 0.2s;
}

/* Add arrow icon ONLY for select fields */
.mwm-filtro-novo select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px auto;
  padding-right: 40px; /* Make room for the arrow */
  cursor: pointer; /* Show pointer cursor for select fields */
  transition: border 0.2s, background-image 0.2s;
}
.mwm-filtro-novo input.form-control:focus,
.mwm-filtro-novo select.form-control:focus {
  border-color: #0071ce;
  outline: none;
}

/* Add hover state for select fields with arrow */
.mwm-filtro-novo select.form-control:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%230071ce' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Add focus state for select fields with arrow */
.mwm-filtro-novo select.form-control:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%230071ce' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.mwm-filtro-novo .btn-location {
  background: none;
  border: none;
  padding: 0 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #0071ce;
  transition: color 0.2s;
}
.mwm-filtro-novo .btn-location:hover {
  color: #005fa3;
}
.mwm-filtro-novo .supplier-profile-row {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.mwm-filtro-novo .profile-btn {
  background: #fff;
  border: 2px solid #0071ce;
  color: #0071ce;
  border-radius: 6px;
  padding: 10px 24px;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.mwm-filtro-novo .profile-btn.active,
.mwm-filtro-novo .profile-btn:focus {
  background: #0071ce;
  color: #fff;
  border-color: #0071ce;
}
.mwm-filtro-novo .profile-btn:not(.active):hover {
  background: #eaf4fb;
}
.mwm-filtro-novo select[required],
.mwm-filtro-novo input[required] {
  border-left: 3px solid #0071ce;
}
.mwm-filtro-novo label[for*="*"]::after {
  content: '*';
  color: #e53935;
  margin-left: 2px;
}
.mwm-filtro-novo #brand-col {
  transition: all 0.2s;
}
.mwm-filtro-novo button#find-btn {
  background: #003366;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 36px;
  font-size: 1.1em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-top: 16px;
  transition: background 0.2s, box-shadow 0.2s;
}
.mwm-filtro-novo button#find-btn:disabled {
  background: #b0b8c1;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
}
.mwm-filtro-novo button#find-btn:hover:not(:disabled) {
  background: #005fa3;
}
@media (max-width: 900px) {
  .mwm-filtro-novo .row {
    flex-direction: column;
    gap: 12px 0;
  }
  .mwm-filtro-novo .col {
    min-width: 100%;
  }
}
@media (max-width: 600px) {
  .mwm-filtro-novo {
    padding: 16px 6px 12px 6px;
  }
  .mwm-filtro-novo .row {
    gap: 8px 0;
  }
  .mwm-filtro-novo .profile-btn {
    padding: 8px 12px;
    font-size: 0.98em;
  }
  .mwm-filtro-novo button#find-btn {
    width: 100%;
    padding: 12px 0;
    font-size: 1em;
  }
  /* Mobile adjustments for select arrow */
  .mwm-filtro-novo select.form-control {
    background-size: 14px auto;
    padding-right: 36px;
    background-position: right 10px center;
  }
}
/* === FIM NOVO FILTRO === */

/* === MODAL STYLES === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  backdrop-filter: blur(2px);
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid #e0e0e0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 12px 12px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
}

.modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #6c757d;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: #f8f9fa;
  color: #495057;
  transform: scale(1.1);
}

.modal-body {
  padding: 24px;
}

.modal-section {
  margin-bottom: 24px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0071ce;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-section h3 {
  margin: 0 0 12px 0;
  color: #0071ce;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-section p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
  font-size: 0.95rem;
}

.modal-section strong {
  color: #2c3e50;
  font-weight: 600;
}

.modal-section a {
  color: #0071ce;
  text-decoration: none;
  font-weight: 500;
}

.modal-section a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 95vh;
    margin: 20px;
  }
  
  .modal-header {
    padding: 20px 20px 16px 20px;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-section {
    padding: 14px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    margin: 10px;
  }
  
  .modal-header {
    padding: 16px 16px 12px 16px;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .modal-body {
    padding: 16px;
  }
  
  .modal-section {
    padding: 12px;
    margin-bottom: 16px;
  }
}
/* === FIM MODAL STYLES === */