/* ========================================
   FEEDBACK SECTION STYLES - UPDATED DESIGN
   ======================================== */

.help-feedback-section {
  /* margin: 60px 0 40px; */
  /* padding: 40px; */
  background: #ffffff;
  /* border: 1px solid #e5e7eb; */
  border-radius: 12px;
}

.feedback-title {
  font-size: 18px;
  font-weight: 500;
  color: #999999;
  margin: 0 0 20px 0;
  text-align: center !important;
}

/* ========================================
   VOTE BUTTONS - SIMPLE OUTLINE STYLE
   ======================================== */

.feedback-vote-buttons {
  display: flex;
  justify-content: center !important;
  gap: 12px;
  margin-bottom: 24px;
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border: 1px solid #d1d5db;
  border-radius: 100px;
  background: #ffffff;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 80px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
}

.vote-btn svg {
  width: 16px;
  height: 16px;
  stroke: #6b7280;
  transition: stroke 0.2s ease;
}

.vote-btn:hover {
  border-color: #9ca3af;
  background: #f9fafb;
  color: #374151;
}

.vote-btn:hover svg {
  stroke: #374151;
}

.vote-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vote-btn:active {
  transform: scale(0.98);
}

/* Remove previous hover effects */
.vote-btn-yes:hover,
.vote-btn-no:hover {
  border-color: #9ca3af;
  color: #374151;
  background: #f9fafb;
}

/* ========================================
   THANK YOU MESSAGE
   ======================================== */

.feedback-thanks {
  text-align: center;
  padding: 30px 20px;
  animation: fadeIn 0.4s ease-in;
}

.feedback-thanks svg {
  margin-bottom: 12px;
}

.thanks-message {
  font-size: 16px;
  font-weight: 500;
  color: #10b981;
  margin: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   FEEDBACK FORM - CLEAN DESIGN
   ======================================== */

.feedback-form-wrapper {
  animation: fadeIn 0.4s ease-in;
}

.form-intro {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 20px 0;
  text-align: left;
}

.feedback-form {
  max-width: 100%;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-group textarea,
.form-group input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #1f2937;
  transition: all 0.2s ease;
  background: #ffffff;
}

.form-group textarea:focus,
.form-group input[type="email"]:focus {
  border-color: #e00000;
  outline: none;
  box-shadow: 0 0 0 3px rgba(224, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-group input[type="email"]::placeholder {
  color: #9ca3af;
}

/* ========================================
   SUBMIT BUTTON - RED WITH ICON
   ======================================== */

.feedback-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: #e00000;
  color: #ffffff;
  border: 1px solid #e00000;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feedback-submit-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

.feedback-submit-btn:hover {
  background: #c00000;
  border-color: #c00000;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(224, 0, 0, 0.2);
}

.feedback-submit-btn:active {
  transform: translateY(0);
}

.feedback-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ========================================
   RELATED ARTICLES SECTION
   ======================================== */

.related-articles-section {
  margin: 60px 0 40px;
}

.related-title {
  font-size: 36px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 20px 0;
}

.related-articles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-article-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.related-article-item:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
}

.related-article-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  border-radius: 50%;
  overflow: hidden;
}

.related-article-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-article-icon svg {
  width: 20px;
  height: 20px;
  stroke: #9ca3af;
}

.related-article-title {
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  color: #e00000;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
}

.related-article-item:hover .related-article-title {
  text-decoration: underline;
  color: #c00000;
}

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

@media (max-width: 768px) {
  .help-feedback-section {
    padding: 28px 20px;
  }

  .feedback-vote-buttons {
    flex-direction: row;
    gap: 10px;
  }

  .vote-btn {
    flex: 1;
    min-width: 0;
  }

  .feedback-form {
    max-width: 100%;
  }

  .related-articles-list {
    gap: 16px;
  }

  .related-article-icon {
    width: 36px;
    height: 36px;
  }

  .related-article-title {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .feedback-title,
  .related-title {
    font-size: 16px;
  }

  .vote-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .form-group textarea,
  .form-group input[type="email"] {
    padding: 10px 14px;
    font-size: 13px;
  }

  .feedback-submit-btn {
    padding: 9px 20px;
    font-size: 13px;
  }
}

/* ========================================
   REMOVE DEBUG STYLES (Production)
   ======================================== */

/* Remove the green banner from inline CSS */
.help-feedback-section::before {
  display: none !important;
}
