/* Design tokens — reference: light shell, navy accents */

.mfta-directory-cta{
    margin-top:40px;
    padding:40px;
    border-radius:16px;
    background:#f8fafc;
    border:1px solid #e5e7eb;
    text-align:center;
}

.mfta-directory-cta-content h3{
    margin:0 0 15px;
    font-size:32px;
    font-weight:700;
    color:#0f172a;
}

.mfta-directory-cta-content p{
    max-width:800px;
    margin:0 auto 25px;
    color:#475569;
    line-height:1.8;
    font-size:16px;
}

.mfta-directory-cta-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.mfta-cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 28px;
    border-radius:10px;
    text-decoration:none;
    font-weight:600;
    transition:.25s ease;
}

.mfta-cta-primary{
    background:#1a2f5c;
    color:#fff !important;
}

.mfta-cta-primary:hover{
    opacity:.9;
    transform:translateY(-2px);
}

.mfta-cta-secondary{
    background:#fff;
    color:#1a2f5c;
    border:2px solid #1a2f5c;
}

.mfta-cta-secondary:hover{
    background:#1a2f5c;
    color:#fff;
}
input#mfta-fd-search {
    border: 0px;
    height: 36px;
}


button#mfta-fd-toggle-csv-request {
    display: none;
}
.mfta-graph-node text {
  transition: all 0.2s ease;
}

.mfta-graph-node text:hover {
  fill: #c0392b;
  transform: scale(1.05);
}
.mfta-locked {
    text-align: center;
}

.lock-overlay {
    background: transparent;
    padding: 0px;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lock-overlay button {
    margin-top: 5px;
    background: #f7f7f7;
    border-radius: 4px;
    color: #1a2f5c;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    pointer-events: auto;
}
.lock-overlay button:hover {
    color: #ffffff;
    background-color: #1a2f5c;
}
.mfta-access-form-wrapper {
    max-width: 500px;
    margin: 40px auto;
}
#mfta-otp-input{

    border:1px solid #d1d5db;
    border-radius:10px;
    padding:14px;
    outline:none;
}

#mfta-otp-input:focus{

    border-color:#1a2f5c;
}
.mfta-otp-timer{
    margin-top:12px;
    font-size:14px;
    color:#64748b;
    text-align:center;
}

#mfta-otp-countdown{
    font-weight:700;
    color:#1a2f5c;
}

#mfta-resend-otp{
    margin-top:15px;
    width:100%;
    border:none;
    background:#eef2ff;
    color:#1a2f5c;
    padding:12px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
}

#mfta-resend-otp:hover{
    background:#dbe4ff;
}

#mfta-access-form input {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

#mfta-access-form button {
    background: #1a2f5c;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}
.lock-text {
    display: inline-block;
    margin-bottom: 6px;
    color: #777;
}

.mfta-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.mfta-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.mfta-modal-box {
    position: relative;
    width: 90%;
    max-width: 900px;
    margin: 80px auto;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    z-index: 2;
}

.mfta-popup-close, .mfta-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 20px !important;
    height: 20px !important;
    border: none;
    background: #1a2f5c !important;
    border-radius: 50%;
    font-size: 26px !important;
    cursor: pointer;
    line-height: 20px !important;
    padding: 0px !important;
}

input#mfta-modal-email {
    width: 100%;
    border: 1px solid #1a2f5c !important;
    border-radius: 6px;
    margin-top: 10px;
}
.mfta-modal-content h2 {
    font-size: 34px;
    line-height: 40px;
    border-bottom: 1px solid #1a2f5c;
    padding-bottom: 10px;
    padding-top: 10px;
}
.mfta-modal-content h3 {
    margin-bottom: 10px;
}

.mfta-modal-content .row {
    margin-bottom: 8px;
}


.mfta-modal-content {
    max-height: 70vh;
    overflow-y: auto;
}

.mfta-modal-section {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mfta-modal-section h4 {
    margin-bottom: 10px;
    color: #1a2f5c;
    font-size: 18px;
    text-decoration: underline;
    font-weight: 600;
}

.mfta-modal-section div {
    margin-bottom: 6px;
    font-size: 14px;
}

.mfta-modal-section strong {
    display: inline-block;
    width: 200px;
}


:root .mfta-fd-dashboard {
  --mfta-navy: #1a2f5c;
  --mfta-navy-2: #243a63;
  --mfta-surface: #ffffff;
  --mfta-canvas: #f4f5f7;
  --mfta-border: #e4e6eb;
  --mfta-text: #1c1e21;
  --mfta-muted: #65676b;
  --mfta-radius: 8px;
  --mfta-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.mfta-fd-dashboard {
  width: 100%;
  margin: 24px auto;
  padding: 0;
  font-family: var(--mfta-font);
  color: var(--mfta-text);
  padding-top: 26px;
}

.mfta-fd-shell {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: var(--mfta-canvas);
  border: 1px solid var(--mfta-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Sidebar */
.mfta-fd-sidebar-pro {
  width: 300px;
  flex-shrink: 0;
  background: var(--mfta-surface);
  border-right: 1px solid var(--mfta-border);
  padding: 20px 18px 24px;
  max-height: none;
  position: relative;
  top: auto;
}

.mfta-fd-sidebar-brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mfta-border);
}

.mfta-fd-brand-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--mfta-text);
}

.mfta-fd-total-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--mfta-navy);
  letter-spacing: -0.02em;
}

.mfta-fd-directory-tabs--stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.mfta-fd-directory-tabs--stack .mfta-fd-tab {
  width: 100%;
  text-align: center;
}

/* Accordion filters */
.mfta-fd-acc {
  border: 1px solid var(--mfta-border);
  border-radius: var(--mfta-radius);
  margin-bottom: 10px;
  background: #fafbfc;
}

.mfta-fd-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mfta-text);
  user-select: none;
}

.mfta-fd-acc summary::-webkit-details-marker {
  display: none;
}

.mfta-fd-acc summary::after {
  content: "▾";
  float: right;
  color: var(--mfta-muted);
  font-size: 12px;
}

.mfta-fd-acc[open] summary::after {
  content: "▴";
}

.mfta-fd-acc > .mfta-fd-checkbox-list,
.mfta-fd-acc > .mfta-checkbox-list,
.mfta-fd-acc > .mfta-fd-radio-group,
.mfta-fd-acc > .mfta-fd-select-label,
.mfta-fd-acc > .mfta-fd-country-search,
.mfta-fd-acc > .mfta-load-more {
  margin: 0 12px 12px;
}

.mfta-fd-checkbox-list,
.mfta-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.mfta-fd-country-scroll {
  max-height: 180px;
}

.mfta-facet-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
  color: var(--mfta-text);
}

.mfta-facet-row input {
  margin-top: 3px;
  accent-color: var(--mfta-navy);
}

.mfta-facet-text {
  line-height: 1.35;
}

.mfta-checkbox-list .hidden-item,
.mfta-fd-checkbox-list .hidden-item {
  display: none !important;
}

.mfta-fd-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: var(--mfta-text);
}

.mfta-fd-radio-group label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: pointer;
}

.mfta-fd-select-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mfta-muted);
}

.mfta-fd-select-label-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mfta-fd-select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--mfta-border);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
}

.mfta-fd-country-search {
  width: 91% !important;
  padding: 8px 10px!important;
  border: 1px solid var(--mfta-border)!important;
  border-radius: 6px!important;
  font-size: 13px;
  box-sizing: border-box;
}

.mfta-load-more {
  margin-top: 4px;
  background: #eef0f3;
  border: 1px solid var(--mfta-border);
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 12px;
  width: calc(100% - 24px);
}

.mfta-fd-btn-outline {
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--mfta-radius);
  border: 1px solid var(--mfta-border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--mfta-navy);
}

.mfta-fd-btn-outline:hover {
  border-color: var(--mfta-navy);
  background: #f8f9fb;
}

.mfta-fd-fullwidth {
  width: 100%;
}

.mfta-fd-csv-lead {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

/* Main card */
.mfta-fd-main-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--mfta-surface);
}

.mfta-fd-card-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--mfta-border);
  background: #fff;
}

.mfta-fd-view-switch {
  display: inline-flex;
  border: 1px solid var(--mfta-border);
  border-radius: var(--mfta-radius);
  overflow: hidden;
  background: #f0f2f5;
}

.mfta-fd-view-btn {
  border: 0;
  background: transparent;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--mfta-muted);
}

.mfta-fd-view-btn:hover {
  color: var(--mfta-text);
}

.mfta-fd-view-btn.active {
  background: var(--mfta-navy);
  color: #fff;
}

.mfta-fd-toolbar-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--mfta-border);
  border-radius: var(--mfta-radius);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--mfta-text);
}

.mfta-fd-toolbar-share:hover {
  background: #f8f9fb;
}

.mfta-fd-share-ic {
  font-size: 14px;
  line-height: 1;
}

.mfta-fd-search-wrap {
  flex: 1 1 200px;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  height: 40px;
  border: 1px solid var(--mfta-border);
  border-radius: 22px;
  background: #f8f9fb;
}

.mfta-fd-search-ic {
  color: var(--mfta-muted);
  font-size: 16px;
  line-height: 1;
}

.mfta-fd-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.mfta-fd-toolbar-actions {
  display: flex;
  gap: 8px;
}

.mfta-fd-icon-sq {
  width: 40px;
  height: 40px;
  border-radius: var(--mfta-radius);
  border: 1px solid var(--mfta-border);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  color: var(--mfta-navy);
  padding: 2px;
}

.mfta-fd-icon-sq:hover {
  background: #f4f6f9;
}

.mfta-fd-card-body {
  flex: 1;
  padding: 16px 18px 8px;
  min-height: 420px;
}

.mfta-fd-view-pane[hidden] {
  display: none !important;
}

.mfta-fd-view-pane.is-active {
  display: block;
}

.mfta-fd-table-scroll {
  max-height: min(100vh, 920px);
  overflow: auto;
  border: 1px solid var(--mfta-border);
  border-radius: var(--mfta-radius);
  background: #fff;
}
.mfta-graph-links line {
  stroke: #1a2f5c !important;
  stroke-opacity: 0.8;
}
.mfta-graph-svg {
    height: 800px !important;
}

/* Map */
.mfta-fd-map {
  height: min(58vh, 520px);
  width: 100%;
  border-radius: var(--mfta-radius);
  border: 1px solid var(--mfta-border);
  background: #e8eaed;
}

.mfta-leaflet-divicon {
  background: transparent !important;
  border: none !important;
}

.mfta-leaflet-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.mfta-leaflet-pin-circle {
  background: var(--mfta-navy);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  text-align: center;
  margin: 0 auto;
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(26, 47, 92, 0.35);
  font-size: 14px;
}

.mfta-leaflet-pin-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--mfta-navy);
  margin-top: 4px;
  max-width: 140px;
  text-align: center;
  line-height: 1.2;
  white-space: normal;
}

/* Graph */
.mfta-fd-graph-stage {
  min-height: 460px;
  width: 100%;
  border: 1px solid var(--mfta-border);
  border-radius: var(--mfta-radius);
  background: linear-gradient(180deg, #fafbfc 0%, #f0f2f5 100%);
  overflow: hidden;
}

.mfta-graph-svg {
  display: block;
}

.mfta-graph-empty {
  padding: 24px;
  color: var(--mfta-muted);
}

.mfta-graph-node {
  cursor: grab;
}

.mfta-graph-node:active {
  cursor: grabbing;
}

/* Timeline footer */
.mfta-fd-timeline-pro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 12px 18px 16px;
  border-top: 1px solid var(--mfta-border);
  background: #fff;
}

.mfta-fd-zoom-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--mfta-muted);
  min-width: 42px;
}

.mfta-fd-tl-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--mfta-border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
  color: var(--mfta-navy);
}

.mfta-fd-tl-icon:hover {
  background: #f4f6f9;
}

.mfta-fd-timeline-rail {
  flex: 1;
  min-width: 160px;
}

.mfta-fd-timeline-rail input[type="range"] {
  width: 100%;
  accent-color: var(--mfta-navy);
}

.mfta-fd-year-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--mfta-muted);
  margin-top: 4px;
}

.mfta-fd-year-chip {
  font-weight: 700;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--mfta-navy);
  color: #fff;
}

/* Table */
.mfta-fd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mfta-fd-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f5f7;
  border-bottom: 1px solid var(--mfta-border);
  padding: 0;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
}

.mfta-fd-table thead th .mfta-sort {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  color: var(--mfta-text);
  text-align: left;
}

.mfta-fd-table thead th .mfta-sort:hover {
  background: #eceef2;
}

.mfta-sort-arrows::before {
  content: "⇅";
  font-size: 11px;
  color: var(--mfta-muted);
  font-weight: 400;
}

.mfta-sort.mfta-sort--asc .mfta-sort-arrows::before {
  content: "↑";
  color: var(--mfta-navy);
}

.mfta-sort.mfta-sort--desc .mfta-sort-arrows::before {
  content: "↓";
  color: var(--mfta-navy);
}

.mfta-fd-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f3;
  vertical-align: middle;
}

.mfta-fd-table tbody tr:hover {
  background: #f9fafb;
}

.mfta-col-status {
  width: 44px;
  text-align: center;
}

.mfta-status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #999;
}

.mfta-status-dot.is-active {
  background: #1a7f37;
}

.mfta-status-dot.is-inactive {
  background: #c5221f;
}

.mfta-seg-more {
  display: block;
  font-size: 12px;
  color: var(--mfta-muted);
  margin-top: 2px;
}

.mfta-fd-pagination-modern {
  padding: 12px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--mfta-border);
  background: #fafbfc;
}

.mfta-fd-pagination-modern .mfta-fd-prev-btn,
.mfta-fd-pagination-modern .mfta-fd-next-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--mfta-border);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  color: var(--mfta-navy);
}

.mfta-fd-pagination-modern .mfta-fd-prev-btn:hover,
.mfta-fd-pagination-modern .mfta-fd-next-btn:hover {
  background: #f4f6f9;
}

.mfta-fd-page-input {
  width: 64px;
  padding: 6px 8px;
  border: 1px solid var(--mfta-border);
  border-radius: 6px;
}

.mfta-fd-loading {
  padding: 40px;
  text-align: center;
  color: var(--mfta-muted);
}

/* Directory tabs (pill) */
.mfta-fd-tab {
  border-radius: var(--mfta-radius) !important;
  background: #e4e6eb !important;
  color: var(--mfta-text) !important;
  border: 0;
  padding: 8px 12px !important;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.mfta-fd-view-switch button:hover {
    color: #fff !important;
}
.mfta-fd-tab:hover {
  background: #d8dbe0 !important;
}

.mfta-fd-tab.active {
  background: var(--mfta-navy) !important;
  color: #fff !important;
}

/* Submission form (other shortcode) */
.mfta-fd-wrapper:not(.mfta-fd-dashboard) {
  max-width: 720px;
  margin: 20px auto;
  padding: 15px;
}

.mfta-fd-form {
  background: #fff;
  border: 1px solid var(--mfta-border);
  padding: 18px;
  border-radius: var(--mfta-radius);
}

.mfta-fd-form h2 {
  margin-top: 0;
  font-size: 22px;
}

.mfta-fd-field {
  margin-bottom: 14px;
}

.mfta-fd-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.mfta-fd-field input,
.mfta-fd-field select,
.mfta-fd-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.mfta-fd-checkboxes {
  margin-top: 15px;
  margin-bottom: 15px;
}

.mfta-fd-checkboxes label {
  display: block;
  margin-bottom: 8px;
  font-weight: 400;
}

.mfta-fd-btn {
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 11px 18px;
  cursor: pointer;
  border-radius: 6px;
}

.mfta-fd-btn:hover {
  background: #005a87;
}

.mfta-fd-btn-secondary,
button#mfta-submit-csv-request {
  background: var(--mfta-navy);
  color: #fff;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 6px;
}

.mfta-fd-btn-secondary:hover,
button#mfta-submit-csv-request:hover {
  background: var(--mfta-navy-2);
}

.mfta-fd-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 6px;
}

.mfta-fd-message.success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.mfta-fd-message.error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.mfta-csv-request-form {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mfta-csv-request-form label {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 4px;
}

.mfta-csv-request-form input.wide {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

@media (max-width: 960px) {
  .mfta-fd-shell {
    flex-direction: column;
  }

  .mfta-fd-sidebar-pro {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--mfta-border);
  }

  .mfta-fd-directory-tabs--stack {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .mfta-fd-directory-tabs--stack .mfta-fd-tab {
    flex: 1;
  }

  .mfta-fd-card-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .mfta-fd-view-switch {
    width: 100%;
    justify-content: stretch;
  }

  .mfta-fd-view-btn {
    flex: 1;
    text-align: center;
  }

  .mfta-fd-toolbar-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 640px) {
  .mfta-fd-table,
  .mfta-fd-table thead,
  .mfta-fd-table tbody,
  .mfta-fd-table th,
  .mfta-fd-table td,
  .mfta-fd-table tr {
    display: block;
  }

  .mfta-fd-table thead {
    display: none;
  }

  .mfta-fd-table tr {
    border: 1px solid var(--mfta-border);
    margin-bottom: 10px;
    padding: 10px;
    border-radius: var(--mfta-radius);
  }

  .mfta-fd-table td {
    border: none;
    padding: 6px 0;
  }

  .mfta-fd-table td:before {
    content: attr(data-label) ": ";
    font-weight: 700;
    display: inline-block;
    min-width: 130px;
    color: var(--mfta-muted);
  }
}


/* =========================================================
   MFTA MODERN SUBMISSION FORM
========================================================= */

.page-header.customheadr {
   max-width: 720px;
    margin: 0 auto;
    padding: 40px 0px !important;
}

.customheadr .page-title {
    font-size: 40px!important;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin-bottom: 4px;
    margin-top:20px;
   line-height: 44px!important;
}

.customheadr .page-desc {
    font-size: 16px!important;
    color: #6b6b6b;
    line-height: 20px;
}

.container.directorysubmission {
    max-width: 720px;
    margin: 0 auto;
}

/* =========================================
   ACCESS FORM
========================================= */

.mfta-access-card {
    max-width: 720px;
    margin: 0 auto;
}

.mfta-access-message {
    margin-top: 14px;
    font-size: 13px;
}
.accessRequest .mfta-consent-wrap input[type="checkbox"] {
    width: 15px !important;
    margin-top: 0px;
}
/* Tabs */

.mfta-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.25rem;
    border: 0.5px solid rgba(0,0,0,0.18);
    border-radius: 8px;
    overflow: hidden;
    width: fit-content;
    background: #fff;
}

.mfta-tab {
    padding: 8px 22px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    color: #6b6b6b;
    border: none;
    transition: all .15s ease;
    position: relative;
}

.mfta-tab + .mfta-tab {
    border-left: 0.5px solid rgba(0,0,0,0.18);
}

.mfta-tab.active-web3 {
    background: #E1F5EE;
    color: #085041;
}

.mfta-tab.active-fintech {
    background: #EEEDFE;
    color: #3C3489;
}

/* Card */

.mfta-card {
    background: #fff;
    border: 0.5px solid rgba(0,0,0,0.18);
    border-radius: 12px;
    padding: 1.75rem;
}

/* Badge */

.mfta-type-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    letter-spacing: .01em;
}

.badge-web3 {
    background: #E1F5EE;
    color: #085041;
}

.badge-fintech {
    background: #EEEDFE;
    color: #3C3489;
}

/* Section Label */

.mfta-section-label {
    font-size: 10.5px;
    font-weight: 500;
    color: #aaaaaa;
    text-transform: uppercase;
    letter-spacing: .09em;
    margin: 1.5rem 0 .75rem;
    padding-bottom: 6px;
    border-bottom: .5px solid rgba(0,0,0,0.1);
}

.mfta-section-label:first-of-type {
    margin-top: 0;
}

/* Grids */

.mfta-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mfta-grid3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

@media (max-width: 520px) {
    .mfta-grid2,
    .mfta-grid3 {
        grid-template-columns: 1fr;
    }
}

/* Fields */

.mfta-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mfta-field label {
    font-size: 12px;
    font-weight: 500;
    color: #6b6b6b;
}

.req {
    color: #e24b4a;
}
.mfta-modern-form .mfta-field input, .mfta-modern-form .mfta-field select, .mfta-modern-form .mfta-field textarea {
    border-radius: 6px;
    background: #fff;
    border-color: #999999;
}

form#mfta-fd-submission-form input:hover, form#mfta-fd-submission-form select:hover, form#mfta-fd-submission-form textarea:hover, form#mfta-fd-submission-form input:focus, form#mfta-fd-submission-form select:focus, form#mfta-fd-submission-form textarea:focus {
    border-color:#1C2050 !important;
    box-shadow: none !important;
}
.mfta-field input,
.mfta-field select,
.mfta-field textarea {
    font-family: inherit;
    font-size: 13px;
    color: #1a1a1a;
    /*background: #f7f7f5;*/
    /*border: 0.5px solid rgba(0,0,0,0.18);*/
    /*border-radius: 6px;*/
    padding: 7px 10px;
    outline: none;
    transition: all .15s ease;
    appearance: none;
    width: 100%;
    box-shadow: none;
}

.mfta-field select {
    background-image: url(data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b6b6b' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E) !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    padding-right: 28px !important;
    cursor: pointer !important;
}
.mfta-field select:invalid {
    color: #aaaaaa;
}

.mfta-field select option {
    color: #1a1a1a;
}

.mfta-field textarea {
    resize: vertical;
    min-height: 90px;
}

.mfta-field input::placeholder,
.mfta-field textarea::placeholder {
    color: #aaaaaa;
}

/* Notes */

.mfta-note {
    font-size: 11.5px;
    color: #6b6b6b;
    background: #f7f7f5;
    border-radius: 6px;
    padding: 9px 12px;
    margin-top: 1.25rem;
    border: .5px solid rgba(0,0,0,0.1);
    line-height: 1.55;
}

/* Buttons */

.mfta-btn-fintech,
.mfta-btn-web3 {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-weight: 500;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background .15s ease;
    letter-spacing: -.01em;
}

.mfta-btn-fintech:hover {
    background: #3C3489;
}

.mfta-btn-web3 {
    background: #1D9E75;
}

.mfta-btn-web3:hover {
    background: #085041;
}

/* Message */

.mfta-fd-message {
    margin-top: 14px;
    font-size: 13px;
}

/* Utilities */

.mt12 {
    margin-top: 12px;
}

/* Consent Checkboxes */

.mfta-consent-wrap {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mfta-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: #5b5b5b;
    cursor: pointer;
}

.mfta-check input[type="checkbox"] {
    width: 15px !important;
    height: 15px !important;
    margin-top: 2px;
    accent-color: #534AB7;
    cursor: pointer;
    flex-shrink: 0;
}
.mfta-form-web3 .mfta-check input[type="checkbox"] {
    accent-color: #1D9E75;
}

/* =========================================
   GLOBAL POPUP
========================================= */

.mfta-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mfta-popup.active {
    display: flex;
}

.mfta-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(4px);
}

.mfta-popup-box {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    padding: 34px 28px;
    z-index: 2;
    text-align: center;
    animation: mftaPopupIn .25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
}

@keyframes mftaPopupIn {

    from {
        opacity: 0;
        transform: translateY(10px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mfta-popup-close, .mfta-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
}

.mfta-popup-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: bold;
}

.mfta-popup.success .mfta-popup-icon {
    background: #E8F8F0;
    color: #17a36b;
}

.mfta-popup.error .mfta-popup-icon {
    background: #FDECEC;
    color: #d64242;
}

.mfta-popup-title {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.mfta-popup-message {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
}

.mfta-email-error{
    display:none;
    color:#dc2626;
    font-size:13px;
    margin-top:6px;
}

.mfta-invalid-email{
    border-color:#dc2626 !important;
}
/* Body Background */
