/************************************************************
 * FS25 TOOLS PAGE STYLES
 * File: assets/css/fs25-tools.css
 * Scope: .page-fs25tools
 ************************************************************/

/* ================================================
   PAGE WRAPPER
   ================================================ */

.page-fs25tools {
  padding-bottom: 4rem;
}

/* keep consistent width */
.page-fs25tools .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ================================================
   HERO
   ================================================ */

.fs25tools-hero {
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.16), transparent 55%),
              radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.04), transparent 60%),
              #050608;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0 2.75rem;
}

.fs25tools-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.3fr);
  gap: 2.5rem;
  align-items: center;
}

.fs25tools-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gd-muted);
  margin-bottom: 0.35rem;
}

.fs25tools-hero .page-title {
  font-size: 2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
}

.fs25tools-hero .page-lead {
  margin: 0 0 1.5rem;
  max-width: 36rem;
  color: var(--gd-muted);
  line-height: 1.6;
}

/* hero pills */

.fs25tools-hero .hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fs25tools-hero .pill {
  display: inline-flex;
  align-items: center;
  border-radius: var(--gd-radius-pill);
  padding: 0.25rem 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e5e7eb;
  background: rgba(0, 0, 0, 0.5);
}

.fs25tools-hero .pill-gold {
  border-color: rgba(255, 215, 0, 0.7);
  color: #ffe58a;
  background: rgba(255, 215, 0, 0.08);
}

.fs25tools-hero .pill-outline {
  border-style: dashed;
}

/* right-hand card (echoes downloads hero stats) */

.fs25tools-hero .hero-side {
  display: flex;
  justify-content: flex-end;
}

.fs25tools-card {
  width: 100%;
  max-width: 340px;
  background: radial-gradient(circle at top, rgba(16, 185, 129, 0.26), transparent 60%),
              rgba(7, 10, 18, 0.96);
  border-radius: var(--gd-radius-lg);
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.65);
  padding: 1.25rem 1.35rem 1.35rem;
}

.fs25tools-card h2 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fs25tools-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  font-size: 0.86rem;
}

.fs25tools-card li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.15rem 0;
}

.fs25tools-card li span {
  color: var(--gd-muted);
}

.fs25tools-card li strong {
  font-size: 0.9rem;
}

.fs25tools-card .hero-note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--gd-muted);
}

/* ================================================
   FS25 TOOLS GRID
   ================================================ */

.fs25tools-section {
  padding: 2.75rem 0 2.9rem;
  background: radial-gradient(circle at top left, rgba(24, 24, 27, 0.9), #020617 55%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.fs25tools-section .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.fs25tools-section .section-header {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.fs25tools-section .section-header h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fs25tools-section .section-header .section-subtitle {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gd-muted);
  max-width: 40rem;
}

/* cards */

.tools-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.tool-card {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.98));
  border-radius: var(--gd-radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 1.2rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  transition:
    transform var(--transition-med),
    box-shadow var(--transition-med),
    border-color var(--transition-med),
    background var(--transition-med);
}

.tool-card-primary {
  background: radial-gradient(circle at top, rgba(250, 204, 21, 0.16), rgba(3, 7, 18, 0.98));
  border-color: rgba(250, 204, 21, 0.65);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.7);
  border-color: rgba(250, 204, 21, 0.7);
}

.tool-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.tool-card-body p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  color: var(--gd-muted);
}

.tool-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gd-accent-soft);
  margin-bottom: 0.35rem;
}

.tool-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--gd-muted);
}

.tool-list li::before {
  content: "•";
  color: var(--gd-accent-soft);
  margin-right: 0.4rem;
}

.tool-coming-note {
  font-size: 0.82rem;
  color: var(--gd-muted);
  margin: 0.2rem 0 0;
}

.tool-cta {
  margin-top: 0.5rem;
}

/* ================================================
   MODDESC GENERATOR SECTION
   ================================================ */

.moddesc-section {
  padding: 3rem 0 4rem;
  background: radial-gradient(circle at top, rgba(22, 163, 74, 0.2), #020617 60%);
}

.moddesc-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.moddesc-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.moddesc-header .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gd-muted);
  margin-bottom: 0.25rem;
}

.moddesc-header h2 {
  font-size: 1.2rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.moddesc-header .section-subtitle {
  max-width: 40rem;
  color: var(--gd-muted);
}

.moddesc-hint {
  max-width: 20rem;
  font-size: 0.86rem;
  color: var(--gd-muted);
  background: rgba(0, 0, 0, 0.55);
  border-radius: var(--gd-radius-md);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.75rem 0.9rem;
}

/* form shell */

.moddesc-form {
  background: #020617;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: var(--gd-shadow-soft);
  padding: 1.6rem 1.5rem 1.7rem;
  color: #e5e7eb;
}

.moddesc-fieldset {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.moddesc-fieldset:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.moddesc-fieldset h3 {
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

/* inputs */

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.field label {
  font-size: 0.8rem;
  color: #9ca3af;
}

.field input[type="text"],
.field select,
.field textarea {
  background: #020617;
  border: 1px solid #1f2933;
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

.field textarea {
  resize: vertical;
  min-height: 3rem;
}

.field input[type="text"]:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid #f97316;
  border-color: #f97316;
}

.field-checkbox {
  justify-content: flex-end;
}

.field-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: #e5e7eb;
}

/* toggle sections */

.js-toggle-section {
  display: none;
  margin-top: 0.5rem;
}

.js-toggle-section.is-visible {
  display: block;
}

/* actions */

.moddesc-actions {
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.4rem;
  border-radius: var(--gd-radius-pill);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  background: linear-gradient(to right, #f97316, #fb923c);
  color: #111827;
  cursor: pointer;
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.helper-text {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ===============================
   Vehicle type specializations UI
   =============================== */

.vt-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  max-height: 220px;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  overflow-y: auto;
}

/* nicer scrollbar for the block */
.vt-specs-list::-webkit-scrollbar {
  width: 6px;
}
.vt-specs-list::-webkit-scrollbar-track {
  background: transparent;
}
.vt-specs-list::-webkit-scrollbar-thumb {
  background: rgba(55, 65, 81, 0.8);
  border-radius: 999px;
}

/* pill label */
.vt-spec-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.7rem 0.2rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.78rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

.vt-spec-pill:hover {
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 0 0 1px rgba(249, 115, 22, 0.25);
  transform: translateY(-1px);
}

/* hide native checkbox but keep it accessible */
.vt-spec-pill input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* custom checkbox indicator */
.vt-spec-pill span::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 3px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  margin-right: 0.35rem;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top, rgba(31, 41, 55, 0.9), rgba(15, 23, 42, 1));
  vertical-align: -1px;
}

/* checked state */
.vt-spec-pill input[type="checkbox"]:checked + span::before {
  background: radial-gradient(circle at top, #fed7aa, #f97316);
  border-color: #fed7aa;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.9),
    0 0 10px rgba(249, 115, 22, 0.7);
}

.vt-spec-pill input[type="checkbox"]:checked + span {
  color: #fef3c7;
}

/* help text under the block */
.field-help {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}

.moddesc-loader .field-row {
  align-items: flex-end;
}

.file-input-row {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
}

.moddesc-loader .field-buttons .btn-wide {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

/* simple secondary btn if you don't already have one */
.btn-secondary {
  border-radius: 999px;
  padding: 0.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  color: #e5e7eb;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.btn-secondary:hover {
  border-color: rgba(249, 115, 22, 0.8);
  background: rgba(249, 115, 22, 0.08);
}

#moddesc_file_error {
  color: #f97316;
}
/* Vehicle specialization pills */
.vt-specs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
  padding: 0.6rem 0.75rem;
  background: #020617;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  max-height: 180px;
  overflow-y: auto;
}

.vt-specs-list .spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  background: rgba(15, 23, 42, 0.95);
  cursor: pointer;
  white-space: nowrap;
}

.vt-specs-list .spec-chip input[type="checkbox"] {
  margin: 0;
  accent-color: #f97316;
}

.vt-specs-list .spec-chip span {
  color: #e5e7eb;
}

.vt-specs-list .spec-chip input[type="checkbox"]:checked + span,
.vt-specs-list .spec-chip input[type="checkbox"]:checked ~ span {
  color: #fbbf24;
  font-weight: 600;
}
.tool-card.wip {
    opacity: 0.6;
    pointer-events: none;
    border-style: dashed;
}


/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
  .fs25tools-hero-inner {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  }

  .fs25tools-card {
    max-width: 300px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fs25tools-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .fs25tools-hero .hero-side {
    justify-content: flex-start;
  }

  .fs25tools-card {
    max-width: 100%;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .moddesc-section {
    padding: 2.6rem 0 3rem;
  }

  .moddesc-form {
    padding: 1.3rem 1.1rem 1.3rem;
  }
}
