/* Table Post End */
.m-top-24 {
  margin-top: 24px;
}

.p-20 {
  padding: 20px;
}

.t-center {
  text-align: center;
}

.faq-preview {
  margin-top: 1.5rem;
}

.faq-description {
  max-width: 720px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
  color: var(--text-secondary)
}

.faq-btn {
  padding: 0.75rem 1.75rem;
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.faq-question {
  cursor: pointer;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question::after {
  content: "\f107";
  /* FontAwesome chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 20px;
}

.faq-item[open] .faq-content {
  padding: 12px 20px 16px 20px;
  max-height: 1000px;
}

.faq-answer {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.faq-answer code {
  display: inline-block;
  background-color: #1f1f23;
  color: #60a5fa;
  font-family: 'Fira Code', monospace;
  font-size: 0.875rem;
  padding: 2px 6px;
  border-radius: var(--radius);
  border: 1px solid #3b82f6;
  line-height: 1.4;
  white-space: pre-wrap;
  word-break: break-word;
}

.faq-answer code:hover {
  cursor: text;
}

.link {
  color: var(--accent);
  text-decoration: none;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  background: linear-gradient(45deg, #3b82f6, #60a5fa);
  box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
  transition: background 0.3s, box-shadow 0.3s;
}

.btn-download-disabled {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-primary) !important;
  background: var(--error);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  transition: none;
}

.btn-download:hover {
  background: linear-gradient(45deg, #60a5fa, #3b82f6);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.4);
}

.btn-download:active {
  box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3);
}

.btn-download i {
  font-size: 1rem;
}
