@import url("./brand-footer.css");
/* Enterprise Console — language picker dropdown (sits in the navy topbar). */
.trust-lang {
  position: relative;
  font-family: Arial, sans-serif;
  user-select: none;
}
.trust-lang-btn {
  background: transparent;
  border: 1px solid #C9A94A;
  color: #C9A94A;
  font-family: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.trust-lang-btn:hover { background: #C9A94A; color: #16243f; }
.trust-lang-btn:hover .trust-lang-label { color: #16243f; }
.trust-lang-btn .fi { width: 1.2em; height: 0.9em; box-shadow: 0 0 1px rgba(0, 0, 0, 0.5); }
.trust-lang-btn .caret { font-size: 0.7rem; opacity: 0.7; }

.trust-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #16243f;
  border: 1px solid #34507f;
  border-radius: 8px;
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
  display: none;
}
.trust-lang.open .trust-lang-menu { display: block; }

.trust-lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  color: #c9d6ec;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(201, 169, 74, 0.1);
  transition: background 0.12s, color 0.12s;
}
.trust-lang-item:last-child { border-bottom: 0; }
.trust-lang-item:hover { background: rgba(201, 169, 74, 0.12); color: #fff; }
.trust-lang-item.active { color: #C9A94A; }
.trust-lang-item .fi { width: 1.4em; height: 1em; box-shadow: 0 0 1px rgba(0, 0, 0, 0.5); }
.trust-lang-code {
  display: inline-block;
  width: 28px;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: #C9A94A;
}

/* Toast indicator while translating */
.trust-translating {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #1F3864;
  color: #C9A94A;
  border: 1px solid rgba(201, 169, 74, 0.5);
  padding: 8px 18px;
  font-family: Arial, sans-serif;
  font-style: italic;
  font-size: 0.86rem;
  border-radius: 6px;
  z-index: 10000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: none;
}
.trust-translating.visible { display: block; }
