.feedback-page {
  --feedback-card-border: rgba(200, 169, 106, 0.25);
  --feedback-card-border-hover: rgba(200, 169, 106, 0.5);
}

.feedback-intro {
  max-width: 760px;
  margin: 0 auto 28px;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;

  max-width: 1000px;
  margin: 0 auto 36px;
}

.feedback-card {
  min-height: 230px;

  padding: 28px 24px;

  text-align: center;

  border: 1px solid var(--feedback-card-border);
  border-radius: 14px;

  background: #fff;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.feedback-card:hover {
  transform: translateY(-4px);

  border-color: var(--feedback-card-border-hover);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.feedback-icon {
  margin-bottom: 18px;

  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
}

.feedback-card-title {
  margin-bottom: 12px;

  font-size: 1.35rem;
}

.feedback-card-text {
  margin-bottom: 0;

  color: #555;

  line-height: 1.6;
}

.feedback-closing {
  max-width: 820px;
  margin: 36px auto 18px;

  text-align: center;
}

.feedback-section-heading {
  margin-bottom: 14px;

  font-size: 1.75rem;
  font-weight: 600;
}

.feedback-closing-text {
  margin: 0 auto;

  max-width: 720px;

  color: #555;

  font-size: 1.05rem;
  line-height: 1.7;
}

.feedback-actions {
  margin-top: 24px;
}

/* RTL Support */

[dir="rtl"] .feedback-card,
[dir="rtl"] .feedback-card-title,
[dir="rtl"] .feedback-card-text,
[dir="rtl"] .feedback-icon {
  text-align: center;
}

/* Mobile */

@media (max-width: 992px) {
  .feedback-grid {
    grid-template-columns: repeat(2, 1fr);

    max-width: 760px;
  }
}

@media (max-width: 768px) {
  .feedback-intro {
    margin-bottom: 22px;
  }

  .feedback-grid {
    grid-template-columns: 1fr;

    gap: 16px;

    margin-bottom: 28px;
  }

  .feedback-card {
    min-height: auto;

    padding: 24px 20px;
  }

  .feedback-closing {
    margin-top: 28px;
  }

  .feedback-section-heading {
    font-size: 1.45rem;
  }

  .feedback-actions {
    margin-top: 20px;
  }
}

/* =========================================================
   Feedback Form
   ========================================================= */

.feedback-form-section {
  max-width: 900px;
  margin: 50px auto 0;
  padding: 35px;

  border: 1px solid rgba(200, 169, 106, 0.35);
  border-radius: 18px;

  background: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.feedback-form {
  margin-top: 28px;
}

.feedback-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.form-field label {
  font-weight: 600;
  color: #111;
}

.form-input {
  width: 100%;
  padding: 13px 15px;

  border: 1px solid #ddd;
  border-radius: 12px;

  font: inherit;
  color: #111;
  background: #fff;
}

.form-input:focus {
  outline: none;
  border-color: var(--gold, #c8a96a);
  box-shadow: 0 0 0 3px rgba(200, 169, 106, 0.18);
}

.feedback-success-message {
  max-width: 900px;
  margin: 35px auto 0;
  padding: 18px 22px;

  border: 1px solid rgba(25, 135, 84, 0.35);
  border-radius: 14px;

  background: rgba(25, 135, 84, 0.08);
  color: #146c43;
  font-weight: 600;
  text-align: center;
}

.text-danger {
  color: #b00020;
  font-size: 0.9rem;
}

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

  .feedback-form-grid {
    grid-template-columns: 1fr;
  }
}

.feedback-section-heading,
.feedback-closing-text,
.feedback-form-intro {
  text-align: center;
}

/* =========================================================
   Feedback Form RTL
   ========================================================= */

[dir="rtl"] .feedback-form-section,
[dir="rtl"] .feedback-success-message {
  text-align: right;
}

[dir="rtl"] .feedback-section-heading,
[dir="rtl"] .feedback-closing-text,
[dir="rtl"] .feedback-form-intro {
  text-align: center;
}

[dir="rtl"] .form-input {
  text-align: right;
}

/* =========================================================
   Admin Feedback Overview
   ========================================================= */

.admin-feedback-wrapper {
  max-width: 1050px;
  margin: 0 auto;
}

.admin-feedback-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;

  background: #fff;
  border: 1px solid rgba(200, 169, 106, 0.25);
  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.admin-feedback-table th,
.admin-feedback-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  text-align: left;
}

.admin-feedback-table th {
  color: #111;
  font-weight: 700;
  background: rgba(200, 169, 106, 0.12);
}

.admin-feedback-table tr:last-child td {
  border-bottom: none;
}

.admin-feedback-table a {
  color: var(--gold, #c8a96a);
  font-weight: 700;
  text-decoration: none;
}

.admin-feedback-table a:hover {
  text-decoration: underline;
}

/* =========================================================
   Admin Feedback Details
   ========================================================= */

.feedback-details-card {
  max-width: 850px;
  margin: 30px auto 0;
  padding: 32px;

  background: #fff;
  border: 1px solid rgba(200, 169, 106, 0.3);
  border-radius: 18px;

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.06);
}

.feedback-detail-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;

  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feedback-detail-row strong,
.feedback-detail-message strong {
  color: #111;
  font-weight: 700;
}

.feedback-detail-message {
  margin-top: 22px;
}

.feedback-detail-message p {
  margin-top: 10px;
  padding: 18px;

  background: #faf8f2;
  border: 1px solid rgba(200, 169, 106, 0.25);
  border-radius: 14px;

  line-height: 1.7;
}

/* =========================================================
   Admin Feedback Responsive
   ========================================================= */

@media (max-width: 768px) {
  .admin-feedback-table {
    display: block;
    overflow-x: auto;
  }

  .feedback-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .feedback-details-card {
    padding: 24px 20px;
  }
}

/* =========================================================
   Admin Feedback RTL
   ========================================================= */

[dir="rtl"] .admin-feedback-table th,
[dir="rtl"] .admin-feedback-table td {
  text-align: right;
}

[dir="rtl"] .feedback-detail-row {
  text-align: right;
}
