/* Scope & tokens */
#ftable-app {
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --primary: #5b6cff;
  --primary2: #8a3dff;
  --danger: #e11d48;
  --ok: #16a34a;
}

/* Boxed container */
#ftable-app .ftable-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Toolbar */
#ftable-app .ftable-toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 12px;
}

#ftable-app .ftable-title {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: .3px;
}

#ftable-app .ftable-controls {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
}

#ftable-app .ftable-search {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px 6px 12px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

#ftable-app .ftable-search input {
  border: none;
  outline: none;
  width: 100%;
  min-width: 180px;
  font-size: 16px;
  background-color: none;
}

#ftable-app .ftable-search button {
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  width: 38px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .15s ease;
  padding: 0;
}

/* padding 0 as requested */
#ftable-app .ftable-search button:hover {
  transform: translateY(-1px);
}

#ftable-app .ftable-adv-btn,
#ftable-app .ftable-fav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
}

#ftable-app .ftable-adv-btn[aria-expanded="true"] {
  background: var(--bg-soft);
}

#ftable-app .ftable-pill {
  background: white;
  color: #4f46e5;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
  transition: all 0.3s ease;
}


#ftable-app .ftable-fav-btn {
  transition: all .3s ease;
}

#ftable-app .ftable-fav-btn:hover {
  background: black !important;
}

#ftable-app .ftable-fav-btn:hover  .ftable-pill {
  transform: scale(1.1);
  color: black;
}

/* Mobile: search on row 1, buttons on row 2 */
@media (max-width: 768px) {
  #ftable-app .ftable-controls {
    grid-template-columns: 1fr 1fr;
  }

  #ftable-app .ftable-search {
    grid-column: 1 / -1;
  }

  #ftable-app .ftable-adv-btn,
#ftable-app .ftable-fav-btn {

  padding: 12px 12px;

}

}

/* Advanced filters – accordion shell */
#ftable-app .ftable-adv {
  overflow: visible;
  height: auto;
  opacity: 1;
  transform: translateY(0);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 8px 0 14px;
  transition: height .5s cubic-bezier(.22, .61, .36, 1), opacity .4s ease, transform .4s ease;
  will-change: height;
}

#ftable-app .ftable-adv.is-collapsing,
#ftable-app .ftable-adv.is-expanding {
  overflow: hidden;
}

/* Desktop 3 columns / Mobile 1 column */
#ftable-app .ftable-filter-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 768px) {
  #ftable-app .ftable-filter-grid {
    grid-template-columns: 1fr;
  }
}

#ftable-app .ftable-filter span {
  display: block;
  font-size: 14px;
  color: #111827;
  margin-bottom: 6px;
  font-weight: 700;
}

/* increased label font size */

/* Choices.js — fully scoped & fixed */
#ftable-app .choices,
#ftable-app .choices * {
  box-sizing: border-box;
  font: inherit;
}

#ftable-app .choices {
  width: 100%;
  position: relative;
}

#ftable-app .choices__inner {
  border-radius: 12px;
  border: 1px solid #d7dbe3;
  padding: 6px 44px 3px 8px;
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  flex-wrap: wrap;
  /* allow chips to wrap to next line */
}

#ftable-app .choices.is-open .choices__inner {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
}

#ftable-app .choices__input {
  flex: 1 1 160px;
  min-width: 140px;
  border: 0;
  background: transparent;
  outline: none;
}

/* wrap the input as well */
#ftable-app .choices__placeholder {
  opacity: .75;
  color: #6b7280;
}

/* Dropdown: bottom radius only */
#ftable-app .choices__list--dropdown {
  border: 1px solid #d7dbe3;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 24px rgba(16, 24, 40, .12);
  z-index: 10050;
  background: #fff;
}

#ftable-app .choices__list--dropdown .choices__item {
  padding: 10px 12px;
}

#ftable-app .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background: #f5f7ff;
}

/* Chevron */
#ftable-app .choices[data-type*='select-multiple']::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 9l6 6 6-6" fill="none" stroke="%2394a3b8" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  pointer-events: none;
  opacity: .9;
}

/* Chips — make sure close "×" is visible, clickable, and no stray text */
#ftable-app .choices__list--multiple {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}

#ftable-app .choices__list--multiple .choices__item {
  background: #eef2ff;
  border: 1px solid #e0e7ff;
  color: #374151;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

#ftable-app .choices__list--multiple .choices__item .choices__button {
  position: relative;
  margin: 0;
  border: 0;
  background: transparent;
  width: 16px;
  height: 16px;
  opacity: 1;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  font-size: 0;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#ftable-app .choices__list--multiple .choices__item .choices__button::before {
  content: "×";
  font-size: 15px;
  line-height: 1;
  color: #4b5563;
  text-indent: 0;
  display: block;
}

/* Reset button aligned right & style */
#ftable-app .ftable-adv-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
}

#ftable-app .ftable-reset {
  border: 1px solid #d1d5db;
  color: #374151;
  background: #fff;
  border-radius: 10px;
  padding: 9px 14px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .03);
}

#ftable-app .ftable-reset:hover {
  background: #f9fafb;
}

#ftable-app .ftable-reset:active {
  transform: translateY(1px);
}

/* Table card — padding 0 */
#ftable-app .ftable-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .04);
}

#ftable-app .ftable-tablewrap {
  overflow: auto;
  border-radius: 12px;
}

/* Table */
#ftable-app table {
  width: 100%;
  border-collapse: collapse;
}

/* Full-width header background */
#ftable-app thead tr {
  background: linear-gradient(90deg, #4f46e5, #8b5cf6);
  /* background-image: linear-gradient(58deg, #004CFF 0.44%, #A201FF 61.83%); */
}

#ftable-app thead th {
  /* position: sticky; */
  top: 0;
  z-index: 2;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-align: left;
  padding: 12px;
  user-select: none;
  cursor: pointer;
  background: transparent;
  border-bottom: none;
}

/* Sort chevrons */
#ftable-app thead th[data-sortable] {
  position: relative;
  padding-right: 28px;
}

#ftable-app thead th[data-sortable]::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5-5 5 5M7 14l5 5 5-5" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
}

#ftable-app thead th[aria-sort="ascending"]::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14l5-5 5 5" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

#ftable-app thead th[aria-sort="descending"]::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
}

#ftable-app thead th.num {
  text-align: right;
}

#ftable-app tbody td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

#ftable-app tbody tr:hover td {
  background: #fbfbff;
}

/* Pagination */
#ftable-app .ftable-bottom {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  flex-wrap: wrap;
}

#ftable-app .ftable-pagesize select {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

#ftable-app .ftable-pager {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

#ftable-app .pg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

#ftable-app .pg-btn:hover {
  background: #f8fafc;
}

#ftable-app .pg-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

#ftable-app .pg-info {
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  font-size: 12px;
}

@media (max-width: 768px) {
  #ftable-app .ftable-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  #ftable-app .ftable-pagesize,
  #ftable-app .ftable-pager {
    width: 100%;
  }

  #ftable-app .ftable-pager {
    justify-content: space-between;
  }
}

/* Row actions */
#ftable-app .cell-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#ftable-app .cell-actions .name {
  flex: 1 1 auto;
  min-width: 0;
}

#ftable-app .act-heart,
#ftable-app .act-copy,
#ftable-app .act-eye {
  all: unset;
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  box-sizing: border-box;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  padding: 0;
  line-height: 0;
  transition: transform .12s ease, opacity .15s ease, background-color .15s ease, border-color .15s ease;
}

#ftable-app .act-heart>svg,
#ftable-app .act-copy>svg,
#ftable-app .act-eye>svg {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  pointer-events: none;
}

#ftable-app .act-copy {
  opacity: 0;
}

#ftable-app tbody tr:hover .act-copy {
  opacity: 1;
}

#ftable-app .act-heart.active {
  color: #5b6cff;
  border-color: #c7d2fe;
  background: #eef2ff;
}

#ftable-app .act-heart {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

#ftable-app .act-eye {
  display: none;
}

/* mobile only */
#ftable-app .tag {
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 9px;
  border-radius: 999px;
  display: inline-block;
  text-align: center;
}

/* Overlay + Drawers */
#ftable-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, .35);
  backdrop-filter: blur(2px);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

#ftable-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

#ftable-app .ftable-drawer {
  position: fixed;
  right: 0;
  width: min(520px, 95vw);
  background: #fff;
  border-left: 1px solid var(--line);
  box-shadow: -10px 0 30px rgba(16, 24, 40, .12);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  display: flex;
  flex-direction: column;
  z-index: 10001;
}

#ftable-app .ftable-drawer.open {
  transform: translateX(0);
}

#ftable-app .ftable-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

#ftable-app .ftable-drawer-head .icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: #fff;
  color: #64748b;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

#ftable-app .ftable-drawer-head .icon:hover {
  background: #f3f4f6;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

#ftable-app .ftable-drawer-body {
  padding: 16px 18px !important;
  overflow: auto;
}

#ftable-app .ftable-drawer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 18px;
  flex-wrap: wrap;
}

#ftable-app .ftable-drawer-foot .foot-right {
  display: flex;
  gap: 10px;
}

/* Narrower drawer on mobile for easier outside-click area */
@media (max-width:768px) {
  #ftable-app .ftable-drawer {
    width: 85vw;
  }

  /* ~15% reduction */
}

/* Footer buttons */
#ftable-app .primary {
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
}

#ftable-app .danger {
  border-color: var(--danger);
  color: #e11d48;
}

#ftable-app .danger.ghost {
  background: #fff;
  border: 1px solid #fecdd3;
  border-radius: 12px;
}

#ftable-app .danger.ghost:hover {
  background: #fee2e2;
}

/* Favorites mini table */
#ftable-app .ftable-mini {
  width: 100%;
  border-collapse: collapse;
}

#ftable-app .ftable-mini th,
#ftable-app .ftable-mini td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
}

#ftable-app .ftable-mini td.right {
  text-align: right;
}

/* Remove icon button (borderless, soft highlight) */
#ftable-app .ftable-mini [data-remove-fav] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  transition: background .15s ease, color .15s ease;
}

#ftable-app .ftable-mini [data-remove-fav]:hover {
  background: #fff0f3;
  color: #e11d48;
}

/* Mobile-friendly Saved list: keep table styling & wrap long names */
@media (max-width:768px) {
  #ftable-app .ftable-mini thead {
    display: none;
  }

  #ftable-app .ftable-mini tr {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  #ftable-app .ftable-mini td {
    border: 0;
    padding: 0;
  }

  /* Hide Code & Category; show Name + Remove */
  #ftable-app .ftable-mini td:nth-child(1),
  #ftable-app .ftable-mini td:nth-child(2) {
    display: none;
  }

  #ftable-app .ftable-mini td:nth-child(3) {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow: visible;
    word-break: break-word;
    color: #111827;
  }

  #ftable-app .ftable-mini td:nth-child(4) {
    flex: 0 0 auto;
  }
}

/* Details list */
#ftable-app .ftable-dl {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 8px 14px;
}

#ftable-app .ftable-dl dt {
  color: #64748b;
}

#ftable-app .ftable-dl dd {
  margin: 0;
}

/* Responsive for table columns on mobile */
@media (max-width:1024px) {
  #ftable-app .hide-lg {
    display: none;
  }
}

@media (max-width:768px) {
  #ftable-app .hide-md {
    display: none;
  }

  #ftable-app thead th:not(:nth-child(4)) {
    display: none;
  }

  #ftable-app tbody td:not(:nth-child(4)) {
    display: none;
  }

  #ftable-app .act-eye {
    display: inline-flex;
  }
}

#ftable-fav-drawer {
  border: none;
}

#ftable-fav-listview {
  padding: 0 !important;
}

#ftable-fav-drawer header button,
#ftable-detail-drawer header button {
  padding: 0;
  font-size: 32px;
}

#ftable-fav-back {
  border-radius: 12px;
  background: #F2F2F2;
  color: #333;
}

#ftable-app .ftable-controls,
#ftable-app .ftable-adv {
  position: relative;
  z-index: 500;
}


/* ===== Gravity Forms — Form #49 Aesthetic ===== */
#gform_wrapper_49 {
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .08);
  --ring-h: 222;
  /* brand hue (blue-ish) */
  --ring-s: 90%;
  --ring-l: 56%;
  --ring: hsl(var(--ring-h) var(--ring-s) var(--ring-l));
  --ring-soft: hsl(var(--ring-h) var(--ring-s) calc(var(--ring-l) + 10%));
  --bg: #ffffff;
  --bg-subtle: #f6f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e5e7eb;
}

#gform_fields_49 {
  row-gap: 5px;

}


/* Wrapper */
#gform_wrapper_49 {
  background: linear-gradient(180deg, var(--bg), var(--bg-subtle));
  padding: clamp(18px, 2.5vw, 20px) clamp(18px, 2.5vw, 24px);

  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Form title & description */
#gform_wrapper_49 .gform_heading .gform_title {
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  letter-spacing: 0.2px;
}

#gform_wrapper_49 .gform_heading .gform_description {
  color: var(--muted);
  margin-bottom: 16px;
}

/* Field groups */
#gform_49 .gfield {
  margin-bottom: clamp(14px, 2vw, 12px);
}

/* Labels */
#gform_49 .gfield_label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

/* Inputs, selects, textareas */
#gform_49 .ginput_container input[type="text"],
#gform_49 .ginput_container input[type="email"],
#gform_49 .ginput_container input[type="url"],
#gform_49 .ginput_container input[type="password"],
#gform_49 .ginput_container input[type="tel"],
#gform_49 .ginput_container input[type="number"],
#gform_49 .ginput_container input[type="search"],
#gform_49 .ginput_container select,
#gform_49 .ginput_container textarea {
  width: 100%;
  appearance: none;
  border: 1px solid var(--border);
  background: #fff0;
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  line-height: 1.4;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow .25s ease, border-color .25s ease, transform .12s ease;
}

/* Placeholder */
#gform_49 ::placeholder {
  color: var(--muted);
  opacity: .8;
}

/* Focus ring */
#gform_49 .ginput_container input:focus,
#gform_49 .ginput_container select:focus,
#gform_49 .ginput_container textarea:focus {
  outline: none;
  border-color: var(--ring-soft);
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--ring) 25%, transparent),
    var(--shadow-sm);
  transform: translateY(-1px);
}

/* Hover (subtle) */
#gform_49 .ginput_container input:hover,
#gform_49 .ginput_container select:hover,
#gform_49 .ginput_container textarea:hover {
  border-color: color-mix(in oklab, var(--ring) 18%, var(--border));
}

/* Select caret (consistent look) */
#gform_49 .ginput_container select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%,
    0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 36px;
}

/* Textarea */
#gform_49 .ginput_container textarea {
  min-height: 140px;
  resize: vertical;
}

/* Checkboxes & radios — use native accent color */
#gform_49 .ginput_container .gfield_checkbox input[type="checkbox"],
#gform_49 .ginput_container .gfield_radio input[type="radio"] {
  accent-color: var(--ring);
}

#gform_49 .gfield_checkbox label,
#gform_49 .gfield_radio label {
  color: var(--text);
}

/* Field description / help text */
#gform_49 .gfield_description,
#gform_49 .instruction {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 6px;
}

/* Validation states */
#gform_49 .gfield_error .ginput_container input,
#gform_49 .gfield_error .ginput_container select,
#gform_49 .gfield_error .ginput_container textarea {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .18);
}

#gform_49 .gfield_validation_message,
#gform_49 .validation_message {
  background: color-mix(in oklab, #ef4444 8%, transparent);
  color: #b91c1c;
  border: 1px solid color-mix(in oklab, #ef4444 35%, transparent);
  border-radius: 10px;
  padding: 8px 10px;
  margin-top: 8px;
}

/* Confirmation message */
#gform_wrapper_49 .gform_confirmation_message {
  background: color-mix(in oklab, var(--ring) 7%, transparent);
  border: 1px solid color-mix(in oklab, var(--ring) 25%, transparent);
  color: var(--text);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Submit area */
#gform_49 .gform_footer,
#gform_49 .gform_page_footer {
  margin-top: 18px;
}

/* Submit button */
#gform_submit_button_49,
#gform_49 .gform_footer .gform_button,
#gform_49 .gform_page_footer .gform_next_button,
#gform_49 .gform_page_footer .gform_previous_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  /* background-image: linear-gradient(58deg, rgb(0, 76, 255) 0.44%, rgb(162, 1, 255) 61.83%); */
  background: linear-gradient(90deg, #4f46e5, #8b5cf6);
  width: 100%;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: white;
  font-weight: 700;
  letter-spacing: .25px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}

#gform_submit_button_49:hover,
#gform_49 .gform_footer .gform_button:hover,
#gform_49 .gform_page_footer .gform_next_button:hover,
#gform_49 .gform_page_footer .gform_previous_button:hover {
  transform: translateY(-2px);
  filter: saturate(1.05);
}

#gform_submit_button_49:active,
#gform_49 .gform_footer .gform_button:active,
#gform_49 .gform_page_footer .gform_next_button:active,
#gform_49 .gform_page_footer .gform_previous_button:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Make submit full-width on small screens */
@media (max-width: 600px) {

  #gform_submit_button_49,
  #gform_49 .gform_footer .gform_button {
    width: 100%;
  }
}

/* Progress bar (if multi-page) */
#gform_49 .gf_progressbar {
  background: color-mix(in oklab, var(--ring) 7%, transparent);
  border-radius: 999px;
  overflow: hidden;
  height: 10px;
}

#gform_49 .gf_progressbar_percentage {
  background: var(--ring);
}

/* File upload input */
#gform_49 .ginput_container_fileupload input[type="file"] {
  border: 1px dashed var(--border);
  padding: 14px;
  border-radius: var(--radius-sm);
}

/* WebKit autofill fix */
#gform_49 input:-webkit-autofill,
#gform_49 select:-webkit-autofill,
#gform_49 textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--bg) inset !important;
  -webkit-text-fill-color: var(--text) !important;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #gform_wrapper_49 * {
    transition: none !important;
  }
}

#gform_wrapper_49 .gfield_required {
  display: none;
}

#form-title {
  margin: 0;
  font-size: 18px;
  font-family: 'General Sans';
  font-weight: 600;
}

#field_49_52 label {
  font-size: 11.5px;
}


span#gform_ajax_spinner_49 {
  position: absolute;
  right: 8px;
  bottom: 14px;
}

#gform_submit_button_49,
#gform_submit_button_49:focus {
  outline: none;
}

#gform_49 {
  position: relative;
}

/* End Gravity Forms */








/* --- Table Skeleton Loading (shimmer) --- */
#ftable-app .ftable-tablewrap[aria-busy="true"] {
  position: relative;
}

#ftable-app tr.skeleton-row td {
  padding-top: 10px;
  padding-bottom: 10px;
}

#ftable-app .skeleton-block {
  display: inline-block;
  height: 12px;
  width: 60%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-soft), #eceff5, var(--bg-soft));
  background-size: 200% 100%;
  animation: ftable-shimmer 1.2s ease-in-out infinite;
}

#ftable-app .skeleton-block.xs {
  height: 10px;
  width: 35%;
}

#ftable-app .skeleton-block.sm {
  width: 45%;
}

#ftable-app .skeleton-block.md {
  width: 60%;
}

#ftable-app .skeleton-block.lg {
  width: 75%;
}

#ftable-app .skeleton-block.xl {
  width: 90%;
}

@keyframes ftable-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Keep actions cell layout when skeleton shows */
#ftable-app .skeleton-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

#ftable-app .skeleton-circle {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bg-soft), #eceff5, var(--bg-soft));
  background-size: 200% 100%;
  animation: ftable-shimmer 1.2s ease-in-out infinite;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {

  #ftable-app .skeleton-block,
  #ftable-app .skeleton-circle {
    animation: none;
  }
}


/* ----- Page Header (Title + Image Banner) ----- */
#ftable-app .ftable-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0px auto 24px;
  gap: 18px;
}

#ftable-app .ftable-header-title h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  font-family: 'General Sans';
  letter-spacing: 0.3px;
  margin-top: 0;
  color: #1e293b;
  margin-bottom: 6px;
  background-image: linear-gradient(58deg, #004CFF 0.44%, #A201FF 61.83%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#ftable-app .ftable-header-title p {
  color: #64748b;
  font-size: 16px;
  margin: 0;
}

#ftable-app .ftable-header-image {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

#ftable-app .ftable-header-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 1.2s ease;
}

#ftable-app .ftable-header-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  #ftable-app .ftable-header {
    margin: 20px auto 16px;
    gap: 12px;
  }

  #ftable-app .ftable-header-title h1 {
    font-size: 30px;
    line-height: 1em;
  }

  #ftable-app .ftable-header-title p {
    font-size: 16px;
  }

  #ftable-app .ftable-header-image {
    border-radius: 10px;
  }

  .ftable-container {
    padding: 0px 16px;
  }
}

/* Make sure <picture> and <img> scale properly */
#ftable-app .ftable-header-image picture,
#ftable-app .ftable-header-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: cover;
}

/* Optional: keep aspect ratio consistent on all screens */

@media (max-width: 768px) {
  #ftable-app .ftable-header-image {
    aspect-ratio: 16 / 9;
    /* slightly taller on mobile */
  }
}


#ftable-app.ftable-app .ftable-container {
  padding: 0 16px 40px;
}

/* Force a plain, white search box on iOS Safari */
#ftable-search,
#ftable-search[type="search"],
#ftable-search input[type="search"],
#ftable-search input[type="text"] {
  -webkit-appearance: none !important;
  /* remove native iOS searchfield */
  appearance: none !important;
  color-scheme: light;
  /* opt out of iOS auto-darkening */
  background-color: #fff !important;
  border: 1px solid #d1d5db;
  /* tweak to match your theme */
  border-radius: 8px;
  box-shadow: none !important;
}

/* Hide WebKit's built-in decorations/cancel button (prevents grey tint) */
#ftable-search::-webkit-search-decoration,
#ftable-search::-webkit-search-cancel-button,
#ftable-search input[type="search"]::-webkit-search-decoration,
#ftable-search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* If Safari ever applies autofill tint, neutralize it */
#ftable-search:-webkit-autofill,
#ftable-search input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #111 !important;
}


.nowrap {
  white-space: nowrap;
}

#ftable-app tbody td:nth-child(5) {
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
  /* improves bidi rendering for mixed EN/AR */
}


/* 1) Price Category (1st column) */
#ftable-app tbody td:nth-child(1),
#ftable-app tbody td:nth-child(1) .tag {
  text-transform: capitalize;
}

/* 2) Activity Name (4th column span.name) */
#ftable-app tbody td:nth-child(4) .name {
  text-transform: capitalize;
}

/* 3) ThirdParty (6th column) */
#ftable-app tbody td:nth-child(6) {
  text-transform: capitalize;
}

#ftable-fav-open {
  background-image: linear-gradient(90deg, #4f46e5, #8b5cf6) !important;
  color: white;
}


/* ===== Speak to our team (below activities table) ===== */
.speak { margin: 48px auto 60px; max-width: 1200px; padding: 0px 16px; }
.speak__head { margin-bottom: 20px; }
.speak__head h2 { font-size: 35px !important; line-height: 1.2; margin: 0 0 8px; text-align: center;}
.speak__head p  { color: #4b5563; margin: 0; text-align: center;}

.speak__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* Left image */
.speak__media { position: relative; }
.speak__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;                  /* rounded image */
  transform: translateY(6px) scale(1);  /* subtle resting state */
  transition: transform .6s ease, box-shadow .6s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
}
.speak__img:hover {
  transform: translateY(0) scale(1.01); /* little animation on hover */
  box-shadow: 0 14px 30px rgba(0,0,0,.10);
}

/* Form side */
.speak__form { width: 100%; }
.speak-form,
#gform_wrapper_13 {                       /* GF wrapper */
  background: #fff;
}

.speak-field { margin-bottom: 14px; }
.speak-field label,
#gform_wrapper_13 .gfield_label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 16px;                       /* desktop label size */
  line-height: 1.2;
}

/* Inputs/Selects/Textareas — border & placeholder color */
.speak-form input[type="text"],
.speak-form input[type="tel"],
.speak-form input[type="email"],
.speak-form textarea,
#gform_wrapper_13 input[type="text"],
#gform_wrapper_13 input[type="tel"],
#gform_wrapper_13 input[type="email"],
#gform_wrapper_13 textarea,
#gform_wrapper_13 select {
  width: 100%;
  border: 1px solid #B2B1B1;             /* required border color */
  border-radius: 8px;
  padding: 20px 12px;
  font-size: 16px;
  background: #fff;
  color: #111827;
  outline: none;
}
.speak-form input::placeholder,
.speak-form textarea::placeholder,
#gform_wrapper_13 input::placeholder,
#gform_wrapper_13 textarea::placeholder {
  color: #B2B1B1;                         /* required placeholder color */
}

/* Submit button */
.speak-btn,
#gform_wrapper_13 .gform_footer .gform_button {
  display: inline-block;
  background-image: linear-gradient(58deg, #004CFF 0.44%, #A201FF 61.83%);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  width: 100%;
  border-radius: 100px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.speak-btn:hover,
#gform_wrapper_13 .gform_footer .gform_button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(14,165,233,.25);
}

.gfield_required {
}



/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .speak__img,
  .speak-btn,
  #gform_wrapper_49 .gform_footer .gform_button { transition: none !important; }
}


#gform_wrapper_13 .gfield_required {
  display: none;
}

#gform_fields_13 {
row-gap: 26px;
    padding-top: 28px;

}

/* Mobile: hide image, make single column, smaller label size */
@media (max-width: 767px) {
  .speak__grid { grid-template-columns: 1fr; gap: 16px; }
  .speak__media { display: none; }        /* hide image on mobile */
  .speak__head h2 { font-size: 24px !important }
  .speak__head p  { font-size: 14px; }
  .speak-field label,
  #gform_wrapper_13 .gfield_label {
    font-size: 15px;                      /* required mobile label size */
  }

  #gform_fields_13 {
    padding-top: 12px;
    row-gap: 20px;

  }
}