/* ==========================================================================
   SEEYOUSOON SUPER-APP — I-HANTVERK-UI STYLESHEET
   Comprehensive Golden Template for Freelance & Crafts Customer (I1-I4)
   and Contractor (IF1-IF4) flows.
   Strictly Section 8 compliant: Zero inline styles, < 500 lines.
   ========================================================================== */

.fl-flow-container {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 32px;
  color: var(--text, #f8fafc);
  position: relative;
}

.fl-aurora-glow {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 220px;
  background: radial-gradient(circle at 50% 0%, rgba(234, 179, 8, 0.16) 0%, rgba(139, 92, 246, 0.1) 45%, rgba(9, 11, 16, 0) 75%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.fl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
  position: relative;
  z-index: 1;
}

.fl-header-title {
  font-family: var(--display, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sub-Tab Navigation */
.fl-tabs-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.fl-tabs-scroll::-webkit-scrollbar { display: none; }

.fl-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(20, 26, 41, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fl-tab-btn.is-active {
  background: rgba(234, 179, 8, 0.16);
  border-color: rgba(234, 179, 8, 0.5);
  color: #fef08a;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.25);
}

/* Craft Service Cards (I1) */
.fl-card {
  padding: 14px;
  border-radius: 18px;
  background: rgba(20, 26, 41, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fl-card-title {
  margin: 0;
  font-family: var(--display, 'Plus Jakarta Sans', sans-serif);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.fl-card-sub {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
}

.fl-service-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fl-service-card {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.fl-service-card.is-selected {
  background: rgba(234, 179, 8, 0.18);
  border-color: rgba(234, 179, 8, 0.6);
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.2);
}

.fl-price {
  font-family: var(--mono, monospace);
  font-size: 15px;
  font-weight: 800;
  color: var(--hue-hantverk, #eab308);
}

/* Escrow & Milestone Box (I4, IF3) */
.fl-escrow-box {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fl-escrow-val {
  font-family: var(--mono, monospace);
  font-size: 20px;
  font-weight: 900;
  color: #34d399;
}
