.elementor-986 .elementor-element.elementor-element-221f3ba{--display:flex;}.elementor-986 .elementor-element.elementor-element-5082893{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for wd_text_block, class: .elementor-element-79dd488 *//* کانتینر اصلی */
.cf7-profiletrading.rtl {
  direction: rtl;
  text-align: right;
  font-family: inherit;
}

/* گرید فرم */
.cf7-profiletrading .cf7-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 12px;
}

/* کنترل‌ها */
.cf7-profiletrading .wpcf7-form-control {
  width: 100%;
}

/* فیلدهای ورودی – حالت دارک */
.cf7-profiletrading input[type="text"],
.cf7-profiletrading input[type="email"],
.cf7-profiletrading select,
.cf7-profiletrading textarea {
  padding: 12px 14px;
  border: 1px solid #3a3a3a;        /* کادر خاکستری تیره */
  border-radius: 10px;
  background: #101010;              /* پس‌زمینه تیره هماهنگ با سایت */
  color: #ffffff;                   /* متن سفید */
  font-size: 15px;
  outline: none;
}

/* Placeholder سفید */
.cf7-profiletrading input[type="text"]::placeholder,
.cf7-profiletrading input[type="email"]::placeholder,
.cf7-profiletrading textarea::placeholder {
  color: #d1d1d1;                   /* خاکستری روشن، خواناتر از سفید مطلق */
  opacity: 1;
}

/* placeholder برای select */
.cf7-profiletrading select {
  color: #ffffff;
  background-color: #101010;
}
.cf7-profiletrading select option {
  color: #ffffff;
  background-color: #101010;
}

/* افکت فوکوس */
.cf7-profiletrading input[type="text"]:focus,
.cf7-profiletrading input[type="email"]:focus,
.cf7-profiletrading select:focus,
.cf7-profiletrading textarea:focus {
  border-color: #519dd6; /* آبی برند سایت */
  box-shadow: 0 0 0 2px rgba(81,157,214,.25);
}

/* textarea */
.cf7-profiletrading textarea {
  min-height: 150px;
  resize: vertical;
}

/* فاصله‌ها */
.cf7-profiletrading .cf7-row {
  margin: 8px 0;
}
.cf7-profiletrading .cf7-actions {
  margin-top: 6px;
}

/* دکمه ارسال */
.cf7-profiletrading input[type="submit"] {
  display: inline-block;
  padding: 12px 26px;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  background: #519dd6;      /* آبی برند */
  color: #0a0a0a;           /* خوانایی بالا روی آبی */
  transition: transform .08s ease, box-shadow .2s ease, opacity .2s ease;
}

.cf7-profiletrading input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(81,157,214,.35);
}

/* پیام‌های CF7 */
.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 6px;
}

.wpcf7 form.sent .wpcf7-response-output {
  border-color: #2e7d32;
}

.wpcf7 form.failed .wpcf7-response-output {
  border-color: #b71c1c;
}

/* حریم خصوصی */
.cf7-accept {
  margin: 8px 0 12px;
}

.cf7-privacy {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #eaeaea;
}

.cf7-accept .wpcf7-list-item {
  margin: 0;
}

/* موبایل */
@media (max-width: 768px) {
  .cf7-profiletrading .cf7-grid {
    grid-template-columns: 1fr;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-5082893 *//* راست‌چین کردن فرم Gravity Forms */
.gform_wrapper {
    direction: rtl;
    text-align: right;
}

.gform_wrapper .gfield_label {
    text-align: right;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="url"],
.gform_wrapper textarea,
.gform_wrapper select {
    text-align: right;
}

.gform_wrapper .gfield_description {
    text-align: right;
}

.gform_wrapper .gform_footer,
.gform_wrapper .gform_page_footer {
    text-align: right;
}

.gform_wrapper .gfield_list,
.gform_wrapper .ginput_container {
    direction: rtl;
}

/* تنظیم دکمه ارسال */
.gform_wrapper .gform_button,
.gform_wrapper .gform_next_button,
.gform_wrapper .gform_previous_button {
    float: right;
}

/* تنظیم لیست‌های انتخابی (checkbox و radio) */
.gform_wrapper .gfield_checkbox li,
.gform_wrapper .gfield_radio li {
    text-align: right;
}

/* رفع مشکلات احتمالی در ترازبندی */
.gform_wrapper .ginput_complex label {
    text-align: right;
}/* End custom CSS */