.lang-dropdown { position: relative; display: inline-block; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; border: 1px solid transparent;
  padding: 6px 10px; border-radius: 8px; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; color: #64748B;
  transition: all 0.15s; line-height: 1;
}
.lang-trigger:hover { color: #0F172A; background: #F1F5F9; }
.lang-trigger .flag { font-size: 16px; line-height: 1; }
.lang-trigger .code { letter-spacing: 0.5px; }
.lang-trigger .caret { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.2s; }
.lang-trigger[aria-expanded="true"] .caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0;
  min-width: 170px; background: #FFFFFF; border: 1px solid #E2E8F0;
  border-radius: 10px; padding: 4px;
  box-shadow: 0 8px 28px rgba(15,23,42,0.10);
  display: none; z-index: 200;
}
.lang-menu.open { display: block; }
.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 6px;
  font-size: 13px; color: #374151; text-decoration: none; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.lang-option:hover { background: #F1F5F9; color: #0F172A; }
.lang-option.active { color: #0EA5E9; font-weight: 700; background: #F0F9FF; }
.lang-option .flag { font-size: 16px; line-height: 1; }
.lang-option .check { margin-left: auto; color: #0EA5E9; }

.lang-mobile {
  display: flex; gap: 8px; padding-top: 12px; margin-top: 4px;
  border-top: 1px solid #E2E8F0; flex-wrap: wrap;
}
.lang-mobile a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 8px;
  font-size: 13px; font-weight: 600; color: #64748B;
  background: #F8FAFB; border: 1px solid #E2E8F0;
  text-decoration: none; min-height: 36px;
}
.lang-mobile a.active { color: #0EA5E9; border-color: #0EA5E9; background: #F0F9FF; }
.lang-mobile a .flag { font-size: 14px; line-height: 1; }
