/* RedFeed — seletor de idioma */
.rf-locale-btn,
.rf-desktop-rail-item.rf-locale-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}

.rf-locale-globe {
  font-size: 1.05rem;
  line-height: 1;
}

.rf-locale-picker {
  position: fixed;
  inset: 0;
  z-index: 2147482100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.rf-locale-picker.on {
  display: flex;
  z-index: 2147483640 !important;
}

.rf-locale-picker-card {
  width: min(420px, 100%);
  max-height: min(88dvh, 640px);
  overflow: auto;
  background: linear-gradient(180deg, #1a1220, #0a0a10);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 22px 20px 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  color: #fff;
}

html[data-rf-theme="light"] .rf-locale-picker-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #14141c;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
}

.rf-locale-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.rf-locale-picker-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rf-locale-picker-close {
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
}

html[data-rf-theme="light"] .rf-locale-picker-close {
  background: rgba(0, 0, 0, 0.06);
}

.rf-locale-picker-hint {
  font-size: 0.84rem;
  line-height: 1.45;
  opacity: 0.78;
  margin: 0 0 14px;
}

.rf-locale-picker-options {
  display: grid;
  gap: 10px;
}

.rf-locale-picker-opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-weight: 800;
  font-size: 0.92rem;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}

html[data-rf-theme="light"] .rf-locale-picker-opt {
  border-color: rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.02);
}

.rf-locale-picker-opt.is-active {
  border-color: #ff174d;
  background: rgba(255, 23, 77, 0.12);
}

.rf-locale-picker-opt-flag {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.rf-locale-picker-opt-text {
  min-width: 0;
  flex: 1;
}

.rf-locale-picker-opt-text strong {
  display: block;
  font-size: 0.92rem;
}

.rf-locale-picker-opt-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.74rem;
  opacity: 0.72;
  font-weight: 700;
}

.rf-locale-fab {
  display: none !important;
}
