/* --- مینیمالیسم و ساختار کلی --- */
.davari-business-test-wrapper { font-family: inherit; direction: rtl; max-width: 580px; margin: 40px auto; }
.davari-business-test-wrapper * { box-sizing: border-box !important; }

.dbt-card { background: #ffffff; border-radius: 24px; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05); overflow: hidden; border: 1px solid #f8f9fa; }
.dbt-progress-container { width: 100%; background: #f1f3f5; height: 4px; }
.dbt-progress-bar { height: 100%; width: 0%; background-color: #2c3e50; transition: width 0.4s ease; }
.dbt-card-body { padding: 50px 40px; }

/* هدینگ ها - سایزها ملایم و لوکس شده */
.dbt-question-header { text-align: center; margin-bottom: 35px; }
.dbt-q-counter { font-size: 12px; color: #adb5bd; display: block; margin-bottom: 10px; letter-spacing: 0.5px; }
.davari-business-test-wrapper h4.dbt-q-title { font-size: 16px; font-weight: 700; color: #212529; line-height: 1.8; margin: 0; }

.dbt-options-list { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.davari-business-test-wrapper .dbt-option {
    background: #ffffff !important; border: 1px solid #dee2e6 !important; border-radius: 12px !important; 
    padding: 16px 20px !important; text-align: center !important; cursor: pointer; color: #495057 !important; 
    font-weight: 500 !important; font-size: 14px; min-height: 52px; display: flex; align-items: center; justify-content: center;
    transition: all 0.25s ease !important; margin: 0 !important;
}
.davari-business-test-wrapper .dbt-option:hover { border-color: #adb5bd !important; background: #f8f9fa !important; }
.davari-business-test-wrapper .dbt-option.selected { background-color: #f8f9fa !important; border-color: #2c3e50 !important; color: #212529 !important; font-weight: 700 !important; }

/* فیلدها و دکمه ها */
.davari-business-test-wrapper .dbt-input {
    width: 100% !important; padding: 15px !important; border: 1px solid #dee2e6 !important; 
    border-radius: 12px !important; font-size: 14px !important; outline: none !important; text-align: center !important; 
    background: #fff !important; color: #495057 !important; margin-bottom: 15px; transition: border-color 0.2s ease;
}
.davari-business-test-wrapper .dbt-input:focus { border-color: #2c3e50 !important; }
.davari-business-test-wrapper .dbt-input[readonly] { background-color: #f1f3f5 !important; cursor: not-allowed; }

.davari-business-test-wrapper .dbt-btn {
    width: 100% !important; background: #2c3e50 !important; color: #fff !important; border: none !important; border-radius: 12px !important; 
    padding: 16px !important; font-size: 14px !important; font-weight: 700 !important; cursor: pointer !important; 
    transition: all 0.3s ease !important; text-align: center !important; display: block !important; margin: 0 auto !important; text-decoration: none;
}
.davari-business-test-wrapper .dbt-btn:hover { background: #1a252f !important; transform: translateY(-1px); }

/* --- انیمیشن پالس استراتژیک (برای دکمه های CTA) --- */
.dbt-pulse-btn { box-shadow: 0 0 0 0 rgba(44, 62, 80, 0.4); animation: dbtPulse 2s infinite cubic-bezier(0.66, 0, 0, 1); }
@keyframes dbtPulse { to { box-shadow: 0 0 0 15px rgba(44, 62, 80, 0); } }

/* --- گرافیک لوکس SVG نمودار سرعت سنج --- */
.dbt-gauge-step-panel { text-align: center; }
.dbt-gauge-header-title { font-size: 20px; font-weight: 700; color: #212529; margin-bottom: 30px; line-height: 1.6; }
.dbt-speedo-container { position: relative; width: 240px; height: 120px; margin: 0 auto; overflow: hidden; }
.dbt-svg-speedometer { width: 100%; height: 100%; overflow: visible; }
.dbt-svg-track { fill: none; stroke: #f1f3f5; stroke-width: 4; stroke-linecap: round; }
.dbt-svg-fill { fill: none; stroke-width: 4; stroke-linecap: round; }

.dbt-svg-needle { 
    width: 2px; height: 95px; background: #212529; 
    position: absolute; bottom: -5px; left: calc(50% - 1px); 
    transform-origin: bottom center; z-index: 5; border-radius: 2px; 
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}
.dbt-svg-needle::after { 
    content: ''; position: absolute; bottom: -4px; left: -5px; width: 12px; height: 12px; 
    background: #fff; border: 2px solid #212529; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.dbt-numeric-score { font-size: 52px; font-weight: 900; color: #212529; font-family: Tahoma, sans-serif; text-align: center; margin-top: 15px; direction: ltr; }
.dbt-status-pill-badge { display: inline-block; padding: 6px 30px; border-radius: 30px; color: #fff; font-weight: bold; font-size: 13px; margin: 0 auto 30px auto; }
.dbt-result-content-summary { font-size: 14px; color: #6c757d; line-height: 1.8; margin-bottom: 30px; }

/* --- باکس های هوشمند OTP با تغییر رنگ --- */
.dbt-otp-step-panel { text-align: center; }
.dbt-otp-desc-text { color: #6c757d; font-size: 14px; margin-bottom: 25px; line-height: 1.7; }
.dbt-otp-boxes-wrapper { display: flex; justify-content: center; gap: 10px; direction: ltr; margin: 25px auto; }
.dbt-otp-digit-box {
    width: 50px !important; height: 55px !important; border: 2px solid #dee2e6 !important; 
    border-radius: 12px !important; text-align: center !important; font-size: 24px !important; 
    font-weight: bold !important; color: #212529 !important; background: #f8f9fa !important; 
    outline: none !important; font-family: Tahoma, sans-serif !important; transition: all 0.25s ease;
}
/* اعتبارسنجی رنگی */
.dbt-otp-digit-box:focus { border-color: #2c3e50 !important; background: #fff !important; transform: translateY(-2px); }
.dbt-otp-digit-box.has-value { border-color: #2ecc71 !important; color: #2ecc71 !important; background: #fff !important; }
.dbt-otp-digit-box.is-invalid { border-color: #e74c3c !important; color: #e74c3c !important; animation: shake 0.4s ease-in-out; }

.dbt-otp-timer-box { font-size: 13px; color: #adb5bd; margin-top: 15px; }

/* --- مرحله نهایی (گزارش) --- */
.dbt-final-secure-report-view { text-align: center; animation: dbtFadeIn 0.6s ease; }
.dbt-exclusive-personalized-title { font-size: 20px; font-weight: 700; color: #212529; margin-bottom: 25px; line-height: 1.7; }
.dbt-dashed-result-container-box { border: 1px dashed #ced4da; border-radius: 16px; padding: 30px; font-size: 14.5px; color: #495057; line-height: 1.9; margin-bottom: 30px; text-align: justify; background: #fdfdfd; }

.dbt-action-triple-buttons { display: flex; flex-direction: column; gap: 12px; }
.dbt-btn-outline-variant { background: transparent !important; border: 1px solid #495057 !important; color: #495057 !important; }
.dbt-btn-outline-variant:hover { background: #495057 !important; color: #fff !important; }
.dbt-btn-dark-variant { background: #212529 !important; color: #fff !important; }
.dbt-btn-dark-variant:hover { background: #000 !important; }

/* ریسپانسیو فرم موبایل */
@media (max-width: 768px) {
    .dbt-gauge-header-title,
    .dbt-exclusive-personalized-title { font-size: 18px; }
}

@media (max-width: 480px) {
    .davari-business-test-wrapper { margin: 15px auto; }
    .dbt-card-body { padding: 35px 25px; }
    .dbt-otp-digit-box { width: 46px !important; height: 50px !important; font-size: 20px !important; }
    .dbt-numeric-score { font-size: 44px; }
}

@keyframes dbtFadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }