/* =========================================
   8FLiX Script Format Chooser
   File: /css/efx-script-chooser.css
   ========================================= */

.fl-builder-content .efx-script-chooser{
  --efx-accent: #D3239A;
  --efx-warm: #FF6A00;
  --efx-br: 14px;

  border: 1px solid rgba(211,35,154,.18);
  border-radius: var(--efx-br);
  background: linear-gradient(90deg, rgba(211,35,154,.06), transparent 55%);
  padding: 1.1rem 1.1rem 1.2rem;
}

.fl-builder-content .efx-script-chooser__header{
  max-width: 72ch;
}

.fl-builder-content .efx-script-chooser__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.fl-builder-content .efx-script-card{
  position: relative;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--efx-br);
  background: #fff;
  padding: 1rem 1rem 0.95rem;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.fl-builder-content .efx-script-card::before{
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--efx-accent), var(--efx-warm));
  opacity: .9;
}

.fl-builder-content .efx-script-card__title{
  margin-bottom: .55rem;
  padding-left: .25rem;
}

.fl-builder-content .efx-script-card__text{
  margin-bottom: .85rem;
}

.fl-builder-content .efx-script-card__cta{
  margin: 0;
}

/* Matte “index-style” pill (no glow for #dedede backgrounds) */
.fl-builder-content .efx-script-card__link{
  display: inline-flex;
  align-items: center;
  gap: .45rem;

  font-weight: 800;
  text-decoration: none;

  border-radius: 999px;
  padding: .58rem .95rem;

  background: linear-gradient(90deg, var(--efx-accent), var(--efx-warm));
  border: 1px solid rgba(0,0,0,.14);
  color: #fff;

  box-shadow: none;
  transition: transform .15s ease, filter .15s ease, border-color .15s ease;
}

.fl-builder-content .efx-script-card__link:hover{
  border-color: rgba(0,0,0,.22);
  transform: translateY(-1px);
  filter: brightness(.92);
}

.fl-builder-content .efx-script-card__link:focus-visible{
  outline: 3px solid rgba(211,35,154,.35);
  outline-offset: 2px;
}
.fl-builder-content .efx-script-card__link.is-disabled{
  opacity: .65;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(0,0,0,.12);
  background: rgba(255,255,255,.6);
  color: #222;
}
