.rj-tester-page {
  padding: 2rem 0 3rem;
}

.rj-tester-page__card {
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(48, 35, 24, 0.1);
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 18, 15, 0.06);
}

.rj-tester-page__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
}

.rj-tester-page__intro {
  margin: 0 0 1rem;
  line-height: 1.8;
  color: #5f5348;
}

.rj-tester-page__fee {
  margin: 0 0 1.25rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(176, 132, 59, 0.1);
  font-weight: 700;
}

.rj-tester-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.rj-tester-page__field {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.rj-tester-page__field--full {
  grid-column: 1 / -1;
}

.rj-tester-page__field label {
  font-size: 0.88rem;
  font-weight: 700;
}

.rj-tester-page__field input,
.rj-tester-page__field textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(48, 35, 24, 0.16);
  border-radius: 10px;
  font: inherit;
}

.rj-tester-page__submit {
  width: 100%;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 0 !important;
  border-radius: 12px !important;
  background: var(--color-primary, #ad5f6c) !important;
  color: #fff !important;
  font-family: var(--font-primary, inherit);
  font-size: 0.95rem !important;
  font-weight: 800 !important;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.rj-tester-page__submit:hover {
  opacity: 0.92;
  color: #fff !important;
}

@media (max-width: 640px) {
  .rj-tester-page__grid {
    grid-template-columns: 1fr;
  }
}

/* پیام صفحه پرداخت تستر تهران — سبز به‌جای قرمز خطای مهمان ووکامرس */
body.rj-tehran-tester-pay .woocommerce-error,
body.rj-tehran-tester-pay .woocommerce-NoticeGroup .woocommerce-error,
body.rj-tehran-tester-pay .wc-block-components-notice-banner.is-error {
  background: #e8f7ee !important;
  border-color: #2f9e5d !important;
  color: #1b6b3a !important;
}

body.rj-tehran-tester-pay .woocommerce-error::before,
body.rj-tehran-tester-pay .woocommerce-error .svg,
body.rj-tehran-tester-pay .woocommerce-error svg {
  color: #2f9e5d !important;
  fill: #2f9e5d !important;
}

body.rj-tehran-tester-pay .woocommerce-error li,
body.rj-tehran-tester-pay .woocommerce-error a {
  color: #1b6b3a !important;
}
