/* ============================================================
   QUANTAPS • Facebook Hashtag Generator — FHg (SVG ONLY)
   - FA yok
   - Icon class: .qt-ic (currentColor)
   ============================================================ */

.fhg-page{
  background:#edf3ff;
  color:#0f172a;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;

  --ic:16px;
  --ic-sm:14px;
  --ic-lg:18px;
}

/* ---- SVG ICON SYSTEM ---- */
.qt-ic{
  width:var(--ic);
  height:var(--ic);
  flex:0 0 var(--ic);
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* sayfa içi özel boyut kilitleri */
.fhg-chip .qt-ic{ width:var(--ic-sm); height:var(--ic-sm); flex-basis:var(--ic-sm); }
.fhg-title-icon .qt-ic{ width:var(--ic-lg); height:var(--ic-lg); flex-basis:var(--ic-lg); }
.fhg-coupon-pill .qt-ic,
.fhg-side-btn .qt-ic,
.fhg-btn .qt-ic,
.fhg-status .qt-ic{
  width:var(--ic-sm);
  height:var(--ic-sm);
  flex-basis:var(--ic-sm);
}

/* Layout */
.fhg-wrap{
  max-width:1120px;
  margin:0 auto;
  padding:18px 14px 60px;
}

/* Breadcrumb */
.fhg-breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  font-size:.8rem;
  color:#6b7280;
  margin-bottom:12px;
}
.fhg-breadcrumb a{ color:#2563eb; text-decoration:none; }
.fhg-breadcrumb a:hover{ text-decoration:underline; }
.fhg-breadcrumb .sep{ opacity:.6; }

/* HERO */
.fhg-hero{
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(0,1.4fr);
  gap:16px;
  align-items:stretch;
  margin-bottom:20px;
}
@media(max-width:880px){ .fhg-hero{ grid-template-columns:1fr; } }

.fhg-hero-main{
  border-radius:18px;
  border:1px solid #dbe4ff;
  background:
    radial-gradient(900px 420px at 0% -180px, rgba(59,130,246,.18), transparent 60%),
    linear-gradient(180deg,#ffffff,#f3f6ff);
  box-shadow:0 12px 26px rgba(15,23,42,.06);
  padding:16px 16px 14px;
  position:relative;
  overflow:hidden;
}

/* Chips */
.fhg-chip-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:8px;
}
.fhg-chip{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.75rem;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  background:rgba(255,255,255,.96);
  color:#4b5563;
}

/* Title */
.fhg-title-row{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-bottom:4px;
}
.fhg-title-icon{
  width:40px;
  height:40px;
  border-radius:14px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  box-shadow:0 10px 22px rgba(37,99,235,.55);
  flex-shrink:0;
}
.fhg-title{ margin:0; font-size:clamp(1.3rem,2.5vw,1.8rem); font-weight:900; letter-spacing:-.03em; color:#111827; }
.fhg-sub{ margin:6px 0 4px; font-size:.94rem; color:#6b7280; max-width:640px; }

/* Side (coupon) */
.fhg-hero-side{
  border-radius:18px;
  border:1px solid rgba(148,163,184,.35);
  background:
    radial-gradient(540px 260px at 0% 0%, rgba(59,130,246,.22), transparent 60%),
    linear-gradient(180deg,#020617,#020617);
  color:#e5e7eb;
  box-shadow:0 18px 40px rgba(15,23,42,.7);
  padding:14px 16px 14px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.fhg-hero-side::after{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at 80% 0%, rgba(248,250,252,.18), transparent 60%);
  opacity:.85;
  pointer-events:none;
}
.fhg-hero-side-inner{ position:relative; z-index:1; }

.fhg-coupon-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(15,23,42,.78);
  border:1px solid rgba(148,163,184,.75);
  font-size:.75rem;
  color:#e5e7eb;
}
.fhg-coupon-pill .code{
  padding:2px 7px;
  border-radius:999px;
  background:rgba(248,250,252,.15);
  font-weight:800;
  letter-spacing:.06em;
  font-size:.72rem;
}
.fhg-side-title{ margin:7px 0 2px; font-size:1rem; font-weight:800; }
.fhg-side-text{ margin:0; font-size:.86rem; color:#cbd5f5; }
.fhg-side-list{ margin:6px 0 0; padding-left:18px; font-size:.8rem; color:#c7d2fe; }
.fhg-side-list li{ margin:3px 0; }

.fhg-side-btn{
  margin-top:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:8px 11px;
  border-radius:999px;
  border:none;
  background:linear-gradient(135deg,#2563eb,#38bdf8);
  color:#f9fafb;
  font-size:.86rem;
  font-weight:700;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(15,23,42,.8);
  text-decoration:none;
}
.fhg-side-note{ margin:4px 0 0; font-size:.72rem; color:#9ca3af; }

/* Main */
.fhg-main{
  display:grid;
  grid-template-columns:minmax(0,2.1fr) minmax(0,1.4fr);
  gap:18px;
  align-items:flex-start;
}
@media(max-width:880px){ .fhg-main{ grid-template-columns:1fr; } }

.fhg-card{
  border-radius:18px;
  border:1px solid #dbe4ff;
  background:#ffffff;
  box-shadow:0 10px 24px rgba(15,23,42,.06);
  padding:14px 14px 16px;
}

/* Head */
.fhg-tool-head h2{ margin:0; font-size:1rem; font-weight:800; color:#111827; }
.fhg-tool-head p{ margin:3px 0 10px; font-size:.82rem; color:#6b7280; }

/* Form */
.fhg-form{ display:flex; flex-direction:column; gap:10px; }
.fhg-field-group{ display:flex; flex-wrap:wrap; gap:10px; }
.fhg-field{ flex:1 1 220px; min-width:0; }

.fhg-label{ font-size:.8rem; font-weight:600; color:#4b5563; margin-bottom:2px; }
.fhg-label small{ font-weight:400; color:#9ca3af; margin-left:4px; }

.fhg-input,
.fhg-select{
  width:100%;
  border-radius:10px;
  border:1px solid #dbe4ff;
  padding:7px 9px;
  font-size:.82rem;
  font-family:inherit;
  outline:none;
  background:#f9fafb;
  transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.fhg-input:focus,
.fhg-select:focus{
  border-color:#2563eb;
  box-shadow:0 0 0 1px rgba(37,99,235,.25);
  background:#ffffff;
}

/* Toggle chips */
.fhg-toggle-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:2px; }
.fhg-toggle{
  border-radius:999px;
  padding:4px 9px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  font-size:.78rem;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  color:#374151;
  user-select:none;
}
.fhg-toggle input{ pointer-events:none; }
.fhg-toggle.is-active{
  border-color:#2563eb;
  background:linear-gradient(135deg,rgba(37,99,235,.1),#ffffff);
}

/* Slider */
.fhg-slider-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  font-size:.8rem;
  color:#4b5563;
  margin-bottom:2px;
}
.fhg-slider-value{ font-size:.78rem; color:#6b7280; }
.fhg-slider input[type="range"]{ width:100%; }

/* Buttons */
.fhg-button-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.fhg-btn{
  border-radius:999px;
  border:1px solid #dbe4ff;
  background:#f9fafb;
  font-size:.8rem;
  padding:7px 12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  color:#111827;
}
.fhg-btn--primary{
  border-color:#2563eb;
  background:linear-gradient(135deg,#2563eb,#38bdf8);
  color:#f9fafb;
  box-shadow:0 8px 18px rgba(37,99,235,.6);
}

/* Outputs */
.fhg-output{ margin-top:10px; display:flex; flex-direction:column; gap:10px; }

.fhg-output-main{
  border-radius:14px;
  border:1px dashed #bfdbfe;
  background:#eff6ff;
  padding:10px 11px;
  font-size:.8rem;
  color:#1e40af;
}
.fhg-output-main strong{ font-weight:800; }

.fhg-output-group{
  border-radius:14px;
  border:1px solid #e5e7eb;
  background:#f9fafb;
  padding:9px 10px 10px;
}
.fhg-output-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:8px;
  margin-bottom:4px;
}
.fhg-output-title{ font-size:.86rem; font-weight:700; color:#111827; }
.fhg-output-sub{ font-size:.75rem; color:#6b7280; }
.fhg-output-textarea{
  width:100%;
  min-height:68px;
  resize:vertical;
  border-radius:10px;
  border:1px solid #e5e7eb;
  padding:7px 9px;
  font-size:.8rem;
  font-family:inherit;
  background:#ffffff;
  outline:none;
}

/* Combined */
.fhg-combined{
  margin-top:8px;
  border-radius:14px;
  border:1px solid #dbeafe;
  background:#eff6ff;
  padding:9px 10px 10px;
}
.fhg-combined label{
  display:block;
  font-size:.8rem;
  font-weight:600;
  color:#1e3a8a;
  margin-bottom:4px;
}
.fhg-combined textarea{
  width:100%;
  min-height:56px;
  resize:vertical;
  border-radius:10px;
  border:1px solid #bfdbfe;
  padding:7px 9px;
  font-size:.8rem;
  font-family:inherit;
  background:#ffffff;
  outline:none;
}

/* Status */
.fhg-status{
  margin-top:8px;
  font-size:.78rem;
  color:#6b7280;
  display:flex;
  gap:8px;
  align-items:flex-start;
}
.fhg-status .qt-ic{ margin-top:2px; }

/* Info card */
.fhg-info-card h2{ margin:0; font-size:.98rem; font-weight:800; color:#111827; }
.fhg-info-card p{ margin:4px 0; font-size:.86rem; color:#4b5563; }
.fhg-info-card ul{ margin:6px 0 0; padding-left:18px; font-size:.84rem; color:#4b5563; }
.fhg-info-card li{ margin:4px 0; }
.fhg-info-card a{ color:#2563eb; text-decoration:none; }
.fhg-info-card a:hover{ text-decoration:underline; }

/* Mobile */
@media(max-width:768px){
  .fhg-wrap{ padding:14px 10px 42px; }
  .fhg-card, .fhg-hero-main, .fhg-hero-side{ border-radius:14px; }
  .fhg-button-row{ flex-direction:column; }
  .fhg-btn, .fhg-btn--primary{ width:100%; justify-content:center; }
}