/* Language selector & G Logo styles */

/* G Logo circle */
.g-logo-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d26a, #19f08a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 4px 12px rgba(0, 210, 106, 0.3);
}

.g-logo-circle img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn:hover {
  background: #eee;
  border-color: #ccc;
}

.lang-btn i {
  font-size: 14px;
  color: #666;
}

.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  padding: 8px 0;
  min-width: 160px;
  z-index: 1000;
  display: none;
}

.lang-menu.show {
  display: block;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-item:hover {
  background: #f5f5f5;
}

.lang-item.active {
  background: linear-gradient(135deg, #00d26a20, #19f08a20);
  color: #00a854;
  font-weight: 500;
}

.lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: #f0f0f0;
}

/* Header with logo and language */
.header-g-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-g-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-g-logo .g-text {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, #00d26a, #19f08a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* For dark theme */
.dark .lang-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.dark .lang-btn i {
  color: rgba(255,255,255,0.7);
}

.dark .lang-menu {
  background: #1a1a2e;
  border: 1px solid rgba(255,255,255,0.1);
}

.dark .lang-item {
  color: #fff;
}

.dark .lang-item:hover {
  background: rgba(255,255,255,0.1);
}
