
/* Exclusivite Geo Store Suggest - basic modal + switcher styles */
#exgeo-modal-root { position: relative; z-index: 999999; }

.exgeo-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 18, 22, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.exgeo-modal {
  width: min(640px, 100%);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.exgeo-modal__header {
  padding: 20px 22px 10px 22px;
  border-bottom: 1px solid #eef1f4;
}

.exgeo-modal__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 700;
  color: #111827;
}

.exgeo-modal__subtitle {
  margin: 8px 0 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: #4b5563;
}

.exgeo-modal__body {
  padding: 18px 22px 22px 22px;
}

.exgeo-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 10px;
}

.exgeo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
}

.exgeo-btn:hover {
  background: #f3f4f6;
}

.exgeo-btn--primary {
  background: #111827;
  color: #ffffff;
  border-color: #111827;
}

.exgeo-btn--primary:hover {
  background: #0b1220;
}

.exgeo-meta {
  font-size: 12px;
  color: #6b7280;
  margin-top: 12px;
}

.exgeo-checkbox {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #374151;
}

.exgeo-checkbox input { margin-top: 2px; }

.exgeo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: 0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #6b7280;
}

.exgeo-close:hover { color: #111827; }

/* Switcher */
.exgeo-switcher { position: relative; display: inline-block; }

.exgeo-switcher__btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  user-select: none;
}

.exgeo-switcher__btn-inner{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.exgeo-switcher__flag{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
}

.exgeo-switcher__caret{
  font-size: 12px;
  opacity: 0.9;
}

/* Light theme (legacy) */
.exgeo-switcher--light .exgeo-switcher__btn {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #111827;
}
.exgeo-switcher--light .exgeo-switcher__btn:hover { background: #f3f4f6; }
.exgeo-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  border-radius: 14px;
  padding: 6px;
  z-index: 99999;
}
.exgeo-switcher__menu[aria-hidden="false"] { display: block; }
.exgeo-switcher__item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
}

.exgeo-switcher__item-inner{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Dark theme (requested) */
.exgeo-switcher--dark .exgeo-switcher__btn {
  background: #000000;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
}
.exgeo-switcher--dark .exgeo-switcher__btn:hover { background: #0b0b0b; }

.exgeo-switcher--dark .exgeo-switcher__menu {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
}

.exgeo-switcher--dark .exgeo-switcher__item {
  color: #ffffff;
}

.exgeo-switcher--dark .exgeo-switcher__item:hover { background: rgba(255,255,255,0.08); }

.exgeo-switcher--dark .exgeo-switcher__reset { color: #ff6b6b; }

/* Light theme menu */
.exgeo-switcher--light .exgeo-switcher__menu {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}
.exgeo-switcher--light .exgeo-switcher__item { color: #111827; }
.exgeo-switcher--light .exgeo-switcher__item:hover { background: #f3f4f6; }
.exgeo-switcher--light .exgeo-switcher__reset { color: #b91c1c; }
