/* ============================================
   DOAKEN — Country selector dropdown
   Standalone — pour pages sans doaken-nav-footer.css
   ============================================ */

.country-selector,
.country-selector *,
.country-menu,
.country-menu * { display: none !important; visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; position: absolute !important; left: -9999px !important; width: 0 !important; height: 0 !important; overflow: hidden !important; }
.country-selector button {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226,232,240,0.95);
  border-radius: 100px;
  padding: 5px 11px;
  font-size: 1.05rem;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.country-selector button::after {
  content: '▾';
  font-size: 0.55rem;
  opacity: 0.45;
  margin-left: 2px;
  font-family: system-ui, sans-serif;
}
.country-selector button:hover {
  background: rgba(0,26,61,0.07);
  border-color: rgba(0,26,61,0.3);
  box-shadow: 0 2px 8px rgba(0,26,61,0.12);
}
.country-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
  padding: 6px;
  min-width: 200px;
  z-index: 2000;
}
.country-menu.open { display: flex; flex-direction: column; }
.country-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.country-menu a:hover { background: #F1F5F9; color: #0F172A; }
.country-menu a.active-lang {
  background: #EAF1F8;
  color: #001A3D;
  font-weight: 700;
}
@media (max-width: 900px) { .country-selector { display: none; } }
