/* Noogul language switcher ------------------------------------------------ */

.spb-lang-item { position: relative; list-style: none; display: flex; align-items: center; }

.spb-lang-wrap { display: inline-flex; align-items: center; gap: 7px; }

.spb-lang-flagimg {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
  flex: none;
}

.spb-lang-flag { font-size: 1.05rem; line-height: 1; }

/* Globe icon (leads every widget) */
.spb-lang-globe {
  flex: none;
  display: block;
  color: #6c5ce7;
}

/* SaaS top menu bar (.nn) -------------------------------------------------- */
.nn-links .spb-lang-wrap {
  margin-left: 8px;
  padding: 5px 8px 5px 10px;
  border-radius: 9px;
  background: rgba(108, 92, 231, .07);
  border: 1px solid rgba(108, 92, 231, .18);
  transition: background .2s ease, border-color .2s ease;
}
.nn-links .spb-lang-wrap:hover {
  background: rgba(108, 92, 231, .12);
  border-color: rgba(108, 92, 231, .35);
}
.nn-links .spb-lang-globe { width: 15px; height: 15px; }
.nn-links .spb-lang-select {
  padding: 3px 22px 3px 4px;
  background-color: transparent;
  background-position: right 2px center;
  border: 0;
  font-size: .92rem;
  font-weight: 700;
  color: #1e293b;
  max-width: 150px;
}
.nn-links .spb-lang-select:hover,
.nn-links .spb-lang-select:focus {
  background-color: transparent;
  border: 0;
  box-shadow: none;
  color: #6c5ce7;
}

/* SaaS mobile drawer (.nn-drawer) ------------------------------------------ */
.spb-lang-drawer-row { width: 100%; }
.nn-drawer .spb-lang-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f5f3ff;
  border: 1px solid rgba(108, 92, 231, .2);
}
.nn-drawer .spb-lang-select {
  flex: 1;
  min-width: 0;
  max-width: none;
  padding: 6px 26px 6px 10px;
  background-color: #fff;
  border: 1px solid rgba(108, 92, 231, .28);
  font-size: .98rem;
}

.spb-lang-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 28px 8px 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236c5ce7' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  border: 1px solid rgba(108, 92, 231, .28);
  border-radius: 50px;
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  color: #1a1a2e;
  cursor: pointer;
  line-height: 1.2;
  max-width: 190px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.spb-lang-select:hover,
.spb-lang-select:focus {
  border-color: rgba(108, 92, 231, .65);
  box-shadow: 0 2px 10px rgba(108, 92, 231, .18);
  outline: none;
}

/* Mobile drawer placement */
.drawer-content .spb-lang-item { display: inline-block; padding: 8px 0; }

/* Footer placement (SaaS footer only) ------------------------------------ */
.spb-lang-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.spb-lang-foot-label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: inherit;
  opacity: .75;
}

.spb-lang-foot-list { margin: 0; padding: 0; list-style: none; }

.spb-lang-foot .spb-lang-select {
  background-color: #fff;
  color: #1a1a2e;
  border-color: rgba(255, 255, 255, .35);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .2);
}
.spb-lang-foot .spb-lang-select:hover,
.spb-lang-foot .spb-lang-select:focus {
  border-color: rgba(168, 85, 247, .7);
}

/* Fallback pill when no menu matched */
.spb-lang-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
}
.spb-lang-float-list { margin: 0; padding: 0; list-style: none; }

/* Google Translate chrome -------------------------------------------------- */
.spb-gt-box { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.goog-te-banner-frame,
#goog-gt-tt,
.skiptranslate iframe { display: none !important; }

body { top: 0 !important; position: static !important; }

.skiptranslate { position: static !important; }

.spb-lang-select { font-family: inherit; }
.goog-te-menu-frame * { font-family: inherit; }
