/**
 * FAQ Plugin Frontend Styles
 * Based on design screenshots provided
 */

/* Reset and Base Styles */
.faq-container * {
  box-sizing: border-box;

}

#faq-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Search Section */
.faq-search-section {
  padding: 20px;
  background: #ffffff;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  border: 1px solid #EEEEEE;
  border-radius: 16px;
}

.faq-search-section-single {
  margin-bottom: 0;
}

.faq-search-box {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  gap: 32px;
  align-items: center;
}

.faq-search-box .orther {
  width: 100%;
  max-width: 38px;
  color: #BDBDBD;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 0;
}

.faq-search-box .faq-ask-btn {
  width: 100%;
  max-width: 134px;
}

.faq-search-box-in {
  width: 100%;
  position: relative;
  max-width: 690px;
}

.faq-search-box-in input {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: #FFFFFF;
  box-sizing: border-box;
  border-color: #eeeeee !important;

}

.heading__main__pageorcategory {
  color: #212121;
  margin-bottom: 0;
  font-family: Noto Sans;
  font-weight: 600;
  font-size: 24px;
  line-height: 135%;
}

.faq-search-box-in input::placeholder {
  color: #BDBDBD !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 150% !important;

}

.faq-search-box-in input:focus {
  outline: none;
  border-color: var(--theme-palette-color-1);
  background: #fff;
}

.faq-search-icon {
  position: absolute; 
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-search-icon:hover {
  color: var(--theme-palette-color-1);
}

.faq-search-icon svg {
  width: 24px;
  height: 24px;
}

/* Category Tabs */
.faq-categories {
  display: flex;
  gap: 32px;
  background: #FFFFFF;
  overflow-x: auto;
  flex-wrap: wrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.faq-categories::-webkit-scrollbar {
  display: none;
}

.faq-category-tab {
  color: #BDBDBD;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  background: none;
}

.faq-category-tab:hover {
  color: #212121;
}

.faq-category-tab.active {
  color: #212121;
}

/* FAQ List */
.faq-list {
  position: relative;
}

.faq-items {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  padding: 20px;
  background: #ffffff;
  border: 1px solid #EEEEEE;
}

.faq-items>*:not(:last-child) {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EEEEEE;
}


.faq-item {
  transition: all 0.3s ease;
  position: relative;
}

.faq-item-header {
  margin-bottom: 12px;
}

.faq-item-title {
  padding-left: 16px;
  border-left: 2px solid var(--theme-palette-color-1);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.faq-item-title a {
  color: #212121;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-item-title a:hover {
  color: var(--theme-palette-color-1);
}

.faq-item-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.faq-category-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}


.faq-item-content p {
  margin: 0;
  color: #616161;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 2px solid #E0E0E0;
}

.faq-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: #64748b;
}

.faq-item-comments {
  display: flex;
  align-items: center;
  gap: 4px;
}

.faq-item-comments svg {
  width: 14px;
  height: 14px;
}

.faq-read-more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--theme-palette-color-1);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.faq-read-more:hover {
  color: var(--theme-palette-color-1);
}

.faq-read-more svg {
  width: 14px;
  height: 14px;
}

/* Loading States */
.faq-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: #64748b;
}

.faq-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #e2e8f0;
  border-top: 2px solid var(--theme-palette-color-1);
  border-radius: 50%;
  animation: faq-spin 1s linear infinite;
}

@keyframes faq-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* No Results */
.faq-no-results {
  text-align: center;
  padding: 60px 20px;
}

.faq-items:empty {
  display: none;
  background: none;
}

.faq-no-results-content {
  max-width: 400px;
  margin: 0 auto;
}

.faq-no-results svg {
  width: 48px;
  height: 48px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.faq-no-results h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  font-weight: 600;
  color: #212121;
}

.faq-no-results p {
  margin: 0 0 24px 0;
  color: #64748b;
}

/* Pagination */
.faq-pagination {
  text-align: center;
  margin-top: 32px;
}

.faq-load-more-btn {
  padding: 12px 32px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-load-more-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

/* Modal Styles */
.faq-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.faq-modal.show {
  opacity: 1;
  visibility: visible;
}

.faq-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.faq-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: white;
  border-radius: 16px;
  width: 90%;
  max-width: 683px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease;
}

.faq-modal.show .faq-modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.back__page {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #757575;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
}

.faq-modal-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  padding: 24px 24px 16px;
}

.faq-modal-header h2 {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}



.faq-modal-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #212121;
  line-height: 135%;
}

.faq-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: none;
  color: #212121;
  cursor: pointer;
  transition: all 0.3s ease;
  background: none;
}

.faq-modal-close:hover {
  background: #e2e8f0;
  color: #334155;
}

.faq-modal-body {
  padding: 24px;
}

/* Form Styles */
.faq-ask-form {
  display: grid;
  gap: 20px;
}

.faq-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.faq-form-group {
  display: grid;
  gap: 8px;
  background: #ffffff;
}

.faq-form-group label {
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.faq-form-group .required {
  color: #ef4444;
}

.faq-form-group input,
.faq-form-group textarea {
  padding: 12px 16px;
  border-color: #eeeeee !important;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  background: #ffffff;
}

.faq-form-group input::placeholder,
.faq-form-group textarea::placeholder {
  color: #BDBDBD !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 150% !important;
}

.faq-form-group input:focus,
.faq-form-group textarea:focus {
  outline: none;
  border-color: var(--theme-palette-color-1);
  background: #fff;
}

.faq-form-group textarea {
  resize: vertical;
  height: 96px;
  min-height: 96px;
}

/* Checkbox Styles */
.faq-checkbox-group {
  margin: 8px 0;
}

.faq-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #374151;
}

.faq-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.faq-checkmark {
  position: relative;
  width: 18px;
  height: 18px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  background: #fff;
  transition: all 0.3s ease;
  display: none;
}

.faq-checkbox-label input[type="checkbox"]:checked+.faq-checkmark {
  background: var(--theme-palette-color-1);
  border-color: var(--theme-palette-color-1);
}

.faq-checkbox-label input[type="checkbox"]:checked+.faq-checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: 600;
}

/* Submit Button */
.faq-submit-btn {
  padding: 14px 32px;
  background: var(--theme-palette-color-1);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.faq-submit-btn:hover {
  background: var(--theme-palette-color-1);
}

.faq-submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.faq-submit-loading .faq-spinner {
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: white;
}

/* Ask Button */
.faq-ask-btn,
.faq-ask-question-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--theme-palette-color-1);
  color: rgb(255, 255, 255);
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-ask-btn:hover,
.faq-ask-question-btn:hover {
  background: var(--theme-palette-color-1);
  color: white;
  text-decoration: none;
}

/* Form Messages */
.faq-form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  display: none;
}

.faq-form-message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  display: block;
}

.faq-form-message.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

.faq-form-note {
  text-align: center;
}

.faq-form-actions button {
  width: 100%;
  text-align: center;
  padding: 12px 20px !important;
  font-size: 16px;
  color: #ffffff;
  font-weight: 500;
}

.faq-form-note p {
  margin: 0;
  font-size: 14px;
  color: #212121;
  line-height: 1.5;
  font-weight: 400;
}

.faq-form-note a {
  color: var(--theme-palette-color-1);
  text-decoration: none;
}

.faq-form-note a:hover {
  text-decoration: underline;
}

/* Single FAQ Page Styles */
.faq-single-container {
  width: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-single-article {
  padding: 20px;
  background-color: #FFFFFF;
  border-radius: 24px;
  border: 1px solid #EEEEEE;
}

.faq-single-header {
  margin-bottom: 32px;
}

.faq-single-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px 0;
  color: #212121;
}

.faq-single-meta {
  display: flex;
  gap: 16px;
  color: #64748b;
  font-size: 14px;
  margin-bottom: 16px;
}

.faq-single-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.faq-single-content {
  font-size: 16px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 40px;
  padding: 4px 0 4px 24px;
  border-left: 1px solid #EEEEEE;
}

.faq-single-content h1,
.faq-single-content h2,
.faq-single-content h3,
.faq-single-content h4,
.faq-single-content h5,
.faq-single-content h6 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: #212121;
  scroll-margin-top: 80px;
}

.faq-single-content h2 {
  font-size: 24px;
  font-weight: 600;
}

.faq-single-content h3 {
  font-size: 20px;
  font-weight: 600;
}

.faq-single-content p {
  margin-bottom: 16px;
}

.faq-single-content ul,
.faq-single-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.faq-single-content li {
  margin-bottom: 8px;
}

.faq-single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 16px 0;
}

/* Table of Contents */
.faq-toc {
  background: #FAFAFA;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  margin-top: 16px;
}

.rep__quest {
  color: #9E9E9E;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
}

.faq-toc-title {
  font-size: 16px;
  font-weight: 400;
  align-items: center;
  color: #212121;
  display: flex;
  justify-content: space-between;
}

.faq-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.faq-toc li {
  margin-bottom: 8px;
}

.faq-toc a {
  color: #212121;
  font-size: 16px;
  line-height: 150%;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.faq-toc a:hover {
  color: var(--theme-palette-color-1);
  text-decoration: underline;
}

.cach-top {
  margin-top: 16px;
  margin-bottom: 16px;
}

/* Comments Section */
.faq-comments-section {
  padding-top: 32px;
  margin-top: 48px;
}

.faq-comments-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px 0;
  color: #212121;
}

.faq-comments-list {
  display: grid;
  gap: 24px;
  margin-bottom: 32px;
}

.faq-comment {
  position: relative;
}

.faq-comment-reply {
  margin-top: 16px;
  position: relative;
}

/* Depth-based styling for unlimited nesting */
.faq-comment-depth-0 {
  margin-left: 0;
}



/* For depths beyond 5, continue the pattern */
.faq-comment[data-depth="6"] {
  margin-left: 120px;
  border-left: 3px solid #334155;
}

.faq-comment[data-depth="7"] {
  margin-left: 140px;
  border-left: 3px solid #212121;
}

.faq-comment[data-depth="8"] {
  margin-left: 160px;
  border-left: 3px solid #0f172a;
}

/* Limit maximum depth on mobile */
@media (max-width: 768px) {

  .faq-comment-depth-1,
  .faq-comment-depth-2,
  .faq-comment-depth-3,
  .faq-comment-depth-4,
  .faq-comment-depth-5,
  .faq-comment[data-depth="6"],
  .faq-comment[data-depth="7"],
  .faq-comment[data-depth="8"] {
    margin-left: 16px;
  }
}

.faq-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.faq-comment-author {
  font-weight: 600;
  color: #212121;
}

.faq-comment-author.admin {
  color: var(--theme-palette-color-1);
}

.faq-comment-date {
  color: #64748b;
  font-size: 14px;
}

.faq-comment-content {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 16px;
  margin-left: 52px;
}

.faq-comment-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.faq-comment-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.faq-comment-status.approved {
  background: #d1fae5;
  color: #065f46;
}

/* Comment Actions */
.faq-comment-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  margin-left: 52px;
}

/* đẩy thằng ngày ra bên phải */
.faq-comment-actions .faq-comment-date {
  margin-left: auto;
}


.faq-reply-btn,
.faq-toggle-replies {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.faq-toggle-replies {
  margin-left: 52px;
}

.faq-reply-btn:hover,
.faq-toggle-replies:hover {
  background: #f1f5f9;
  color: #334155;
}

.faq-toggle-replies svg {
  transition: transform 0.3s ease;
}

/* Reply Forms */
.faq-reply-form {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  margin-top: 12px;
}

.faq-submit-btn-small {
  padding: 8px 16px;
  background: var(--theme-palette-color-1);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-submit-btn-small:hover {
  background: var(--theme-palette-color-1);
}

.faq-cancel-btn {
  padding: 8px 16px;
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-cancel-btn:hover {
  background: #e2e8f0;
  color: #334155;
}

/* Nested Replies Container */
/* Load More Comments */
.faq-load-more-comments {
  text-align: center;
  margin-top: 32px;
}

.faq-load-more-btn {
  padding: 12px 32px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-load-more-btn:hover {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.faq-load-more-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.single__customfaq,
.category__page__faq {
  display: grid;
  grid-template-columns: 3fr 9fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 48px;
}

/* Additional styles for single FAQ page */

.faq-comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.faq-comments-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.faq-comments-count {
  color: #64748b;
  font-weight: 400;
}

.faq-comment-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-comment-avatar {
  width: 40px;
  height: 40px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
}

.faq-comment-avatar.admin {
  background: #0ea5e9;
  color: white;
}

.faq-comment-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.faq-comment-author {
  font-weight: 600;
  color: #1e293b;
}

.faq-comment-author.admin {
  color: #0ea5e9;
}

.faq-admin-badge {
  font-size: 11px;
  background: #0ea5e9;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.faq-comment-date {
  font-size: 13px;
  color: #64748b;
}

.faq-comment-replies {
  margin-top: 16px;
  margin-left: 32px;
}

.faq-comment-reply {
  margin-bottom: 12px;
  margin-left: 12px !important;
  padding-left: 16px;
  border-left: 2px solid #EEEEEE;
}

.faq-no-comments {
  text-align: center;
  padding: 60px 20px;
}

.faq-no-comments-content svg {
  width: 48px;
  height: 48px;
  color: #94a3b8;
  margin-bottom: 16px;
}

.faq-no-comments h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #1e293b;
}

.faq-no-comments p {
  margin: 0;
  color: #64748b;
}

.faq-toc-level-2 {
  margin-left: 0;
}

.faq-toc-level-3 {
  margin-left: 20px;
}

.faq-toc-level-4 {
  margin-left: 40px;
}

.faq-toc-level-5 {
  margin-left: 60px;
}

.faq-toc-level-6 {
  margin-left: 80px;
}

.faq-single-title {
  margin-bottom: 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--theme-palette-color-1);
}

.faq-single-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-single-header-info {
  display: flex;
  align-items: center;
}

.faq-single-header-info>*:not(:last-child) {
  position: relative;
  padding-right: 16px;
  margin-right: 16px;
}

.faq-single-header-info>*:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: #E0E0E0;
  transform: translateY(-50%);
}



.faq-single-header-info .one {
  display: flex;
  gap: 8px;
  align-items: center;
}

.faq-single-header-info .one label {
  font-weight: 400;
  font-size: 14px;
  line-height: 145%;
  color: #9E9E9E;
  margin-bottom: 0;

}

.faq-single-header-info .one span {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 145%;
  color: #212121;
}

.faq-single-header-info .time {
  font-weight: 400;
  font-size: 14px;
  line-height: 145%;
  color: #9E9E9E;
}

.call__form {
  padding-bottom: 48px;
}


.faq-like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  color: #757575;
}

.faq-like-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.faq-like-icon {
  width: 20px;
  height: 20px;
}

.faq-like-count {
  font-weight: 400;
  line-height: 150%;
  display: inline-block;
}

.singlefaq.search__pl__home input[type="search"] {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  outline: none;
  font-size: 18px;
  background: #ffffff;
  height: 48px;
}

.singlefaq.search__pl__home button {
  background: none !important;
}

.singlefaq.search__pl__home button svg {
  color: #238b00 !important;
  stroke: #238b00 !important;
}
.search__pl__home input[type="search"] {
  width: 100%;
  padding: 8px 8px 8px 20px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  outline: none;
  font-size: 18px;
  background: #ffffff;
  height: 62px;
}

.search__pl__home input::placeholder {
  color: #bdbdbd;
}

.search__pl__home button {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: var(--theme-palette-color-1);
  width: auto;
  padding: 10px 12px;
  gap: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  color: #ffffff;
  border: none;
  margin-right: 8px;
}

.search__pl__home button:hover {
  background: #065d60;
  transform: translateY(-50%) !important;
}

.search__pl__home button svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

@media (max-width: 768px) {
  .faq-comments-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .faq-comment-content,
  .faq-comment-actions,
  .faq-toggle-replies {
    margin-left: 0;
  }

  .faq-comment-replies {
    margin-left: 0;
  }

  .faq-comment-author-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media screen and (max-width: 1400px) {
  .faq-search-box-in {
    max-width: 670px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-search-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .single__customfaq,
  .category__page__faq {
    grid-template-columns: 1fr;
  }

  .faq-categories {
    justify-content: center;
    gap: 16px;
  }

  .faq-form-row {
    grid-template-columns: 1fr;
  }

  .faq-item-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .faq-modal-content {
    width: 95%;
  }

  .faq-single-title {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .faq-modal-body {
    padding: 16px;
  }

  .faq-modal-header {
    padding: 16px 16px 12px;
  }

  .faq-item {
    padding: 16px;
  }

  .faq-search-section {
    padding: 24px;
  }
}