/* Simple Google Translator frontend styles */
.sgt-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.sgt-modal {
  width: 320px;
  background: #f5f7fa;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.sgt-modal-header {
  background: #374049;
  color: #fff;
  padding: 14px 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}

.sgt-close {
  cursor: pointer;
  color: #cfd5db;
  font-size: 18px;
  line-height: 1;
}

.sgt-close:hover {
  color: #fff;
}

.sgt-list {
  max-height: 360px;
  overflow: auto;
}

.sgt-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 15px;
  color: #4a5561;
}

.sgt-item:nth-child(even) {
  background: #fff;
}

.sgt-item:hover {
  background: #e1f3ff;
}

.sgt-item.sgt-selected {
  background: #3fb3f6;
  color: #fff;
}

.sgt-item .sgt-check {
  margin-left: auto;
  color: #fff;
  font-weight: 700;
  visibility: hidden;
}

.sgt-item.sgt-selected .sgt-check {
  visibility: visible;
}

.sgt-flag {
  width: 22px;
  height: 16px;
  border-radius: 2px;
  object-fit: cover;
  background: #e1e1e1;
}

