#ac-localeswitcher.acc-locale-switcher {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #f5f5f7;
  color: #1d1d1f;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  transform: translateY(-120%);
  transition: transform 220ms ease-in-out;
}

#ac-localeswitcher.acc-locale-switcher.is-visible {
  transform: translateY(0);
}

.ac-ls-content {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.ac-ls-copy {
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.ac-ls-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ac-ls-actions-item {
  display: inline-flex;
  align-items: center;
}

/* Button group */
.ac-ls-btn-group {
  display: inline-flex;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  overflow: hidden;
}

.ac-ls-btn-group .ac-ls-button {
  border-radius: 0;
}

.ac-ls-btn-left {
  border-right: 1px solid #d2d2d7;
}

/* Remove old dropdown styles below */

.ac-ls-dropdown-select:hover {
  border-color: #0071e3;
}

.ac-ls-dropdown-check {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: inline-block;
}

.ac-ls-dropdown-copy {
  flex: 1;
  font-size: 14px;
}

.ac-ls-dropdown-options {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  margin-bottom: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
}

.ac-ls-dropdown:not(.select-collapsed) .ac-ls-dropdown-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ac-ls-dropdown-options-list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.ac-ls-dropdown-option {
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background-color 0.2s;
}

.ac-ls-dropdown-option:hover {
  background-color: #f5f5f7;
}

.ac-ls-dropdown-option[data-ac-ls-selected="true"] {
  background-color: #e8f4fd;
  color: #0071e3;
}

/* Continue button */
.ac-ls-button {
  background: #0071e3;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.ac-ls-button:hover {
  background: #0077ed;
  color: #fff;
}

/* Close button */
.ac-ls-close {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: #86868b;
  border-radius: 4px;
  transition: background-color 0.2s;
  position: absolute;
  top: 8px;
  right: 8px;
}

.ac-ls-close:hover {
  background-color: #f5f5f7;
  color: #1d1d1f;
}

.ac-ls-icon svg {
  display: block;
}

/* Choose Country Page */
.acc-locale-choose-country {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.acc-locale-choose-country__header {
  text-align: center;
  margin-bottom: 40px;
}

.acc-locale-choose-country__header h1 {
  font-size: 32px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 16px;
}

.acc-locale-choose-country__header p {
  font-size: 18px;
  color: #86868b;
  margin: 0;
}

.acc-locale-choose-country__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.acc-locale-choose-country__option {
  display: flex;
  align-items: center;
  padding: 16px;
  background: #fff;
  border: 1px solid #d2d2d7;
  border-radius: 12px;
  text-decoration: none;
  color: #1d1d1f;
  transition: all 0.2s ease;
}

.acc-locale-choose-country__option:hover {
  border-color: #0071e3;
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.15);
  transform: translateY(-2px);
}

.acc-locale-choose-country__flag {
  width: 40px;
  height: 40px;
  background: #f5f5f7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #86868b;
  margin-right: 16px;
  flex-shrink: 0;
}

.acc-locale-choose-country__name {
  font-size: 16px;
  font-weight: 500;
}

/* Group styles */
.acc-locale-choose-country__group {
  margin-bottom: 40px;
}

.acc-locale-choose-country__group-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e5e5e7;
  color: #1d1d1f;
}

.acc-locale-choose-country__group:last-child {
  margin-bottom: 0;
}

/* Mobile styles for very small screens */
@media (max-width: 412px) {
  .ac-ls-btn-group {
    display: flex;
    width: 100%;
  }
  
  .ac-ls-btn-group .ac-ls-button {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    padding: 6px 8px;
  }
  
  .ac-ls-copy {
    font-size: 12px;
    margin-bottom: 12px;
  }
}

/* Desktop styles */
@media (min-width: 768px) {
  .ac-ls-btn-group .ac-ls-button {
    min-width: 200px;
  }
}
