#wc-country-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

#wc-country-popup {
  background: #ffffff;
  max-width: 420px;
  width: 100%;
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  text-align: left;
}

#wc-country-popup h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 18px;
}

#wc-country-popup p {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 14px;
}

.wc-country-popup-text-secondary {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 13px;
  color: #666;
}

.wc-country-popup-dropdown-wrapper {
  margin-top: 8px;
  margin-bottom: 10px;
}

.wc-country-popup-dropdown-label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
}

#wc-country-popup-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.wc-country-popup-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.wc-country-popup-btn {
  border-radius: 4px !important;
  padding: 5px 10px !important;
  font-size: 14px !important;
  background-color: var(--e-global-color-secondary) !important;
  border: none !important;
}

.wc-country-popup-btn-stay {
  border-color: #ddd;
  background: #f9f9f9;
}

.wc-country-popup-btn-switch {
  background: #007cba;
  border-color: #007cba;
  color: #ffffff;
}

.wc-country-popup-btn-switch:hover {
  background: #006ba1;
  border-color: #006ba1;
}

@media (max-width: 480px) {
  #wc-country-popup {
    margin: 0 10px;
  }
}
