/* ==========================================================================
   EdCatalyst — AC File Suite Shell Styles
   Replaces the old fixed sidebar+topbar with the site's standard
   navbar/footer + an in-page tab switcher, matching the pattern used
   across other multi-tool dashboards on the site.
   ========================================================================== */

body {
  font-family: 'Poppins', sans-serif;
}

.tool-hero {
  position: relative;
  overflow: hidden;
}

.tool-hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 1rem 0 1rem;
}

.tool-hero-sub {
  font-size: 1.02rem;
  color: var(--ec-ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------------- Tool tabs ---------------- */
.ac-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto 1.2rem;
}

.ac-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 2px solid #f0e2d3;
  border-radius: 16px;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ec-ink-soft);
  cursor: pointer;
  transition: all 0.25s ease;
  flex: 1;
  min-width: 220px;
  justify-content: center;
}

.ac-tab-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: var(--ec-gradient-1);
}

.ac-tab:hover {
  border-color: var(--ec-terracotta);
  color: var(--ec-terracotta);
  transform: translateY(-2px);
}

.ac-tab.active {
  background: var(--ec-gradient-1);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--ec-shadow-soft);
}

.ac-tab.active .ac-tab-icon {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------------- Checklist strip ---------------- */
.ac-checklist-strip {
  background: #fff;
  border: 1px solid #f0e2d3;
  border-radius: 14px;
  padding: 0.9rem 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ec-ink-soft);
  margin-bottom: 1.5rem;
}

.ac-checklist-label {
  font-weight: 700;
  color: var(--ec-terracotta);
  margin-right: 4px;
}

.ac-mandatory-legend {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

/* ---------------- Dark mode toggle ---------------- */
.dark-toggle {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1200;
  background: var(--card-bg, #fff);
  border: 1.5px solid #f0e2d3;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--ec-shadow-soft);
  font-size: 1.05rem;
  color: var(--ec-ink);
  transition: all 0.25s ease;
}

.dark-toggle:hover {
  border-color: var(--ec-terracotta);
  color: var(--ec-terracotta);
  transform: scale(1.08);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 768px) {
  .tool-hero-title {
    font-size: 1.8rem;
  }
  .ac-tabs {
    flex-direction: column;
  }
  .ac-tab {
    min-width: 100%;
  }
  .ac-mandatory-legend {
    margin-left: 0;
    width: 100%;
  }
  .dark-toggle {
    bottom: 80px;
    right: 16px;
  }
}
