/* Admin */
.fl-metabox .fl-toggle{ display:flex; align-items:center; gap:.5rem; margin-bottom:.75rem; }
.fl-metabox .fl-info-fields{ display:grid; grid-template-columns: 1fr 1fr; gap:.75rem; margin:.5rem 0 1rem; }
.fl-metabox .fl-field label{ display:block; font-weight:600; margin-bottom:.25rem; }
.fl-metabox .fl-field input{ width:100%; }
.fl-metabox .fl-repeater .fl-row{ display:grid; grid-template-columns: 1fr 1fr auto auto; gap:.5rem; align-items:center; margin-bottom:.5rem; }
.fl-metabox .fl-repeater .fl-add{ margin-top:.5rem; }

/* Public layout (theme-safe) */
.fl-clear-row{ clear: both; display:block; width:100%; max-width:100%; }
.fl-preview.fl-style-b{ background: transparent !important; box-shadow: none !important; border-top:1px solid #e5e7eb; padding-top:16px; margin-top:12px; }
.fl-topchips{ display:flex; gap:24px; flex-wrap:wrap; margin-bottom:12px; }
.fl-chip{ display:flex; align-items:center; gap:10px; }
.fl-ico{ width:22px; height:22px; color:#444444; }
.fl-chip-text{ display:flex; flex-direction:column; line-height:1.1; }
.fl-chip-label{ font-size:12px; color:#424242; }
.fl-chip-value{ font-size:14px; font-weight:600; color:#374151; }

.fl-title{ font-size:18px; font-weight:700; color:#374151; margin:8px 0 10px; }

.fl-controls-b{ display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:16px; }
.fl-select{ padding:.45rem .65rem; border:1px solid #e5e7eb; border-radius:0; min-width:260px; }
.fl-input{ flex:1 1 280px; padding:.45rem .65rem; border:1px solid #e5e7eb; border-radius:0; }
.fl-sizes{ display:flex; gap:6px; }
.fl-size-btn{ border:1px solid #e5e7eb; background:transparent; border-radius:0; padding:.35rem .6rem; font-weight:600; }
.fl-size-btn.is-active{ border-color:#111827; }

.fl-samples{ display:flex; flex-direction:column; gap:24px; }
.fl-sample-label{ font-weight:700; color:#6b7280; font-size:12px; }
.fl-sample-text{ color:#111827; line-height:1.2; }



/* --- v1.0.3 style tweak to match reference --- */
.fl-title{ font-size:26px; font-weight:700; letter-spacing:.2px; margin:16px 0 14px; }
.fl-controls-b{ gap:12px; }

/* Controls: white fields, soft borders */
.fl-select, .fl-input{
  background:#ffffff !important;
  border:1px solid #e5e7eb !important;
  border-radius:0px !important;
  padding:.6rem .8rem !important;
  box-shadow: none !important;
  outline: none !important;
}
.fl-select{ min-width:320px; }
.fl-input{ flex:1 1 360px; }

/* Size buttons: soft ghost, only active looks prominent */
.fl-sizes{ gap:8px; }
.fl-size-btn{
  border:1px solid #e5e7eb !important;
  background:#f8fafc !important;
  color:#374151 !important;
  border-radius:0px !important;
  padding:.45rem .7rem !important;
  font-weight:600;
  opacity:.45;
  transition:opacity .15s ease, border-color .15s ease, background .15s ease;
}
.fl-size-btn:hover{ opacity:.7; }
.fl-size-btn.is-active{
  background:#eef2f7 !important;
  border-color:#d1d5db !important;
  color:#111827 !important;
  opacity:1;
}

/* Sample labels & text spacing */
.fl-sample{ margin-top:16px; }
.fl-sample-label{ text-transform:none; font-weight:700; color:#6b7280; margin-bottom:6px; }
.fl-sample-text{ color:#111827; margin-left:12px; }

/* Chips spacing & subtle divider */
.fl-preview.fl-style-b{ border-top:1px solid #e5e7eb; padding-top:18px; }
.fl-topchips{ border-bottom:1px solid #e5e7eb; padding-bottom:18px;}

/* Caret/arrow untuk dropdown preset */
.fl-select{
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  /* panah SVG bawaan */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 20 12'><path fill='%236b7280' d='M5 4l5 5 5-5'/></svg>")!important;
  background-repeat: no-repeat!important;
  background-position: right 12px center!important;
  background-size: 12px 8px!important;

  /* ruang untuk panah */
  padding-right: 2rem !important;
  cursor: pointer;
}

/* Hilangkan arrow bawaan IE/Edge lama */
.fl-select::-ms-expand{ display:none; }
