/* Language selector button */
    .lang-btn {
      background: #fff;
      border: 1px solid #e6e6e6;
      padding: 8px 12px;
      border-radius: 6px;
      cursor: pointer;
      display:flex;
      gap:8px;
      align-items:center;
      box-shadow: 0 1px 4px rgba(0,0,0,0.06); 
    }
    .lang-btn span.code { font-weight:600; color:#1b9bd7; }
    .caret { border:6px solid transparent; border-top-color:#999; margin-left:4px; }

    /* Dropdown */
    .lang-dropdown {
      position: absolute;
      margin-top:8px;
      width: 260px;
      max-height: 320px;
      background:#fff;
      border-radius:8px;
      box-shadow:0 10px 30px rgba(0,0,0,0.12);
      border: 1px solid rgba(0,0,0,0.06);
      overflow:hidden;
      z-index: 9999;
      display:none;
      right: 30px; /* adjust if you want it left aligned */
    }
    .lang-dropdown.open { display:block; }

    .lang-search {
      display:flex;
      align-items:center;
      padding:10px;
      border-bottom:1px solid #f0f0f0;
    }
    .lang-search input {
      width:100%;
      padding:8px;
      border-radius:6px;
      border:1px solid #eee;
    }

    .lang-list { list-style:none; margin:0; padding: 8px 0; overflow:auto; max-height: 240px; }
    .lang-item {
      display:flex; gap:12px; align-items:center; padding:8px 12px; cursor:pointer;
      transition: background .12s;
    }
    .lang-item:hover { background:#f6f9fb; }
    .flag { width:28px; display:inline-block; text-align:center; font-size:16px; }
    .lang-name { flex:1; font-size:14px; }
    .lang-code { color:#888; font-size:12px; margin-left:6px; }

    /* Hide google translate banner & logo (so it doesn't clash with our UI) */
    .goog-te-banner-frame.skiptranslate { display: none !important; }
    body { top: 0px !important; }
    .goog-logo-link { display: none !important; }
    .goog-te-gadget { color: transparent !important; }