/* Lock scroll when overlay open */
html.ananda-fs--lock, body.ananda-fs--lock { overflow: hidden; }

.ananda-fs { display: inline-block; }

/* Icon-only trigger */
.ananda-fs__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
}

/* Avoid the "circle" focus ring on click (common request for icon buttons).
   Keep an accessible focus style for keyboard users via :focus-visible. */
.ananda-fs__btn:focus{ outline: none; }
.ananda-fs__btn:focus-visible{
  outline: 2px solid rgba(0,0,0,.35);
  outline-offset: 3px;
}

/* Make sure any SVG icon rendered by Elementor is visible even if icon fonts are disabled. */
.ananda-fs__btn svg{
  display:block;
  width: 1em;
  height: 1em;
  fill: currentColor;
}
.ananda-fs__btn svg *{
  fill: currentColor;
  stroke: currentColor;
}

/* Fullscreen overlay */
.ananda-fs__overlay{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(0,0,0,.65);
}
.ananda-fs__overlay[hidden]{ display:none; }
.ananda-fs__overlay.is-open{ animation: anandaFsFade .18s ease-out; }

@keyframes anandaFsFade { from { opacity: 0; } to { opacity: 1; } }

.ananda-fs__dialog{
  width: min(980px, 100%);
  max-height: 100%;
  overflow: auto;
  position: relative;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
  padding: clamp(16px, 3vw, 28px);
}

.ananda-fs__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}
.ananda-fs__close:hover{ background: rgba(0,0,0,.10); }

.ananda-fs__box{ margin-top: 10px; }

.ananda-fs__input{
  width: 100%;
  padding: 16px 16px;
  font-size: 18px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.14);
  outline: none;
  background: #fff;
}
.ananda-fs__input:focus{
  border-color: rgba(0,0,0,.35);
  box-shadow: 0 0 0 4px rgba(0,0,0,.06);
}

.ananda-fs__panel{
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  overflow: hidden;
}
.ananda-fs__empty{
  padding: 14px 16px;
  font-size: 14px;
  opacity: .72;
}
.ananda-fs__list{
  list-style: none;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 6px;
}
.ananda-fs__link{
  display:flex;
  gap: 12px;
  align-items:center;
  padding: 10px 10px;
  border-radius: 14px;
  text-decoration:none;
}
.ananda-fs__link:hover{ background: rgba(0,0,0,.04); }

.ananda-fs__thumb{
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 14px;
  flex: 0 0 54px;
}

.ananda-fs__txt{ min-width: 0; flex: 1; }
.ananda-fs__title{
  font-size: 14px;
  line-height: 1.25;
  color: #111;
  display:flex;
  gap: 8px;
  align-items:center;
  flex-wrap: wrap;
}
.ananda-fs__badge{
  font-size: 11px;
  padding: 2px 8px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  opacity: .8;
}
.ananda-fs__meta{
  margin-top: 4px;
  font-size: 12px;
  opacity: .75;
}

@media (max-width: 767px){
  .ananda-fs__dialog{ border-radius: 18px; }
  .ananda-fs__thumb{ width: 48px; height: 48px; border-radius: 12px; }
  .ananda-fs__input{ font-size: 16px; padding: 14px; }
}


/* Inline SVG fallback icon */
.ananda-fs__svg{ display:block; fill: currentColor; }
