/* ============================================================
   CADRILL — CAD 3D Flange Drawings & Library
   Structure modeled on Texas Flange (texasflange.com/cad-3d-flange-drawings)
   ============================================================ */

/* Universal Arial font enforcement */
*, *::before, *::after, body, button, input, select, textarea, table, th, td, code, pre, span, p, h1, h2, h3, h4, h5, h6 {
  font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif !important;
}

body {
  background: #ffffff !important;
  color: #0f172a;
}

/* ── COMPACT CAD SOFTWARE UTILITY HEADER ── */
.fl-utility-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 18px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.fl-utility-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fl-utility-header__logo {
  font-size: 26px;
  line-height: 1;
}
.fl-utility-header__title {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.2;
}
.fl-utility-header__sub {
  font-size: 12px;
  color: #64748b;
  margin: 2px 0 0;
  line-height: 1.4;
}
.fl-utility-header__quota {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #0f172a;
  background: #f8fafc;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}
.fl-utility-header__quota strong {
  color: #fe6501;
}

/* ── CAD COMPONENT CATEGORY TABS BAR (FLANGE, PIPE, FASTENER) ── */
.fl-category-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}
@media (max-width: 768px) {
  .fl-category-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
.fl-cat-tab {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  outline: none;
}
.fl-cat-tab:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  transform: translateY(-1px);
}
.fl-cat-tab.active {
  border-color: #fe6501;
  background: #fff8f5;
  box-shadow: 0 2px 8px rgba(254, 101, 1, 0.12);
}
.fl-cat-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}
.fl-cat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.fl-cat-tab:hover .fl-cat-thumb {
  border-color: #cbd5e1;
}
.fl-cat-tab:hover .fl-cat-img {
  transform: scale(1.06);
}
.fl-cat-tab.active .fl-cat-thumb {
  border-color: #fe6501;
  box-shadow: 0 0 0 2px rgba(254, 101, 1, 0.25);
}
.fl-cat-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: #f1f5f9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.fl-cat-tab:hover .fl-cat-icon {
  background: #e2e8f0;
  color: #1e293b;
}
.fl-cat-tab.active .fl-cat-icon {
  background: #ffedd5;
  color: #fe6501;
}
.fl-cat-info {
  overflow: hidden;
  flex: 1;
}
.fl-cat-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fl-cat-tab.active .fl-cat-name {
  color: #fe6501;
}
.fl-cat-sub {
  display: block;
  font-size: 11.5px;
  color: #64748b;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fl-cad-hero__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.fl-cad-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.fl-cad-badge--orange {
  background: rgba(254, 101, 1, 0.14);
  border-color: rgba(254, 101, 1, 0.35);
  color: #ff8533;
}

/* ── LOCAL FOLDER INTEGRATION BAR (C:\Users\Cadrill\Desktop\SLIP-ON-FlANGES) ── */
.fl-desktop-sync {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #0f172a;
  transition: all 0.2s;
}
.fl-desktop-sync.drag-over {
  border-color: #fe6501;
  background: #fff8f5;
  transform: scale(1.002);
}
.fl-desktop-sync__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fl-desktop-sync__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #fff0e6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fe6501;
  font-size: 18px;
  flex-shrink: 0;
}
.fl-desktop-sync__title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fl-desktop-sync__path {
  display: inline-block;
  font-family: Arial, sans-serif !important;
  font-size: 12px;
  background: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  color: #c2410c;
  border: 1px solid #fed7aa;
}
.fl-desktop-sync__subtitle {
  font-size: 12px;
  color: #64748b;
}
.fl-desktop-sync__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.fl-desktop-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fe6501;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.fl-desktop-btn:hover {
  background: #e05500;
  transform: translateY(-1px);
}
.fl-sync-status {
  font-size: 12px;
  color: #4ade80;
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ── MAIN WORKSPACE CONTAINER ── */
.fl-cad-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 64px;
}

/* ── FILTER SECTION (TEXAS FLANGE STYLE) ── */
.fl-cad-filters {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 24px;
  margin-bottom: 32px;
}
.fl-cad-filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f0f2f5;
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.fl-cad-filters__title {
  font-size: 18px;
  font-weight: 900;
  color: #111827;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fl-cad-filters__title svg {
  color: #fe6501;
}
.fl-cad-filters__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.fl-cad-reset-btn {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #4b5563;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}
.fl-cad-reset-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111;
}

/* Filter Rows */
.fl-cad-grid-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.fl-filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fl-filter-group label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}
.fl-filter-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #111827;
  background: #f9fafb;
  outline: none;
  cursor: pointer;
  transition: all 0.15s;
}
.fl-filter-select:focus {
  border-color: #fe6501;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(254, 101, 1, 0.12);
}

/* Quick Size Pills */
.fl-quick-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
  align-items: center;
}
.fl-quick-sizes__label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #9ca3af;
  margin-right: 6px;
}
.fl-size-pill {
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
}
.fl-size-pill:hover {
  border-color: #fe6501;
  background: #fff7ed;
  color: #c2410c;
}
.fl-size-pill.active {
  background: #fe6501;
  border-color: #fe6501;
  color: #fff;
}

/* Live Search bar */
.fl-search-box {
  position: relative;
}
.fl-search-input {
  width: 100%;
  padding: 9px 12px 9px 36px;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 13.5px;
  color: #111;
  background: #fff;
  outline: none;
  transition: all 0.15s;
}
.fl-search-input:focus {
  border-color: #fe6501;
  box-shadow: 0 0 0 3px rgba(254, 101, 1, 0.12);
}
.fl-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}

/* ── 3D MODEL VIEWER + CAD PREVIEW SECTION ── */
.fl-viewer-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
}
@media (max-width: 960px) {
  .fl-viewer-layout {
    grid-template-columns: 1fr;
  }
}

.fl-viewer-stage {
  position: relative;
  background: #ffffff !important;
  border-right: 1.5px solid #e2e8f0;
  min-height: 440px;
  display: flex;
  flex-direction: column;
}
@media (max-width: 960px) {
  .fl-viewer-stage {
    border-right: none;
    border-bottom: 1.5px solid #e2e8f0;
  }
}
.fl-viewer-canvas {
  width: 100%;
  height: 440px;
  display: block;
  outline: none;
  background: #ffffff;
}
.fl-viewer-hud {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  color: #0f172a;
  font-size: 12px;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.fl-viewer-hud__title {
  font-weight: 800;
  font-size: 13.5px;
  color: #fe6501;
  margin-bottom: 2px;
}
.fl-viewer-hud__specs {
  font-family: Arial, sans-serif !important;
  font-size: 11.5px;
  color: #475569;
}

.fl-viewer-toolbar {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: flex;
  gap: 8px;
  z-index: 5;
  flex-wrap: wrap;
}
.fl-tool-btn {
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: all 0.15s;
}
.fl-tool-btn:hover {
  background: #fe6501;
  color: #fff;
  border-color: #fe6501;
}
.fl-tool-btn.active {
  background: #fe6501;
  color: #fff;
  border-color: #fe6501;
}

/* 3D Viewer Side Panel */
.fl-viewer-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  background: #fafbfc;
  border-left: 1px solid #e5e7eb;
}
.fl-info-badge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  align-self: flex-start;
}
.fl-info-title {
  font-size: 20px;
  font-weight: 900;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 12px;
}
.fl-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12.5px;
}
.fl-info-item {
  background: #fff;
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
.fl-info-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 2px;
}
.fl-info-val {
  font-weight: 800;
  color: #1f2937;
}

.fl-download-box {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fl-dl-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fe6501;
  color: #fff;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 2px 10px rgba(254, 101, 1, 0.25);
  border: none;
  cursor: pointer;
}
.fl-dl-btn-primary:hover {
  background: #e05500;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(254, 101, 1, 0.35);
}
.fl-dl-btn-sec {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #1f2937;
  border: 1.5px solid #d1d5db;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s;
}
.fl-dl-btn-sec:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

/* ── CAD DRAWINGS & SPECIFICATIONS TABLE (TEXAS FLANGE STYLE) ── */
.fl-table-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 36px;
}
.fl-table-header {
  padding: 16px 20px;
  background: #f8fafc;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fl-table-header__title {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fl-table-header__count {
  font-size: 11.5px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  padding: 2px 10px;
  border-radius: 12px;
  font-weight: 700;
}
.fl-batch-zip-btn {
  background: #fe6501;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.fl-batch-zip-btn:hover {
  background: #e05500;
  transform: translateY(-1px);
}

.fl-table-scroll {
  overflow-x: auto;
}
.fl-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 980px;
}
.fl-spec-table thead tr {
  background: #f8fafc;
  border-bottom: 2px solid #e2e8f0;
}
.fl-spec-table th {
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #475569;
  text-align: left;
  white-space: nowrap;
}
.fl-spec-table th.center { text-align: center; }
.fl-spec-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.12s;
}
.fl-spec-table tbody tr:hover {
  background: #fffaf5;
}
.fl-spec-table tbody tr.active-row {
  background: #fff4ec;
  border-left: 3px solid #fe6501;
}
.fl-spec-table td {
  padding: 11px 14px;
  color: #1e293b;
  vertical-align: middle;
}
.fl-spec-table td.center { text-align: center; }
.fl-spec-table td.bold { font-weight: 800; color: #0f172a; }

.fl-size-tag {
  display: inline-block;
  background: #0f172a;
  color: #fe6501;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11.5px;
  white-space: nowrap;
}
.fl-action-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}
.fl-tbl-btn {
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.12s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.fl-tbl-btn--step {
  background: #fe6501;
  color: #fff;
}
.fl-tbl-btn--step:hover {
  background: #d85400;
}
.fl-tbl-btn--dxf {
  background: #e2e8f0;
  color: #334155;
}
.fl-tbl-btn--dxf:hover {
  background: #cbd5e1;
  color: #0f172a;
}
.fl-tbl-btn--3d {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #cbd5e1;
}
.fl-tbl-btn--3d:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

/* ── ENGINEERING STANDARDS REFERENCE ACCORDIONS (TEXAS FLANGE STYLE) ── */
.fl-reference-section {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 28px;
  margin-top: 36px;
}
.fl-reference-title {
  font-size: 20px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fl-reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.fl-ref-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
}
.fl-ref-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
  border-bottom: 2px solid #fe6501;
  padding-bottom: 6px;
  display: inline-block;
}
.fl-ref-card p, .fl-ref-card li {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
}
.fl-ref-card ul {
  padding-left: 18px;
  margin-top: 8px;
}
.fl-ref-card li {
  margin-bottom: 6px;
}

/* ── TOAST / NOTIFICATION ── */
.fl-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  border-left: 4px solid #fe6501;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.fl-toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── DAILY CAD DOWNLOAD LIMIT STYLES (MAX 5/DAY PER IP) ── */
.fl-download-limit-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fl-download-limit-box.warning {
  background: #fff7ed;
  border-color: #fdba74;
}
.fl-download-limit-box.exhausted {
  background: #fef2f2;
  border-color: #fca5a5;
}
.fl-download-limit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
  color: #1e293b;
}
.fl-limit-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 6px;
}
.fl-download-limit-box.warning .fl-limit-dot {
  background: #f59e0b;
}
.fl-download-limit-box.exhausted .fl-limit-dot {
  background: #ef4444;
}
.fl-download-limit-bar-bg {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}
.fl-download-limit-bar-fill {
  height: 100%;
  background: #fe6501;
  border-radius: 4px;
  transition: width 0.3s ease;
}
.fl-download-limit-box.exhausted .fl-download-limit-bar-fill {
  background: #ef4444;
}
.fl-download-limit-note {
  font-size: 11px;
  color: #64748b;
  display: flex;
  justify-content: space-between;
}

/* ── LIMIT REACHED MODAL POPUP ── */
.fl-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.fl-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.fl-modal-card {
  background: #111827;
  color: #fff;
  border: 2px solid rgba(254, 101, 1, 0.5);
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
  text-align: center;
}
.fl-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
}
.fl-modal-close:hover {
  color: #fff;
}
.fl-modal-badge {
  display: inline-block;
  background: rgba(254, 101, 1, 0.16);
  color: #fe6501;
  border: 1px solid rgba(254, 101, 1, 0.35);
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.fl-modal-title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}
.fl-modal-text {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 20px;
}
.fl-modal-meta {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 22px;
  text-align: left;
  font-size: 12.5px;
}
.fl-modal-meta-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  color: #cbd5e1;
}
.fl-modal-meta-row:last-child {
  margin-bottom: 0;
}
.fl-modal-meta-row strong {
  color: #fe6501;
}
.fl-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}
.fl-modal-btn {
  background: #fe6501;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 22px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s;
}
.fl-modal-btn:hover {
  background: #e05500;
}
.fl-modal-btn--sec {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.fl-modal-btn--sec:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

