/* Dorna Dena FCR - frontend. همه‌چیز زیر .dfcr-wrap محدود شده تا با قالب تداخل نکند. */
.dfcr-wrap{--dfcr-brand:#060F5C;--dfcr-brand-soft:#eef0fa;--dfcr-border:#d9dcec;--dfcr-err:#c0261d;
	direction:rtl;text-align:right;font-family:Vazirmatn,Vazir,"IRANSans",Tahoma,sans-serif;color:#1f2230;line-height:1.8;max-width:820px;margin:0 auto;box-sizing:border-box}
.dfcr-wrap *,.dfcr-wrap *::before,.dfcr-wrap *::after{box-sizing:border-box;font-family:inherit}
.dfcr-app{background:#fff;border:1px solid var(--dfcr-border);border-radius:14px;padding:22px;box-shadow:0 4px 18px rgba(6,15,92,.07)}
.dfcr-header{text-align:center;margin-bottom:14px}
.dfcr-logo{max-height:70px;width:auto;margin:0 auto 8px;display:block}
.dfcr-title{margin:0 0 6px;font-size:22px;color:var(--dfcr-brand);font-weight:800}
.dfcr-intro{margin:0;color:#4a4f66;font-size:14px}
.dfcr-progress{height:8px;background:var(--dfcr-brand-soft);border-radius:8px;overflow:hidden;margin:14px 0 6px}
.dfcr-progress-bar{height:100%;width:33%;background:var(--dfcr-brand);border-radius:8px;transition:width .3s}
.dfcr-steps-label{font-size:13px;color:#4a4f66;margin-bottom:8px}
.dfcr-formmsg{color:var(--dfcr-err);font-size:14px;margin:6px 0;min-height:0}
.dfcr-formmsg:empty{display:none}
.dfcr-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.dfcr-step{border:0;margin:0;padding:0;min-width:0}
.dfcr-step[hidden]{display:none}
.dfcr-step legend{font-weight:700;color:var(--dfcr-brand);font-size:16px;padding:0;margin-bottom:12px}
.dfcr-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.dfcr-full{grid-column:1/-1}
.dfcr-field label{display:block;font-size:14px;font-weight:600;margin-bottom:4px}
.dfcr-req{color:var(--dfcr-err)}
.dfcr-input-wrap{position:relative}
.dfcr-field input[type=text],.dfcr-field input[type=tel],.dfcr-field input[type=email],.dfcr-field select,.dfcr-field textarea{
	width:100%;border:1px solid var(--dfcr-border);border-radius:8px;padding:10px 12px;font-size:15px;background:#fff;color:#1f2230;min-height:44px;margin:0;box-shadow:none}
.dfcr-field input[type=email]{direction:ltr;text-align:left}
.dfcr-input-wrap .dfcr-unit{position:absolute;left:10px;top:50%;transform:translateY(-50%);font-size:12px;color:#6b7088;pointer-events:none;background:#fff;padding:0 4px}
.dfcr-input-wrap:has(.dfcr-unit) input{padding-left:64px}
.dfcr-field input:focus,.dfcr-field select:focus,.dfcr-field textarea:focus{outline:2px solid var(--dfcr-brand);outline-offset:1px;border-color:var(--dfcr-brand)}
.dfcr-invalid input,.dfcr-invalid select,.dfcr-invalid textarea{border-color:var(--dfcr-err)}
.dfcr-error{display:block;color:var(--dfcr-err);font-size:12.5px;min-height:0}
.dfcr-error:empty{display:none}
.dfcr-hint{display:block;color:#6b7088;font-size:12px}
.dfcr-cond{display:none}
.dfcr-cond.dfcr-on{display:block}
.dfcr-consent{margin-top:16px;background:var(--dfcr-brand-soft);border-radius:10px;padding:12px 14px}
.dfcr-privacy{font-size:12.5px;color:#3b3f55;margin-bottom:8px}
.dfcr-check label{font-weight:500;display:flex;gap:8px;align-items:flex-start}
.dfcr-check input{margin-top:6px}
.dfcr-nav{display:flex;gap:10px;justify-content:space-between;margin-top:20px}
.dfcr-btn{display:inline-block;border:0;border-radius:9px;padding:11px 20px;font-size:15px;font-weight:700;cursor:pointer;text-decoration:none;text-align:center;min-height:44px;line-height:1.6}
.dfcr-btn[hidden]{display:none}
.dfcr-btn-primary{background:var(--dfcr-brand);color:#fff}
.dfcr-btn-primary:hover,.dfcr-btn-primary:focus{background:#0a1a8a;color:#fff}
.dfcr-btn-secondary{background:#fff;color:var(--dfcr-brand);border:1px solid var(--dfcr-brand)}
.dfcr-btn:disabled{opacity:.6;cursor:wait}
.dfcr-nav .dfcr-next,.dfcr-nav .dfcr-submit{margin-right:auto}
.dfcr-result-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:16px}
.dfcr-pdf-help{text-align:center;font-size:12.5px;color:#6b7088}
/* گزارش */
.dfcr-report{border:1px solid var(--dfcr-border);border-radius:10px}
.dfcr-rp-logo{max-height:64px;width:auto;display:block;margin-bottom:6px}
.dfcr-report table{width:100%;border-collapse:collapse;font-size:14px}
.dfcr-report th,.dfcr-report td{border:1px solid #dfe2ee;padding:8px 10px;text-align:right;vertical-align:top}
.dfcr-report th{background:#f3f4f9;width:42%;font-weight:600}
.dfcr-report h2{margin:6px 0;font-size:20px}
.dfcr-report h3{margin:22px 0 8px;color:var(--dfcr-brand);font-size:16px;border-right:4px solid var(--dfcr-brand);padding-right:8px}
.dfcr-rp-head{border-bottom:3px solid var(--dfcr-brand);padding-bottom:12px;margin-bottom:14px}
.dfcr-rp-brand{color:var(--dfcr-brand);font-weight:800;font-size:20px}
.dfcr-rp-result{background:var(--dfcr-brand-soft);border:2px solid var(--dfcr-brand);border-radius:10px;padding:14px;text-align:center}
.dfcr-rp-value{font-size:42px;font-weight:800;color:var(--dfcr-brand);line-height:1.3}
.dfcr-res-invalid{border-color:var(--dfcr-err)}
.dfcr-res-estimate{border-style:dashed}
.dfcr-rp-promo{margin-top:16px;font-size:13px;background:#f8f9fc;border-radius:8px;padding:10px}
.dfcr-rp-cta{margin-top:12px;text-align:center;background:var(--dfcr-brand-soft);border-radius:10px;padding:12px}
.dfcr-rp-cta p{margin:0 0 8px;font-size:14px}
.dfcr-rp-foot{margin-top:18px;border-top:1px solid #dfe2ee;padding-top:10px;font-size:12px}
@media (max-width:640px){
	.dfcr-app{padding:14px}
	.dfcr-grid{grid-template-columns:1fr}
	.dfcr-report th,.dfcr-report td{display:block;width:100%}
	.dfcr-report th{border-bottom:0}
	.dfcr-btn{width:100%}
	.dfcr-nav{flex-direction:column-reverse}
	.dfcr-nav .dfcr-next,.dfcr-nav .dfcr-submit{margin-right:0}
}
/* چاپ A4 */
@page{size:A4;margin:12mm}
@media print{
	body.dfcr-printing *{visibility:hidden!important}
	body.dfcr-printing .dfcr-print-target .dfcr-report,
	body.dfcr-printing .dfcr-print-target .dfcr-report *{visibility:visible!important}
	body.dfcr-printing .dfcr-print-target .dfcr-report{position:absolute;top:0;right:0;left:0;width:100%;max-width:none;border:0;margin:0;padding:0}
	body.dfcr-printing .dfcr-noprint{display:none!important}
	.dfcr-report{-webkit-print-color-adjust:exact;print-color-adjust:exact;font-size:12px}
	.dfcr-report table,.dfcr-report tr,.dfcr-rp-result{break-inside:avoid;page-break-inside:avoid}
	.dfcr-report th,.dfcr-report td{display:table-cell!important}
	.dfcr-report th{width:42%!important}
}
