/* ============================================================
   FlightDeck — Component Library (Design System v2.0)
   ============================================================ */

/* ================================================================
   1. GLASS PANELS & CARDS
   ================================================================ */

/* Standard glass panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--fd-radius-xl);
  box-shadow: var(--fd-shadow-glass);
}

/* Glass card (lighter) */
.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--fd-radius-xl);
  box-shadow: 0 2px 16px rgba(0,0,0,0.03), inset 0 1px 0 rgba(255,255,255,0.7);
}

/* Panel header */
.glass-panel-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--fd-grey-divider);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--fd-grey-900);
}

.glass-panel-body {
  padding: 20px 22px;
}

/* Panel link */
.glass-panel-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--fd-blue-600);
  text-decoration: none;
  transition: opacity 0.15s;
}
.glass-panel-link:hover { opacity: 0.75; }

/* ================================================================
   2. METRIC CARDS
   ================================================================ */

.fd-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.fd-metric-card {
  border-radius: var(--fd-radius-xl);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
  text-decoration: none;
  display: block;
}

.fd-metric-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--fd-shadow-hover);
}

/* Metric card variants */
.fd-metric-card--blue {
  background: linear-gradient(135deg, rgba(235,245,251,0.92), rgba(255,255,255,0.75));
  border: 1px solid rgba(41,128,185,0.12);
  box-shadow: 0 4px 20px rgba(41,128,185,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.fd-metric-card--green {
  background: linear-gradient(135deg, rgba(234,250,241,0.92), rgba(255,255,255,0.75));
  border: 1px solid rgba(39,174,96,0.12);
  box-shadow: 0 4px 20px rgba(39,174,96,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.fd-metric-card--teal {
  background: linear-gradient(135deg, rgba(235,248,251,0.92), rgba(255,255,255,0.75));
  border: 1px solid rgba(23,162,184,0.12);
  box-shadow: 0 4px 20px rgba(23,162,184,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}
.fd-metric-card--emerald {
  background: linear-gradient(135deg, rgba(209,250,229,0.92), rgba(255,255,255,0.75));
  border: 1px solid rgba(16,185,129,0.12);
  box-shadow: 0 4px 20px rgba(16,185,129,0.06), inset 0 1px 0 rgba(255,255,255,0.9);
}

/* Decorative orb inside metric card */
.fd-metric-orb {
  position: absolute;
  top: -20px; right: -20px;
  width: 100px; height: 100px;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.fd-metric-card--blue .fd-metric-orb { background: var(--fd-blue-500); }
.fd-metric-card--green .fd-metric-orb { background: var(--fd-green-600); }
.fd-metric-card--teal .fd-metric-orb { background: var(--fd-teal-500); }
.fd-metric-card--emerald .fd-metric-orb { background: var(--fd-emerald-500); }

.fd-metric-icon-badge {
  width: 40px; height: 40px;
  border-radius: var(--fd-radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.fd-metric-icon-badge svg {
  width: 20px; height: 20px;
  stroke: white; fill: none; stroke-width: 1.5;
}
.fd-metric-card--blue .fd-metric-icon-badge {
  background: linear-gradient(135deg, #2980B9, #5DADE2);
  box-shadow: 0 4px 12px rgba(41,128,185,0.3);
}
.fd-metric-card--green .fd-metric-icon-badge {
  background: linear-gradient(135deg, #27AE60, #2ECC71);
  box-shadow: 0 4px 12px rgba(39,174,96,0.3);
}
.fd-metric-card--teal .fd-metric-icon-badge {
  background: linear-gradient(135deg, #17A2B8, #4DD0E1);
  box-shadow: 0 4px 12px rgba(23,162,184,0.3);
}
.fd-metric-card--emerald .fd-metric-icon-badge {
  background: linear-gradient(135deg, #10B981, #34D399);
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.fd-metric-overline {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--fd-grey-500);
  margin-bottom: 4px;
}

.fd-metric-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--fd-grey-900);
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.fd-metric-trend {
  font-size: 12px;
  font-weight: 500;
  color: var(--fd-grey-500);
}

.fd-metric-trend--up { color: var(--fd-green-600); }
.fd-metric-trend--down { color: var(--fd-red-600); }

.fd-metric-progress {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  margin-top: 10px;
  overflow: hidden;
}
.fd-metric-progress-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--fd-blue-gradient);
  transition: width 0.6s ease-out;
}

/* ================================================================
   3. BUTTONS
   ================================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-out;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn svg {
  width: 18px; height: 18px;
  stroke: currentColor; fill: none; stroke-width: 1.5;
  flex-shrink: 0;
}

/* Primary */
.btn-primary {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--fd-radius-md);
  background: var(--fd-blue-gradient);
  color: white;
  box-shadow: var(--fd-shadow-btn-glow);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}
.btn-primary:hover { filter: brightness(1.08); box-shadow: 0 10px 36px rgba(41,128,185,0.45); }

.btn-primary-lg {
  height: 52px;
  padding: 0 28px;
  border-radius: var(--fd-radius-lg);
  font-size: 15px;
}

.btn-primary-sm {
  height: 36px;
  padding: 0 14px;
  border-radius: var(--fd-radius-md);
  font-size: 13px;
}

/* Secondary */
.btn-secondary {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--fd-radius-md);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  color: var(--fd-blue-600);
}
.btn-secondary:hover { background: rgba(255,255,255,0.85); box-shadow: 0 2px 12px rgba(0,0,0,0.06); }

.btn-secondary-sm {
  height: 36px;
  padding: 0 14px;
  font-size: 13px;
}

/* Ghost */
.btn-ghost {
  height: 44px;
  padding: 0 16px;
  border-radius: var(--fd-radius-md);
  background: transparent;
  color: var(--fd-grey-700);
  font-size: 13px;
}
.btn-ghost:hover { background: rgba(0,0,0,0.04); }

/* Danger */
.btn-danger {
  height: 44px;
  padding: 0 20px;
  border-radius: var(--fd-radius-md);
  background: var(--fd-red-gradient);
  color: white;
  box-shadow: var(--fd-shadow-btn-danger-glow);
}
.btn-danger:hover { filter: brightness(1.06); }

/* Icon Button */
.btn-icon {
  width: 38px; height: 38px;
  border-radius: var(--fd-radius-md);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.btn-icon:hover { background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.btn-icon svg {
  width: 18px; height: 18px;
  stroke: var(--fd-grey-500); fill: none; stroke-width: 1.5;
}

/* ================================================================
   4. FORM INPUTS
   ================================================================ */

.fd-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fd-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--fd-grey-700);
  letter-spacing: 0.3px;
}

/* Text Input (light bg) */
.fd-input {
  height: 44px;
  padding: 0 14px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--fd-grey-900);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  width: 100%;
}
.fd-input::placeholder { color: var(--fd-grey-500); }
.fd-input:focus {
  border-color: var(--fd-blue-600);
  box-shadow: var(--fd-shadow-focus);
  background: rgba(255,255,255,0.85);
}

.fd-input-icon-wrap {
  position: relative;
}
.fd-input-icon-wrap .fd-input { padding-left: 42px; }
.fd-input-icon-wrap > svg {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: var(--fd-grey-500); fill: none; stroke-width: 1.5;
  pointer-events: none;
}

/* Dark input (login) */
.fd-input-dark {
  height: 52px;
  padding: 0 14px 0 46px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--fd-radius-lg);
  font-size: 14px;
  font-family: inherit;
  color: white;
  outline: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.fd-input-dark::placeholder { color: rgba(255,255,255,0.25); }
.fd-input-dark:focus {
  border-color: rgba(93,173,226,0.5);
  box-shadow: var(--fd-shadow-focus-dark);
  background: rgba(255,255,255,0.08);
}

.fd-input-dark-wrap {
  position: relative;
}
.fd-input-dark-wrap > svg {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; stroke: rgba(255,255,255,0.3); fill: none; stroke-width: 1.5;
  pointer-events: none;
}
.fd-input-dark-wrap .fd-input-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 0;
}
.fd-input-dark-wrap .fd-input-toggle svg {
  width: 18px; height: 18px; stroke: rgba(255,255,255,0.35); fill: none; stroke-width: 1.5;
}

/* Select */
.fd-select {
  height: 44px;
  padding: 0 36px 0 14px;
  background: rgba(255,255,255,0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237F8C9B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat calc(100% - 12px) center;
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--fd-grey-900);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fd-select:focus { border-color: var(--fd-blue-600); box-shadow: var(--fd-shadow-focus); }

/* Textarea */
.fd-textarea {
  padding: 12px 14px;
  min-height: 80px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--fd-grey-900);
  outline: none;
  resize: vertical;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fd-textarea:focus { border-color: var(--fd-blue-600); box-shadow: var(--fd-shadow-focus); }

/* Search */
.fd-search-wrap {
  position: relative;
  display: inline-flex; align-items: center;
}
.fd-search-wrap svg {
  position: absolute; left: 12px;
  width: 16px; height: 16px; stroke: var(--fd-grey-500); fill: none; stroke-width: 1.5;
  pointer-events: none;
}
.fd-search {
  height: 38px;
  padding: 0 14px 0 36px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 13px;
  font-family: inherit;
  color: var(--fd-grey-900);
  outline: none;
  width: 220px;
  transition: width 0.2s ease, border-color 0.2s, box-shadow 0.2s;
}
.fd-search::placeholder { color: var(--fd-grey-500); }
.fd-search:focus {
  width: 280px;
  border-color: var(--fd-blue-600);
  box-shadow: var(--fd-shadow-focus);
}

/* Checkbox */
.fd-checkbox-group {
  display: flex; align-items: center; gap: 8px; cursor: pointer;
}
.fd-checkbox {
  width: 18px; height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  accent-color: var(--fd-blue-600);
}

/* ================================================================
   5. BADGES & STATUS INDICATORS
   ================================================================ */

.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--fd-radius-sm);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  white-space: nowrap;
}

.badge--green { background: rgba(39,174,96,0.1); color: #27AE60; }
.badge--blue { background: rgba(41,128,185,0.1); color: #2980B9; }
.badge--amber { background: rgba(243,156,18,0.1); color: #C87A12; }
.badge--red { background: rgba(231,76,60,0.1); color: #E74C3C; }
.badge--purple { background: rgba(142,68,173,0.1); color: #8E44AD; }
.badge--grey { background: rgba(0,0,0,0.05); color: var(--fd-grey-500); }
.badge--navy { background: rgba(15,43,70,0.1); color: var(--fd-navy-900); }
.badge--softcloud { background: rgba(41,128,185,0.1); color: #2980B9; }
.badge--admin { background: rgba(142,68,173,0.1); color: #8E44AD; }

/* Status dot */
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}
.status-dot--green {
  background: var(--fd-green-600);
  animation: fd-dot-glow-green 2s ease-in-out infinite;
}
.status-dot--amber {
  background: var(--fd-amber-500);
  animation: fd-dot-glow-amber 2s ease-in-out infinite;
}
.status-dot--red {
  background: var(--fd-red-600);
  animation: fd-dot-glow-red 2s ease-in-out infinite;
}
.status-dot--grey { background: var(--fd-grey-300); }

/* ================================================================
   6. DATA TABLES
   ================================================================ */

.fd-table-panel {
  overflow: hidden;
}

.fd-table-wrap {
  overflow-x: auto;
}

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

.fd-table thead th {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--fd-grey-500);
  padding: 10px 12px;
  border-bottom: 1px solid var(--fd-grey-divider);
  text-align: left;
  white-space: nowrap;
  background: transparent;
}

.fd-table thead th.text-right { text-align: right; }
.fd-table thead th.text-center { text-align: center; }

.fd-table tbody tr {
  border-bottom: 1px solid rgba(0,0,0,0.03);
  transition: background 0.15s;
  cursor: pointer;
}
.fd-table tbody tr:hover { background: var(--fd-grey-hover); }
.fd-table tbody tr:last-child { border-bottom: none; }

.fd-table tbody td {
  padding: 12px 12px;
  height: 52px;
  vertical-align: middle;
  color: var(--fd-grey-900);
}
.fd-table tbody td.text-right { text-align: right; }
.fd-table tbody td.text-center { text-align: center; }

.fd-table-ref-link {
  color: var(--fd-blue-600);
  text-decoration: none;
  font-weight: 600;
}
.fd-table-ref-link:hover { text-decoration: underline; }

.fd-table-meta {
  font-size: 11px;
  color: var(--fd-grey-500);
  margin-top: 2px;
  display: block;
}

.fd-table-amount { font-weight: 700; }

/* Sort header */
.fd-table-sortable {
  cursor: pointer;
  user-select: none;
}
.fd-table-sortable:hover { color: var(--fd-grey-700); }

/* Pagination */
.fd-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-top: 1px solid var(--fd-grey-divider);
  font-size: 12px;
  color: var(--fd-grey-500);
}

.fd-pagination-info { }
.fd-pagination-controls {
  display: flex; gap: 4px; align-items: center;
}

.fd-page-btn {
  width: 30px; height: 30px;
  border-radius: var(--fd-radius-sm);
  border: 1.5px solid var(--fd-grey-border);
  background: rgba(255,255,255,0.5);
  font-size: 12px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--fd-grey-700);
  transition: background 0.15s, border-color 0.15s;
}
.fd-page-btn:hover, .fd-page-btn.active {
  background: var(--fd-blue-600);
  border-color: var(--fd-blue-600);
  color: white;
}

/* ================================================================
   7. FILTER BAR
   ================================================================ */

.fd-filter-bar {
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.fd-filter-item {
  display: flex; flex-direction: column; gap: 4px;
}
.fd-filter-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--fd-grey-500);
}

.fd-filter-select {
  height: 36px;
  padding: 0 28px 0 10px;
  background: rgba(255,255,255,0.6) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237F8C9B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat calc(100% - 8px) center;
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 12px;
  font-family: inherit;
  color: var(--fd-grey-700);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  backdrop-filter: blur(10px);
}
.fd-filter-select:focus { border-color: var(--fd-blue-600); }

.fd-filter-search {
  height: 36px;
  padding: 0 12px 0 32px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 12px;
  font-family: inherit;
  color: var(--fd-grey-700);
  outline: none;
}
.fd-filter-search:focus { border-color: var(--fd-blue-600); }

.fd-filter-clear {
  height: 36px;
  padding: 0 12px;
  background: transparent;
  border: 1.5px solid var(--fd-grey-border);
  border-radius: var(--fd-radius-md);
  font-size: 12px;
  font-family: inherit;
  color: var(--fd-grey-500);
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
  transition: all 0.15s;
}
.fd-filter-clear:hover { background: rgba(0,0,0,0.03); color: var(--fd-grey-700); }
.fd-filter-clear svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.fd-active-badge {
  background: rgba(41,128,185,0.1);
  color: var(--fd-blue-600);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--fd-radius-full);
}

/* Summary strip */
.fd-summary-strip {
  font-size: 12px;
  color: var(--fd-grey-500);
  padding: 0 0 12px 0;
}

/* ================================================================
   8. PROGRESS BARS
   ================================================================ */

.fd-progress {
  height: 6px;
  background: rgba(0,0,0,0.06);
  border-radius: 3px;
  overflow: hidden;
  min-width: 60px;
}

.fd-progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease-out;
}

.fd-progress-fill--green { background: linear-gradient(90deg, #27AE60, #2ECC71); }
.fd-progress-fill--amber { background: linear-gradient(90deg, #F39C12, #F1C40F); }
.fd-progress-fill--red { background: linear-gradient(90deg, #E74C3C, #EC7063); }
.fd-progress-fill--blue { background: var(--fd-blue-gradient); }
.fd-progress-fill--teal { background: var(--fd-teal-gradient); }
.fd-progress-fill--emerald { background: var(--fd-emerald-gradient); }

.fd-progress-lg {
  height: 8px;
  border-radius: 4px;
}

/* ================================================================
   9. TABS
   ================================================================ */

.fd-tabs {
  display: flex;
  border-bottom: 2px solid rgba(0,0,0,0.05);
  margin-bottom: 20px;
  gap: 0;
}

.fd-tab {
  height: 40px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fd-grey-500);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.fd-tab:hover { color: var(--fd-grey-700); }
.fd-tab.active {
  color: var(--fd-blue-600);
  border-bottom-color: var(--fd-blue-600);
}

.fd-tab-panel { display: none; }
.fd-tab-panel.active { display: block; }

/* ================================================================
   10. TOGGLE PILLS
   ================================================================ */

.fd-toggle-pills {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: rgba(0,0,0,0.04);
  border-radius: 10px;
}

.fd-pill {
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--fd-grey-500);
  background: transparent;
  border: none;
  border-radius: var(--fd-radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  display: flex; align-items: center; gap: 5px;
}
.fd-pill svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.fd-pill.active {
  background: white;
  color: var(--fd-blue-600);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ================================================================
   11. WIZARD STEPPER
   ================================================================ */

.fd-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
  padding: 24px 0 0;
}

.fd-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.fd-step-connector {
  flex: 1;
  height: 2px;
  background: rgba(0,0,0,0.08);
  margin-top: -24px;
  min-width: 60px;
}
.fd-step-connector--done { background: var(--fd-green-600); }
.fd-step-connector--active { background: var(--fd-blue-600); }

.fd-step-circle {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,0.06);
  color: var(--fd-grey-500);
  transition: all 0.3s;
}
.fd-step.active .fd-step-circle {
  background: var(--fd-blue-gradient);
  color: white;
  box-shadow: 0 4px 12px rgba(41,128,185,0.25);
}
.fd-step.completed .fd-step-circle {
  background: var(--fd-green-gradient);
  color: white;
}
.fd-step.completed .fd-step-circle::after {
  content: '✓';
}

.fd-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--fd-grey-500);
  text-align: center;
  white-space: nowrap;
}
.fd-step.active .fd-step-label { color: var(--fd-blue-600); }
.fd-step.completed .fd-step-label { color: var(--fd-green-600); }

.fd-step-panel { display: none; }
.fd-step-panel.active { display: block; }

/* Sticky wizard footer */
.fd-wizard-footer {
  position: sticky;
  bottom: 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  border-radius: 0 0 var(--fd-radius-xl) var(--fd-radius-xl);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.04);
}

.fd-wizard-footer-left { display: flex; gap: 10px; }
.fd-wizard-footer-right { display: flex; gap: 10px; }

/* ================================================================
   12. MODALS
   ================================================================ */

.fd-modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.fd-modal-overlay[hidden] { display: none; }

.fd-modal {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: var(--fd-radius-2xl);
  box-shadow: var(--fd-shadow-modal);
  width: 100%;
  max-height: 90vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

.fd-modal--sm { max-width: 420px; }
.fd-modal--md { max-width: 600px; }
.fd-modal--lg { max-width: 800px; }

.fd-modal-header {
  height: 64px;
  padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--fd-grey-divider);
  flex-shrink: 0;
}
.fd-modal-title {
  font-size: 18px; font-weight: 700; color: var(--fd-grey-900);
}
.fd-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.04);
  border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
}
.fd-modal-close:hover { background: rgba(0,0,0,0.08); }
.fd-modal-close svg {
  width: 16px; height: 16px; stroke: var(--fd-grey-500); fill: none; stroke-width: 2;
}

.fd-modal-body {
  padding: 28px;
  overflow-y: auto;
  flex: 1;
  max-height: 60vh;
}

.fd-modal-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--fd-grey-divider);
  display: flex; justify-content: flex-end; gap: 10px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.5);
}

/* ================================================================
   13. TOASTS
   ================================================================ */

.fd-toast-container {
  position: fixed;
  top: 24px; right: 24px;
  z-index: 300;
  display: flex; flex-direction: column; gap: 10px;
  pointer-events: none;
}

.fd-toast {
  width: 380px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-radius: var(--fd-radius-lg);
  box-shadow: var(--fd-shadow-hover);
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  pointer-events: all;
  position: relative;
  overflow: hidden;
}

.fd-toast::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  border-radius: 2px 0 0 2px;
}
.fd-toast--success::before { background: var(--fd-green-600); }
.fd-toast--error::before { background: var(--fd-red-600); }
.fd-toast--warning::before { background: var(--fd-amber-500); }
.fd-toast--info::before { background: var(--fd-blue-600); }

.fd-toast-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fd-toast--success .fd-toast-icon { background: linear-gradient(135deg, #EAFAF1, #D5F5E3); }
.fd-toast--error .fd-toast-icon { background: linear-gradient(135deg, #FDEDEC, #FADBD8); }
.fd-toast--warning .fd-toast-icon { background: linear-gradient(135deg, #FEF9E7, #FDEBD0); }
.fd-toast--info .fd-toast-icon { background: linear-gradient(135deg, #EBF5FB, #D6EAF8); }

.fd-toast-icon svg {
  width: 16px; height: 16px; fill: none; stroke-width: 2;
}
.fd-toast--success .fd-toast-icon svg { stroke: var(--fd-green-600); }
.fd-toast--error .fd-toast-icon svg { stroke: var(--fd-red-600); }
.fd-toast--warning .fd-toast-icon svg { stroke: var(--fd-amber-500); }
.fd-toast--info .fd-toast-icon svg { stroke: var(--fd-blue-600); }

.fd-toast-content { flex: 1; }
.fd-toast-title { font-size: 13px; font-weight: 600; color: var(--fd-grey-900); }
.fd-toast-msg { font-size: 12px; color: var(--fd-grey-500); margin-top: 2px; }

/* ================================================================
   14. DRAWER
   ================================================================ */

.fd-drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(3px);
  z-index: 150;
}

.fd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 480px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255,255,255,0.6);
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  z-index: 151;
  overflow: hidden;
}

.fd-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--fd-grey-divider);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}
.fd-drawer-title { font-size: 16px; font-weight: 700; }
.fd-drawer-body {
  flex: 1; padding: 24px; overflow-y: auto;
}
.fd-drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--fd-grey-divider);
  display: flex; gap: 10px;
}

/* ================================================================
   15. KANBAN BOARD
   ================================================================ */

.fd-kanban {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
  min-height: 500px;
}

.fd-kanban-col {
  border-radius: var(--fd-radius-xl);
  overflow: hidden;
  transition: background 0.2s, outline 0.2s;
  min-height: 200px;
}

.fd-kanban-col-header {
  padding: 14px 16px;
  border-top: 4px solid;
  display: flex; align-items: center; justify-content: space-between;
}
.fd-kanban-col--new .fd-kanban-col-header { border-color: var(--fd-purple-500); }
.fd-kanban-col--inprogress .fd-kanban-col-header { border-color: var(--fd-blue-600); }
.fd-kanban-col--added .fd-kanban-col-header { border-color: var(--fd-green-600); }
.fd-kanban-col--declined .fd-kanban-col-header { border-color: var(--fd-red-600); }

.fd-kanban-col-title { font-size: 14px; font-weight: 600; }

.fd-kanban-count {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: white;
}
.fd-kanban-col--new .fd-kanban-count { background: var(--fd-purple-500); }
.fd-kanban-col--inprogress .fd-kanban-count { background: var(--fd-blue-600); }
.fd-kanban-col--added .fd-kanban-count { background: var(--fd-green-600); }
.fd-kanban-col--declined .fd-kanban-count { background: var(--fd-red-600); }

.fd-kanban-cards {
  padding: 10px 12px 12px;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 60px;
}

.fd-kanban-card {
  background: rgba(255,255,255,0.75);
  border-radius: var(--fd-radius-md);
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  cursor: grab;
  transition: box-shadow 0.2s, transform 0.2s;
  border-left: 3px solid;
}
.fd-kanban-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); transform: translateY(-1px); }

.fd-kanban-col--new .fd-kanban-card { border-left-color: var(--fd-purple-500); }
.fd-kanban-col--inprogress .fd-kanban-card { border-left-color: var(--fd-blue-600); }
.fd-kanban-col--added .fd-kanban-card { border-left-color: var(--fd-green-600); }
.fd-kanban-col--declined .fd-kanban-card { border-left-color: var(--fd-red-600); }

.fd-kanban-card-id { font-size: 12px; color: var(--fd-blue-600); font-weight: 600; margin-bottom: 6px; }
.fd-kanban-card-customer { font-size: 14px; font-weight: 600; margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.fd-kanban-card-customer svg { width: 14px; height: 14px; stroke: var(--fd-grey-500); fill: none; stroke-width: 1.5; }
.fd-kanban-card-flight { font-size: 13px; color: var(--fd-grey-700); margin-bottom: 2px; display: flex; align-items: center; gap: 6px; }
.fd-kanban-card-flight svg { width: 14px; height: 14px; stroke: var(--fd-grey-500); fill: none; stroke-width: 1.5; }
.fd-kanban-card-meta { font-size: 12px; color: var(--fd-grey-500); margin-bottom: 8px; }
.fd-kanban-card-preview { font-size: 12px; color: var(--fd-grey-500); font-style: italic; margin-bottom: 10px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.fd-kanban-card-footer { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--fd-grey-500); }
.fd-kanban-card-footer svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 1.5; margin-right: 3px; }

/* ================================================================
   16. HORIZONTAL BAR CHART (pure CSS)
   ================================================================ */

.fd-bar-chart { display: flex; flex-direction: column; gap: 12px; }

.fd-bar-row {
  display: flex; align-items: center; gap: 10px;
}

.fd-bar-label {
  font-size: 12px; font-weight: 600; color: var(--fd-grey-700);
  width: 110px; flex-shrink: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.fd-bar-track {
  flex: 1; height: 28px;
  background: rgba(0,0,0,0.04);
  border-radius: var(--fd-radius-sm);
  overflow: hidden;
}

.fd-bar-fill {
  height: 100%;
  border-radius: var(--fd-radius-sm);
  transition: width 0.6s ease-out;
}
.fd-bar-fill--blue { background: linear-gradient(90deg, #2980B9, #5DADE2); }
.fd-bar-fill--navy { background: linear-gradient(90deg, #122A48, #1E4D78); }

.fd-bar-value {
  font-size: 11px; font-weight: 500; color: var(--fd-grey-500);
  width: 80px; flex-shrink: 0; text-align: right;
}

/* ================================================================
   17. ALERT CARDS
   ================================================================ */

.fd-alert-list { display: flex; flex-direction: column; }

.fd-alert-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--fd-grey-divider);
}
.fd-alert-item:last-child { border-bottom: none; }

.fd-alert-icon {
  width: 38px; height: 38px;
  border-radius: var(--fd-radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.fd-alert-icon svg { width: 18px; height: 18px; fill: none; stroke-width: 1.5; }

.fd-alert-icon--amber { background: linear-gradient(135deg, #FEF9E7, #FDEBD0); }
.fd-alert-icon--amber svg { stroke: #E67E22; }
.fd-alert-icon--red { background: linear-gradient(135deg, #FDEDEC, #FADBD8); }
.fd-alert-icon--red svg { stroke: var(--fd-red-600); }
.fd-alert-icon--purple { background: linear-gradient(135deg, #F4ECF7, #E8DAEF); }
.fd-alert-icon--purple svg { stroke: var(--fd-purple-500); }
.fd-alert-icon--blue { background: linear-gradient(135deg, #EBF5FB, #D6EAF8); }
.fd-alert-icon--blue svg { stroke: var(--fd-blue-600); }

.fd-alert-content { flex: 1; min-width: 0; }
.fd-alert-title { font-size: 12px; font-weight: 500; color: var(--fd-grey-900); }
.fd-alert-time { font-size: 10px; color: var(--fd-grey-500); margin-top: 2px; }

/* ================================================================
   18. TIMELINE (for booking status)
   ================================================================ */

.fd-timeline { display: flex; flex-direction: column; gap: 0; }

.fd-timeline-item {
  display: flex; gap: 14px; position: relative;
  padding-bottom: 20px;
}
.fd-timeline-item:last-child { padding-bottom: 0; }

.fd-timeline-dot-col { display: flex; flex-direction: column; align-items: center; }

.fd-timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
}
.fd-timeline-dot--done { background: var(--fd-green-gradient); }
.fd-timeline-dot--active { background: var(--fd-blue-gradient); box-shadow: 0 0 8px rgba(41,128,185,0.4); }
.fd-timeline-dot--future { background: transparent; border: 2px solid var(--fd-grey-300); }

.fd-timeline-line {
  flex: 1; width: 2px;
  background: var(--fd-grey-200);
  margin: 4px 0;
}
.fd-timeline-line--done { background: var(--fd-green-600); }
.fd-timeline-line--dashed { background: repeating-linear-gradient(to bottom, var(--fd-grey-300) 0, var(--fd-grey-300) 4px, transparent 4px, transparent 8px); }

.fd-timeline-content { flex: 1; }
.fd-timeline-label { font-size: 13px; font-weight: 600; color: var(--fd-grey-900); }
.fd-timeline-label--muted { color: var(--fd-grey-400); }
.fd-timeline-date { font-size: 11px; color: var(--fd-grey-500); margin-top: 2px; }

/* ================================================================
   19. INVENTORY CARDS
   ================================================================ */

.fd-inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fd-inventory-card {
  overflow: hidden;
  transition: transform 0.2s ease-out, box-shadow 0.2s;
}
.fd-inventory-card:hover { transform: translateY(-2px); box-shadow: var(--fd-shadow-hover); }

.fd-inventory-card--sold-out {
  border: 2px solid rgba(231,76,60,0.3) !important;
  background: rgba(231,76,60,0.03) !important;
}
.fd-inventory-card--low {
  border-left: 4px solid var(--fd-amber-500) !important;
}

.fd-inventory-card-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 12px;
}
.fd-inventory-card-flight { font-size: 15px; font-weight: 700; }
.fd-inventory-card-route { font-size: 14px; color: var(--fd-grey-700); }
.fd-inventory-card-meta { font-size: 12px; color: var(--fd-grey-500); margin-top: 2px; }

.fd-cabin-block { margin-bottom: 14px; }
.fd-cabin-block:last-child { margin-bottom: 0; }
.fd-cabin-label {
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.8px; color: var(--fd-grey-500); margin-bottom: 5px;
}
.fd-cabin-stats { font-size: 12px; color: var(--fd-grey-700); margin-top: 4px; }

.fd-inventory-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--fd-grey-divider);
}
.fd-inventory-expiry { font-size: 12px; color: var(--fd-grey-500); display: flex; align-items: center; gap: 4px; }
.fd-inventory-expiry--warning { color: var(--fd-red-600); }
.fd-inventory-expiry svg { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* ================================================================
   20. EMPTY STATES
   ================================================================ */

.fd-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.fd-empty-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(235,245,251,0.8), rgba(255,255,255,0.6));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.fd-empty-icon svg { width: 36px; height: 36px; stroke: var(--fd-grey-300); fill: none; stroke-width: 1.5; }

.fd-empty-heading { font-size: 16px; font-weight: 600; color: var(--fd-grey-700); margin-bottom: 8px; }
.fd-empty-desc { font-size: 13px; color: var(--fd-grey-500); max-width: 380px; line-height: 1.6; margin-bottom: 20px; }

/* ================================================================
   21. REPORT TYPE SELECTOR CARDS
   ================================================================ */

.fd-report-type-row {
  display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap;
}

.fd-report-card {
  width: 160px;
  padding: 20px 16px;
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(0,0,0,0.06);
  border-radius: var(--fd-radius-lg);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.fd-report-card:hover { background: rgba(255,255,255,0.75); border-color: var(--fd-blue-400); }
.fd-report-card.active {
  background: rgba(235,245,251,0.85);
  border: 2px solid var(--fd-blue-600);
  box-shadow: 0 4px 16px rgba(41,128,185,0.12);
}
.fd-report-card svg { width: 28px; height: 28px; stroke: var(--fd-grey-500); fill: none; stroke-width: 1.5; }
.fd-report-card.active svg { stroke: var(--fd-blue-600); }
.fd-report-card-label { font-size: 13px; font-weight: 600; color: var(--fd-grey-700); }
.fd-report-card.active .fd-report-card-label { color: var(--fd-blue-600); }

/* ================================================================
   22. TEMPLATE CARDS
   ================================================================ */

.fd-template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fd-template-card {
  padding: 20px;
  position: relative;
}

.fd-template-card-header {
  display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px;
}
.fd-template-card-title { font-size: 16px; font-weight: 700; }
.fd-template-card-subtitle { font-size: 12px; color: var(--fd-grey-500); margin-bottom: 14px; }
.fd-template-card-rules { margin-bottom: 14px; }
.fd-template-rule { font-size: 12px; color: var(--fd-grey-700); margin-bottom: 4px; display: flex; gap: 6px; }
.fd-template-rule::before { content: '•'; color: var(--fd-grey-300); }
.fd-template-card-footer { font-size: 12px; color: var(--fd-grey-500); border-top: 1px solid var(--fd-grey-divider); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; }
.fd-template-actions { display: flex; gap: 6px; }

/* ================================================================
   23. AMENITY TOGGLE CARDS
   ================================================================ */

.fd-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.fd-amenity-card {
  padding: 14px 10px;
  text-align: center;
  border-radius: var(--fd-radius-md);
  background: rgba(255,255,255,0.5);
  border: 1.5px solid rgba(0,0,0,0.06);
  cursor: pointer;
  transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.fd-amenity-card svg { width: 22px; height: 22px; stroke: var(--fd-grey-400); fill: none; stroke-width: 1.5; }
.fd-amenity-card-label { font-size: 11px; font-weight: 600; color: var(--fd-grey-500); }
.fd-amenity-card.included { border-color: var(--fd-green-600); background: rgba(39,174,96,0.05); }
.fd-amenity-card.included svg { stroke: var(--fd-green-600); }
.fd-amenity-card.included .fd-amenity-card-label { color: var(--fd-green-600); }
.fd-amenity-card.paid { border-color: var(--fd-amber-500); background: rgba(243,156,18,0.05); }
.fd-amenity-card.paid svg { stroke: var(--fd-amber-500); }
.fd-amenity-card.paid .fd-amenity-card-label { color: #C87A12; }

/* ================================================================
   24. USER ROLE BADGE
   ================================================================ */

.fd-role-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px;
  border-radius: var(--fd-radius-sm);
  font-size: 10px; font-weight: 700;
}
.fd-role-badge--super { background: rgba(15,43,70,0.1); color: var(--fd-navy-900); }
.fd-role-badge--data { background: rgba(41,128,185,0.1); color: var(--fd-blue-600); }
.fd-role-badge--read { background: rgba(0,0,0,0.05); color: var(--fd-grey-500); }

/* ================================================================
   25. FORM GRID LAYOUTS
   ================================================================ */

.fd-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.fd-form-grid-4 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 16px 20px;
}
.fd-form-section {
  margin-bottom: 28px;
}
.fd-form-section-title {
  font-size: 15px; font-weight: 700; color: var(--fd-grey-900);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.fd-form-section-title svg {
  width: 18px; height: 18px; stroke: var(--fd-blue-600); fill: none; stroke-width: 1.5;
}
.fd-form-span-2 { grid-column: span 2; }

/* ================================================================
   26. MISC UTILITIES
   ================================================================ */

.fd-divider {
  height: 1px;
  background: var(--fd-grey-divider);
  margin: 16px 0;
}

.fd-text-blue { color: var(--fd-blue-600); }
.fd-text-green { color: var(--fd-green-600); }
.fd-text-amber { color: #C87A12; }
.fd-text-red { color: var(--fd-red-600); }
.fd-text-muted { color: var(--fd-grey-500); }
.fd-text-bold { font-weight: 700; }
.fd-text-sm { font-size: 12px; }
.fd-text-xs { font-size: 10px; }

.fd-flex { display: flex; }
.fd-flex-center { display: flex; align-items: center; }
.fd-flex-between { display: flex; align-items: center; justify-content: space-between; }
.fd-gap-1 { gap: 4px; }
.fd-gap-2 { gap: 8px; }
.fd-gap-3 { gap: 12px; }
.fd-gap-4 { gap: 16px; }
.fd-mt-1 { margin-top: 4px; }
.fd-mt-2 { margin-top: 8px; }
.fd-mt-4 { margin-top: 16px; }
.fd-mb-4 { margin-bottom: 16px; }
.fd-mb-6 { margin-bottom: 24px; }
.fd-row { display: flex; gap: 20px; }
.fd-row > * { flex: 1; min-width: 0; }
.fd-col-60 { flex: 0 0 60%; max-width: 60%; }
.fd-col-40 { flex: 0 0 calc(40% - 20px); max-width: calc(40% - 20px); }
.fd-col-50 { flex: 0 0 calc(50% - 10px); max-width: calc(50% - 10px); }

.fd-section-gap { margin-bottom: 24px; }

/* Greeting bar */
.fd-greeting-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.fd-greeting-name { font-size: 22px; font-weight: 700; color: var(--fd-grey-900); }
.fd-greeting-sub { font-size: 14px; color: var(--fd-grey-500); margin-top: 2px; }
.fd-greeting-date { font-size: 13px; font-weight: 600; color: var(--fd-grey-700); text-align: right; }
.fd-greeting-updated { font-size: 11px; color: var(--fd-grey-500); margin-top: 2px; }

/* Pricing grid */
.fd-pricing-grid {
  background: rgba(255,255,255,0.4);
  border-radius: var(--fd-radius-md);
  border: 1px solid rgba(255,255,255,0.5);
  overflow: hidden;
  margin-bottom: 12px;
}
.fd-pricing-grid table { width: 100%; border-collapse: collapse; }
.fd-pricing-grid thead th {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--fd-grey-500); padding: 8px 12px;
  border-bottom: 1px solid var(--fd-grey-divider);
}
.fd-pricing-grid tbody td { padding: 10px 12px; border-bottom: 1px solid rgba(0,0,0,0.02); }
.fd-pricing-grid tbody tr:last-child td { border-bottom: none; }
.fd-pricing-grid input.fd-input-sm {
  height: 34px; width: 80px; padding: 0 8px; font-size: 13px; text-align: right;
  background: rgba(255,255,255,0.7); border: 1.5px solid var(--fd-grey-border); border-radius: 8px;
}

/* Review summary sections */
.fd-review-section { margin-bottom: 20px; }
.fd-review-section-title { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--fd-grey-500); margin-bottom: 10px; }
.fd-review-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.03); font-size: 13px; }
.fd-review-row:last-child { border-bottom: none; }
.fd-review-label { color: var(--fd-grey-500); }
.fd-review-value { font-weight: 600; color: var(--fd-grey-900); }

/* Duplicate warning banner */
.fd-warning-banner {
  background: rgba(243,156,18,0.08);
  border: 1.5px solid rgba(243,156,18,0.25);
  border-radius: var(--fd-radius-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: #9A6200;
  margin-bottom: 16px;
}
.fd-warning-banner svg { width: 18px; height: 18px; stroke: #E67E22; fill: none; stroke-width: 1.5; flex-shrink: 0; }
