@charset "UTF-8";
*, ::after, ::before {
  box-sizing: border-box;
  text-decoration: none;
}

@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-FD.woff2") format("woff2"), url("../fonts/Sahel-FD.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-Bold-FD.woff2") format("woff2"), url("../fonts/Sahel-Bold-FD.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sahel";
  src: url("../fonts/Sahel-Light-FD.woff2") format("woff2"), url("../fonts/Sahel-Light-FD.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
.woocommerce-questions-tab {
  width: 100%;
  max-width: 100% !important;
  margin-top: 30px;
}
.woocommerce-questions-tab h3 {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 0;
  color: #333;
}
.woocommerce-questions-tab .woo-question-form {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 480px) {
  .woocommerce-questions-tab .woo-question-form {
    padding: 16px;
  }
}
.woocommerce-questions-tab .woo-question-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 16px;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s ease;
}
.woocommerce-questions-tab .woo-question-form textarea:focus {
  outline: none;
  border-color: #007cba;
}
.woocommerce-questions-tab .woo-question-form button {
  background: #007cba;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.woocommerce-questions-tab .woo-question-form button:hover {
  background: #005a87;
}
.woocommerce-questions-tab .woo-question-form button:disabled {
  background: #21b5ff;
  cursor: not-allowed;
}
.woocommerce-questions-tab .question-item {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
@media (max-width: 480px) {
  .woocommerce-questions-tab .question-item {
    padding: 16px;
  }
}
.woocommerce-questions-tab .question-item .question-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ededed;
  gap: 10px;
}
.woocommerce-questions-tab .question-item .question-header .question-author {
  color: #666;
  font-size: 14px;
}
.woocommerce-questions-tab .question-item .question-header .question-date {
  color: #666;
  font-size: 12px;
}
.woocommerce-questions-tab .question-item .question-text {
  font-size: 16px;
  font-weight: bold;
  color: #4d4d4d;
  line-height: 1.6;
  margin-bottom: 16px;
}
.woocommerce-questions-tab .answers-list {
  margin-top: 20px;
}
.woocommerce-questions-tab .answers-list .answer-item {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .woocommerce-questions-tab .answers-list .answer-item {
    padding: 12px;
  }
}
.woocommerce-questions-tab .answers-list .answer-item .answer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
@media (max-width: 600px) {
  .woocommerce-questions-tab .answers-list .answer-item .answer-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
.woocommerce-questions-tab .answers-list .answer-item .answer-header .answer-header-box {
  display: flex;
  align-items: center;
}
.woocommerce-questions-tab .answers-list .answer-item .answer-header .answer-header-name {
  font-size: 12px;
}
.woocommerce-questions-tab .answers-list .answer-item .answer-header .purchaser-badge {
  background: #28a745;
  color: white;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  margin-right: 8px;
  font-weight: normal;
  display: inline-block;
  line-height: 1;
}
.woocommerce-questions-tab .answers-list .answer-item .answer-header .answer-date {
  margin-right: 8px;
  color: #666;
  font-size: 12px;
}
.woocommerce-questions-tab .answers-list .answer-item .answer-text {
  font-size: 14px;
  color: #666666;
  line-height: 1.6;
}
.woocommerce-questions-tab .answer-item.hidden-answer {
  display: none;
}
.woocommerce-questions-tab .view-all-answers-wrapper {
  margin-top: 16px;
  text-align: center;
}
.woocommerce-questions-tab .view-all-answers-wrapper .view-all-answers-btn {
  background: transparent;
  border: 1px solid #007cba;
  color: #007cba;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}
.woocommerce-questions-tab .view-all-answers-wrapper .view-all-answers-btn:hover {
  background: #007cba;
  color: white;
}
.woocommerce-questions-tab .vote-buttons {
  display: flex;
  gap: 4px;
}
@media (max-width: 768px) {
  .woocommerce-questions-tab .vote-buttons {
    flex-wrap: wrap;
  }
}
.woocommerce-questions-tab .vote-buttons .vote-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  background: white;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: none;
}
.woocommerce-questions-tab .vote-buttons .vote-btn:hover {
  background: #f6f7f7;
}
.woocommerce-questions-tab .vote-buttons .vote-btn svg {
  width: 18px;
  height: 18px;
  fill: #888;
}
.woocommerce-questions-tab .vote-buttons .vote-btn.active-like {
  background: #c0f0cb;
  border-color: #28a745;
  color: #28a745;
}
.woocommerce-questions-tab .vote-buttons .vote-btn.active-like svg {
  fill: #28a745;
}
.woocommerce-questions-tab .vote-buttons .vote-btn.active-dislike {
  background: #fdf4f5;
  border-color: #dc3545;
  color: #dc3545;
}
.woocommerce-questions-tab .vote-buttons .vote-btn.active-dislike svg {
  fill: #dc3545;
}
.woocommerce-questions-tab .answer-action {
  margin-top: 16px;
}
.woocommerce-questions-tab .answer-action .btn-answer {
  background: #28a745;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.woocommerce-questions-tab .answer-action .btn-answer:hover {
  background: #1e7e34;
}

.answer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100% !important;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}
.answer-modal.active {
  visibility: visible;
  opacity: 1;
}
.answer-modal .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.answer-modal .modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .answer-modal .modal-content {
    width: 95%;
    margin: 20px auto;
  }
}
.answer-modal .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
}
@media (max-width: 480px) {
  .answer-modal .modal-content .modal-header {
    padding: 16px;
  }
}
.answer-modal .modal-content .modal-header h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: #333;
}
.answer-modal .modal-content .modal-header .modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  box-shadow: none;
}
.answer-modal .modal-content .modal-header .modal-close:hover {
  color: #333;
}
.answer-modal .modal-content .modal-body {
  padding: 20px;
}
@media (max-width: 480px) {
  .answer-modal .modal-content .modal-body {
    padding: 16px;
  }
}
.answer-modal .modal-content .logged-in-notice {
  background: #f0f8ff;
  padding: 10px;
  border-radius: 4px;
  border-right: 3px solid #007cba;
  font-size: 13px;
}
.answer-modal .modal-content .logged-in-notice svg {
  width: 18px;
  height: 18px;
}
.answer-modal .modal-content .logged-in-notice strong {
  font-size: 14px;
}

.woo-question-form-group {
  margin-bottom: 20px;
}
.woo-question-form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}
.woo-question-form-group input[type=text],
.woo-question-form-group input[type=email],
.woo-question-form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}
.woo-question-form-group input[type=text]:focus,
.woo-question-form-group input[type=email]:focus,
.woo-question-form-group textarea:focus {
  outline: none;
  border-color: #007cba;
}
.woo-question-form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.woo-question-form-group .checkbox-label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-weight: normal;
  font-size: 14px;
}
.woo-question-form-group .checkbox-label input[type=checkbox] {
  margin: 2px 8px 0 0;
}
.rtl .woo-question-form-group .checkbox-label input[type=checkbox] {
  margin: 2px 0 0 8px;
}
.woo-question-form-group .checkbox-label small {
  display: block;
  margin-top: 5px;
  color: #666;
  font-size: 12px;
}
.woo-question-form-group p {
  background: white;
  padding: 10px;
  border-radius: 4px;
  border-right: 3px solid #007cba;
  margin: 0;
}
.woo-question-form-group.logged-in-notice p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}
.woo-question-form-group.logged-in-notice p svg {
  width: 28px;
  height: 28px;
  background: #f0f0f0;
  padding: 5px;
  border-radius: 50px;
}

.woo-question-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .woo-question-form-actions {
    flex-direction: column;
  }
}
.woo-question-form-actions button {
  height: 44px;
}
.woo-question-form-actions .btn-cancel {
  padding: 10px 20px;
  background: #f8f9fa;
  border-radius: 4px;
  cursor: pointer;
  color: #333;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .woo-question-form-actions .btn-cancel {
    width: 100%;
  }
}
.woo-question-form-actions .btn-cancel:hover {
  background: #e9ecef;
  color: #dc3545;
}
.woo-question-form-actions .btn-submit {
  padding: 10px 20px;
  background: #007cba;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .woo-question-form-actions .btn-submit {
    width: 100%;
  }
}
.woo-question-form-actions .btn-submit:hover {
  background: #005a87;
}
.woo-question-form-actions .btn-submit:disabled {
  background: #21b5ff;
  cursor: not-allowed;
}

.wp-active-questions-message {
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}
.wp-active-questions-message.success {
  background: #c4f1ce;
  border: 1px solid #5dd879;
  color: #1e7e34;
}
.wp-active-questions-message.error {
  background: #fef9f9;
  border: 1px solid #eb8c95;
  color: #bd2130;
}
.wp-active-questions-message.info {
  background: #a1e0ff;
  border: 1px solid #21b5ff;
  color: #005a87;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.question-item,
.answer-item {
  animation: fadeIn 0.3s ease;
}

.answer-modal .modal-content {
  animation: fadeIn 0.3s ease;
}

.char-counter {
  font-size: 12px;
  color: #666;
  margin-top: 5px;
  text-align: left;
}
.char-counter.char-limit-exceeded {
  color: #f44336;
  font-weight: bold;
}
.char-counter.char-min-not-reached {
  color: #ff9800;
  font-weight: bold;
}
.char-counter.char-valid {
  color: #4caf50;
}
.char-counter.min-chars-info {
  color: #666;
  font-style: italic;
  margin-left: 5px;
}

.wp-active-questions-message.error {
  background: #fef9f9;
  border: 1px solid #eb8c95;
  color: #bd2130;
  padding: 10px 16px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.banned-word-highlight {
  background: linear-gradient(transparent 60%, #ffcccc 60%);
  padding: 2px 1px;
  border-radius: 2px;
  position: relative;
  cursor: help;
}
.banned-word-highlight::after {
  content: "⚠️";
  font-size: 10px;
  margin-right: 2px;
  vertical-align: super;
}
.banned-word-highlight:hover {
  background: linear-gradient(transparent 60%, #ff9999 60%);
}

@media (prefers-color-scheme: dark) {
  .banned-word-highlight {
    background: linear-gradient(transparent 60%, #ff6666 60%);
  }
  .banned-word-highlight:hover {
    background: linear-gradient(transparent 60%, #ff3333 60%);
  }
}
.woocommerce-questions-tab {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}
.woocommerce-questions-tab h3 {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}
.woocommerce-questions-tab .question-text,
.woocommerce-questions-tab .answer-text,
.woocommerce-questions-tab .woo-question-form-group,
.woocommerce-questions-tab button,
.woocommerce-questions-tab input,
.woocommerce-questions-tab textarea {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}
.woocommerce-questions-tab .question-author,
.woocommerce-questions-tab .question-date,
.woocommerce-questions-tab .answer-header-name,
.woocommerce-questions-tab .answer-date {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}

.answer-modal {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}
.answer-modal .modal-content {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}
.answer-modal .modal-content h3,
.answer-modal .modal-content button,
.answer-modal .modal-content input,
.answer-modal .modal-content textarea,
.answer-modal .modal-content label {
  font-family: "Sahel", Tahoma, Arial, sans-serif;
}

/*# sourceMappingURL=frontend.css.map */
