/* ============================================
   TOOLS PAGE STYLES
   Zvonalitik — Free Tools for Sales Managers
   ============================================ */

/* === Tools Page Layout === */
.tools-page {
  min-height: 100vh;
  background: var(--bg-white);
  color: var(--text-primary);
  /* Fix: Ensure text is dark on white background */
}

.tools-header {
  background: var(--dark);
  padding: 120px 0 80px;
  text-align: center;
}

.tools-header__title {
  font-size: clamp(36px, 5vw, 56px);
  color: white;
  margin-bottom: 16px;
}

.tools-header__subtitle {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: white;
}

.breadcrumbs__sep {
  color: var(--text-muted);
  opacity: 0.5;
}

.breadcrumbs__current {
  color: white;
}

/* Tools Grid */
.tools-grid {
  padding: 80px 0;
}

.tools-grid__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

/* Tool Card */
.tool-card {
  position: relative;
  padding: 32px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tool-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.tool-card__icon i {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.tool-card__icon--accent {
  background: rgba(124, 58, 237, 0.1);
}

.tool-card__icon--accent i {
  color: var(--accent);
}

.tool-card__icon--success {
  background: var(--success-light);
}

.tool-card__icon--success i {
  color: var(--success);
}

.tool-card__icon--warning {
  background: var(--warning-light);
}

.tool-card__icon--warning i {
  color: var(--warning);
}

.tool-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.tool-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.tool-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--success);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
}

.tool-card__arrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.tool-card__arrow i {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.tool-card:hover .tool-card__arrow i {
  transform: translateX(4px);
}


/* ============================================
   TOOL PAGE COMMON STYLES
   ============================================ */

.tool-page {
  min-height: 100vh;
  background: var(--bg-alt);
  color: var(--text-primary);
}

.tool-page__header {
  background: white;
  padding: 120px 0 40px;
  /* Reduced bottom padding */
  border-bottom: 1px solid var(--border);
}

.tool-page__title {
  font-size: clamp(32px, 4vw, 48px);
  color: var(--text-primary);
  margin-bottom: 16px;
}

.tool-page__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  line-height: 1.6;
}

/* Breadcrumbs override for light header */
.tool-page__header .breadcrumbs a {
  color: var(--text-muted);
}

.tool-page__header .breadcrumbs a:hover {
  color: var(--primary);
}

.tool-page__header .breadcrumbs__current {
  color: var(--text-primary);
}

.tool-page__content {
  padding: 40px 0 80px;
}

/* Tool Layout */
.tool-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .tool-layout {
    grid-template-columns: 1fr;
  }
}

/* Sidebar */
.tool-sidebar {
  position: sticky;
  top: 100px;
}

.tool-sidebar__card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
}

.tool-sidebar__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Filter List */
.filter-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  width: 100%;
  font-size: 15px;
  color: var(--text-primary);
}

.filter-item:hover {
  background: var(--bg-alt);
}

.filter-item--active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.filter-item__count {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 2px 8px;
  border-radius: 100px;
}

.filter-item--active .filter-item__count {
  background: var(--primary);
  color: white;
}

/* Search Box */
.search-box {
  position: relative;
  margin-bottom: 24px;
}

.search-box__input {
  width: 100%;
  padding: 14px 16px 14px 48px;
  font-size: 15px;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  transition: all var(--transition-fast);
}

.search-box__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.search-box__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

/* Main Content */
.tool-main {
  min-height: 400px;
}

/* Results Count */
.results-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.results-count__text {
  font-size: 15px;
  color: var(--text-secondary);
}

.results-count__text strong {
  color: var(--text-primary);
}


/* ============================================
   OBJECTIONS DATABASE STYLES
   ============================================ */

/* Objection Card */
.objection-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all var(--transition-base);
}

.objection-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.objection-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  cursor: pointer;
  user-select: none;
}

.objection-card__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.objection-card__category {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.objection-card__category i {
  width: 16px;
  height: 16px;
}

.objection-card__category--price {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

.objection-card__category--time {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
}

.objection-card__category--trust {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent);
}

.objection-card__category--need {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.objection-card__category--competitor {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.objection-card__text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.objection-card__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.objection-card__difficulty {
  display: flex;
  gap: 4px;
}

.difficulty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
}

.difficulty-dot--filled {
  background: var(--warning);
}

.difficulty-dot--hard {
  background: var(--error);
}

.objection-card__toggle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.objection-card__toggle i {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.objection-card--open .objection-card__toggle {
  background: var(--primary-light);
  color: var(--primary);
}

.objection-card--open .objection-card__toggle i {
  transform: rotate(180deg);
}

/* Objection Body */
.objection-card__body {
  display: none;
  padding: 0 24px 24px;
}

.objection-card--open .objection-card__body {
  display: block;
}

/* Response Cards */
.response-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.response-card {
  padding: 20px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}

.response-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.response-card__technique {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.response-card__copy {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.response-card__copy:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.response-card__copy i {
  width: 14px;
  height: 14px;
}

.response-card__copy--copied {
  border-color: var(--success);
  color: var(--success);
  background: var(--success-light);
}

.response-card__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.response-card__explanation {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.response-card__explanation i {
  width: 18px;
  height: 18px;
  color: var(--warning);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Example Dialog */
.response-card__dialog {
  margin-top: 16px;
  padding: 16px;
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.response-card__dialog-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.dialog-line {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.dialog-line:last-child {
  margin-bottom: 0;
}

.dialog-line__role {
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}

.dialog-line__role--client {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
}

.dialog-line__role--manager {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.dialog-line__text {
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}


/* ============================================
   CHECKLIST TOOL STYLES
   ============================================ */

.checklist-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Checklist Card */
.checklist-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  margin-bottom: 20px;
  overflow: hidden;
}

.checklist-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.checklist-card__title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 700;
}

.checklist-card__title i {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.checklist-card__progress {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checklist-card__progress-bar {
  width: 100px;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.checklist-card__progress-fill {
  height: 100%;
  background: var(--success);
  border-radius: 4px;
  transition: width var(--transition-base);
}

.checklist-card__progress-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.checklist-card__body {
  padding: 8px 0;
}

/* Checklist Item */
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.checklist-item:hover {
  background: var(--bg-alt);
}

.checklist-item__checkbox {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.checklist-item__checkbox i {
  width: 14px;
  height: 14px;
  color: white;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.checklist-item--checked .checklist-item__checkbox {
  background: var(--success);
  border-color: var(--success);
}

.checklist-item--checked .checklist-item__checkbox i {
  opacity: 1;
}

.checklist-item__content {
  flex: 1;
}

.checklist-item__text {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.5;
  transition: all var(--transition-fast);
}

.checklist-item--checked .checklist-item__text {
  color: var(--text-muted);
  text-decoration: line-through;
}

.checklist-item__hint {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Score Display */
.score-display {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  margin-bottom: 24px;
}

.score-display__circle {
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
  position: relative;
}

.score-display__ring {
  transform: rotate(-90deg);
}


.score-display__ring-bg {
  fill: none;
  stroke: var(--border);
  stroke-width: 12;
}

/* ============================================
   INFO HELP BOX (Instruction)
   ============================================ */
.info-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #eff6ff;
  /* Light blue */
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 32px;
  color: #1e3a8a;
  /* Dark blue text */
}

/* ... (rest of info-box styles skipped for brevity in replace, need target match) ... */


.info-box__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #dbeafe;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.info-box__icon i {
  width: 24px;
  height: 24px;
}

.info-box__content {
  flex: 1;
}

.info-box__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1e293b;
}

.info-box__text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #334155;
}

.info-box__list {
  list-style: disc;
  padding-left: 20px;
  font-size: 14px;
  color: #475569;
}

.info-box__list li {
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .info-box {
    flex-direction: column;
    gap: 12px;
  }
}

.score-display__ring-fill {
  fill: none;
  stroke: var(--success);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 408;
  stroke-dashoffset: 408;
  transition: stroke-dashoffset 0.5s ease;
}

.score-display__ring-fill--warning {
  stroke: var(--warning);
}

.score-display__ring-fill--error {
  stroke: var(--error);
}

.score-display__value {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-display__number {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.score-display__max {
  font-size: 18px;
  color: var(--text-muted);
}

.score-display__label {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.score-display__desc {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Actions Bar */
.actions-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}

.actions-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.actions-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}


/* ============================================
   CTA SECTION (for tools)
   ============================================ */

.tool-cta {
  background: var(--dark);
  padding: 80px 0;
  margin-top: 80px;
}

.tool-cta__content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.tool-cta__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  border-radius: var(--radius-lg);
}

.tool-cta__icon i {
  width: 32px;
  height: 32px;
  color: white;
}

.tool-cta__title {
  font-size: clamp(28px, 4vw, 36px);
  color: white;
  margin-bottom: 16px;
}

.tool-cta__text {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.tool-cta__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ============================================
   TOOLS LAYOUT WITH SIDEBAR
   ============================================ */

.tools-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: start;
}

.tools-sidebar {
  position: relative;
}

.tools-sidebar__sticky {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 8px;
}

.tools-sidebar__sticky::-webkit-scrollbar {
  width: 4px;
}

.tools-sidebar__sticky::-webkit-scrollbar-track {
  background: transparent;
}

.tools-sidebar__sticky::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.tools-sidebar__sticky::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.tools-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.tools-sidebar__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.tools-sidebar__count {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.tools-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tools-nav__section {
  display: flex;
  flex-direction: column;
}

.tools-nav__category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

.tools-nav__category svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.7;
}

.tools-nav__category span:first-of-type {
  flex: 1;
}

.tools-nav__badge {
  font-size: 12px;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.tools-nav__category:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

.tools-nav__category:hover svg {
  opacity: 1;
}

.tools-nav__category:hover .tools-nav__badge {
  background: var(--primary-light);
  color: var(--primary);
}

.tools-nav__category.active {
  background: var(--primary-light);
  color: var(--primary);
}

.tools-nav__category.active svg {
  opacity: 1;
}

.tools-nav__category.active .tools-nav__badge {
  background: var(--primary);
  color: white;
}

.tools-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tools-nav__list li {
  margin: 0;
}

.tools-nav__list a {
  display: block;
  padding: 8px 16px 8px 48px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
  transition: all var(--transition-fast);
  border-radius: var(--radius-md);
  position: relative;
}

.tools-nav__list a:hover {
  color: var(--primary);
  background: var(--bg-secondary);
  padding-left: 52px;
}

.tools-nav__list a::before {
  content: '';
  position: absolute;
  left: 36px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.tools-nav__list a:hover::before {
  background: var(--primary);
  width: 6px;
  height: 6px;
}

.tools-main {
  min-width: 0;
}


/* ============================================
   TOOLS CATEGORIES
   ============================================ */

.tools-category {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.tools-category:last-child {
  margin-bottom: 0;
}

.tools-category__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.tools-category__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.tools-category__icon svg {
  width: 24px;
  height: 24px;
}

.tools-category__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.tools-category__count {
  margin-left: auto;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  padding: 6px 12px;
  background: var(--bg-secondary);
  border-radius: var(--radius-full);
}


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

@media (max-width: 768px) {
  .tools-header {
    padding: 100px 0 60px;
  }

  .tool-page__header {
    padding: 100px 0 40px;
  }

  .tool-layout {
    grid-template-columns: 1fr;
  }

  .tool-sidebar {
    position: static;
    order: -1;
  }

  .objection-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .objection-card__right {
    width: 100%;
    justify-content: space-between;
  }

  .actions-bar {
    flex-direction: column;
    gap: 16px;
  }

  .actions-bar__left,
  .actions-bar__right {
    width: 100%;
    justify-content: center;
  }

  .tools-category__header {
    flex-wrap: wrap;
  }

  .tools-category__title {
    font-size: 24px;
  }

  .tools-category__count {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .tools-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tools-sidebar {
    order: -1;
  }

  .tools-sidebar__sticky {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .tools-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
  }

  .tools-nav__category {
    flex-direction: column;
    text-align: center;
    padding: 16px 8px;
    gap: 8px;
  }

  .tools-nav__category span:first-of-type {
    font-size: 13px;
  }

  .tools-nav__list {
    display: none;
  }
}

/* ============================================
   FEEDBACK CARD COMPONENT
   Reusable feedback block for tools/lessons
   ============================================ */

.feedback-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 20px;
    text-align: center;
}

.feedback-card__title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.feedback-card__buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.feedback-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-alt);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.feedback-card__btn i {
    width: 18px;
    height: 18px;
}

.feedback-card__btn--yes:hover {
    background: var(--success-light);
    border-color: var(--success);
    color: var(--success);
}

.feedback-card__btn--no:hover {
    background: var(--error-light);
    border-color: var(--error);
    color: var(--error);
}

/* Selected state */
.feedback-card__btn.selected.feedback-card__btn--yes {
    background: var(--success-light);
    border-color: var(--success);
    color: var(--success);
}

.feedback-card__btn.selected.feedback-card__btn--no {
    background: var(--error-light);
    border-color: var(--error);
    color: var(--error);
}

/* Standalone feedback section */
.feedback-section {
    padding: 40px 0;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
}

.feedback-section .feedback-card {
    max-width: 400px;
    margin: 0 auto;
}