/* Start custom CSS for ha-cf7, class: .elementor-element-9795ebf */:root{
  --v2b-navy:#0b1630;
  --v2b-red:#e11d2e;
  --v2b-text:#f5f7ff;
  --v2b-muted:#b9c4da;
  --v2b-border:rgba(255,255,255,.12);
  --v2b-shadow:0 18px 55px rgba(0,0,0,.45);
  --v2b-radius:18px;
}

/* کارت کلی */
.v2b-cf7-card{
  max-width: 920px;
  margin: 0 auto;
  color: var(--v2b-text);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03)), var(--v2b-navy);
  border: 1px solid var(--v2b-border);
  border-radius: 24px;
  box-shadow: var(--v2b-shadow);
  overflow: hidden;
}

/* هدر */
.v2b-cf7-head{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:18px 18px 14px;
  border-bottom:1px solid var(--v2b-border);
}

.v2b-cf7-badge{
  width:44px;height:44px;border-radius:16px;
  background: rgba(225,29,46,.16);
  border: 1px solid rgba(225,29,46,.35);
  display:grid;place-items:center;
  font-size:20px;
  flex:0 0 auto;
}

.v2b-cf7-title{
  font-size:18px;
  font-weight:800;
  line-height:1.5;
}

.v2b-cf7-sub{
  margin-top:4px;
  font-size:12px;
  color:var(--v2b-muted);
  line-height:1.8;
}

/* چیپ‌ها */
.v2b-cf7-chips{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}

.v2b-cf7-chip{
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--v2b-border);
  background: rgba(255,255,255,.03);
  color: var(--v2b-muted);
  font-size:12px;
}

/* بدنه */
.v2b-cf7-body{ padding:18px; }

/* گرید فیلدها */
.v2b-cf7-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

@media (max-width: 720px){
  .v2b-cf7-grid{ grid-template-columns: 1fr; }
}

/* لیبل و فیلدها */
.v2b-cf7-field label{
  display:block;
  font-size:12px;
  color:var(--v2b-muted);
  margin:0 0 6px;
}

.v2b-cf7-card input,
.v2b-cf7-card select,
.v2b-cf7-card textarea{
  width:100%;
  box-sizing:border-box;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--v2b-border);
  border-radius: 14px;
  padding: 12px;
  color: var(--v2b-text);
  outline:none;
}

/* فوکوس زیباتر */
.v2b-cf7-card input:focus,
.v2b-cf7-card select:focus,
.v2b-cf7-card textarea:focus{
  border-color: rgba(59,130,246,.45);
  box-shadow: 0 0 0 4px rgba(59,130,246,.14);
}

.v2b-cf7-card textarea{
  min-height: 140px;
  resize: vertical;
}

.v2b-cf7-wide{ margin-top:12px; }

/* acceptance */
.v2b-cf7-consent{
  margin-top:12px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--v2b-border);
  background: rgba(255,255,255,.03);
  color: var(--v2b-muted);
  font-size:12px;
  line-height:1.8;
}

.v2b-cf7-consent .wpcf7-list-item{
  margin:0 !important;
}

.v2b-cf7-consent label{
  margin:0 !important;
  display:flex;
  gap:8px;
  align-items:flex-start;
}

.v2b-cf7-consent input{
  margin-top:3px;
}

/* دکمه‌ها */
.v2b-cf7-actions{
  display:flex;
  gap:10px;
  justify-content:flex-end;
  flex-wrap:wrap;
  margin-top:14px;
}

.v2b-cf7-btn{
  border:none;
  cursor:pointer;
  padding:12px 16px;
  border-radius:14px;
  font-weight:800;
  font-family: inherit;
}

.v2b-cf7-btn.primary{
  background: var(--v2b-red);
  color:#fff;
  box-shadow: 0 12px 28px rgba(225,29,46,.22);
}

.v2b-cf7-btn.secondary{
  background: rgba(255,255,255,.06);
  border: 1px solid var(--v2b-border);
  color:#fff;
}

/* نوت پایین */
.v2b-cf7-note{
  margin-top:10px;
  font-size:12px;
  color:var(--v2b-muted);
  line-height:1.8;
}

/* پیام‌های خطا/موفقیت CF7 */
.v2b-cf7-card .wpcf7-response-output{
  margin:12px 0 0;
  border-radius:14px;
  padding:10px 12px;
}
.v2b-cf7-card .wpcf7-not-valid-tip{
  font-size:12px;
  margin-top:6px;
}
/* --- 0) ریستِ CF7 داخل کارت: p و br باعث به‌هم‌ریختگی میشن --- */
.v2b-cf7-card p{
  margin:0 !important;
}
.v2b-cf7-card br{
  display:none !important;
}

/* --- 1) بخش بالایی (چیپ‌های تخصص/همکاری) حتماً افقی و درست --- */
.v2b-cf7-chips{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  justify-content:flex-end !important; /* چون RTL هست */
  align-items:center !important;
}

.v2b-cf7-chip{
  display:inline-flex !important;
  align-items:center !important;
  white-space:nowrap !important;
}

/* --- 2) پذیرش قوانین: چک‌باکس + متن کنار هم و خوانا --- */
.v2b-cf7-consent{
  display:block !important;
}

.v2b-cf7-consent .wpcf7-form-control{
  margin:0 !important;
}

.v2b-cf7-consent .wpcf7-list-item{
  margin:0 !important;
}

.v2b-cf7-consent label{
  display:flex !important;
  flex-direction:row !important;      /* کنار هم */
  justify-content:flex-start !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 !important;
  color:var(--v2b-muted) !important;
}

.v2b-cf7-consent input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  flex:0 0 auto !important;
}

/* --- 3) دکمه‌ها: کنار هم و در یک ردیف --- */
.v2b-cf7-actions{
  display:flex !important;
  flex-direction:row !important;
  gap:10px !important;
  justify-content:flex-end !important;
  align-items:center !important;
  width:100% !important;
}

.v2b-cf7-actions > *{
  margin:0 !important;
}

.v2b-cf7-actions p{
  margin:0 !important;
  display:contents !important; /* اگر submit داخل <p> افتاده باشد، پ حذفِ بصری می‌شود */
}
/* رفع مشکل دیده نشدن گزینه‌های select هنگام باز شدن لیست */
.v2b-cf7-card select option{
  color:#0b1630 !important;        /* متن تیره */
  background:#ffffff !important;   /* زمینه روشن */
}

/* برای بعضی مرورگرها/تم‌ها بهتره optgroup هم ست بشه */
.v2b-cf7-card select optgroup{
  color:#0b1630 !important;
  background:#ffffff !important;
}

/* اگر هنوز داخل خود select متن کمرنگ بود */
.v2b-cf7-card select{
  color: var(--v2b-text) !important;
}
/* چک‌باکس مقررات و متن در یک خط */
.v2b-hh-consent label{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  white-space:nowrap;
}

/* جلوگیری از رفتن متن به خط بعد */
.v2b-hh-consent .wpcf7-list-item{
  margin:0 !important;
}

/* تنظیم اندازه و تراز چک‌باکس */
.v2b-hh-consent input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  flex:0 0 auto;
}
/* یک‌خط شدن + رنگ صحیح متن مقررات */
.v2b-hh-consent label{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  color:#ffffff !important;       /* متن قبل و بعد = سفید */
  white-space:nowrap;
}

/* لینک مقررات = رنگ روشن و مشخص */
.v2b-hh-consent .v2b-hh-link{
  color:#6ee7b7 !important;       /* سبز-آبی روشن */
  font-weight:700;
  text-decoration:underline;
}

/* تنظیم خود چک‌باکس */
.v2b-hh-consent input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  flex:0 0 auto;
}

/* جلوگیری از فاصله اضافی CF7 */
.v2b-hh-consent .wpcf7-list-item{
  margin:0 !important;
}/* End custom CSS */