/* تنظیم فونت برای کل باکس و تمام اجزای داخلی */
#roi-calculator-wrapper,
#roi-calculator-wrapper * {
    font-family: "IRsans", "IRANSans", "Tahoma", sans-serif !important;
}

#roi-calculator-wrapper {
    max-width: 600px;
    margin: 20px auto;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 12px;
    background: #fdfdfd;
    direction: rtl;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.roi-step.hidden {
    display: none;
}

#roi-calculator-wrapper h3 {
    text-align: center;
    color: #0073aa;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.4em;
    font-weight: 700; /* بولدتر برای تیتر */
}

#roi-calculator-wrapper p {
    text-align: center;
    color: #555;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.8;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 0.95em;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 1em;
    transition: border-color 0.3s;
    background: #fff;
    color: #333;
}

.form-group input:focus {
    border-color: #0073aa;
    outline: none;
}

/* دکمه اصلی */
.roi-btn {
    background-color: #0085ba;
    color: #FFFFFF;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.2s;
    margin-bottom: 10px;
}

.roi-btn:hover {
    background-color: #00648c;
}

.roi-btn:disabled {
    background-color: #a0c6d6;
    cursor: not-allowed;
}

/* دکمه ثانویه (بازگشت) */
.roi-btn-secondary {
    background-color: #f0f0f1;
    color: #555;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    font-weight: normal;
}

.roi-btn-secondary:hover {
    background-color: #e5e5e5;
}

/* باکس پیام */
#roi-message-box {
    margin-top: 15px;
    padding: 12px;
    border-radius: 5px;
    text-align: center;
    display: none;
    font-size: 0.9em;
    font-weight: bold;
}
#roi-message-box.error { background: #fbeaea; color: #d93025; border: 1px solid #f2dede; }
#roi-message-box.success { background: #edf7ed; color: #1e8e3e; border: 1px solid #dff0d8; }

/* استایل بخش نتیجه */
.result-highlight-box {
    background-color: #e6fffa; 
    border: 2px solid #38b2ac; 
    padding: 15px; 
    border-radius: 10px; 
    margin-bottom: 20px;
}

.result-secondary-box {
    margin-bottom: 20px; 
    padding: 10px; 
    background: #fff; 
    border-radius: 5px; 
    border: 1px dashed #ccc;
}

/* دکمه‌های لینک در نتیجه */
.roi-compare-button {
    display: inline-block;
    background-color: #005a87;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: bold;
    text-align: center;
    transition: opacity 0.2s;
}
.roi-compare-button:hover {
    background-color: #004466;
    color: #fff;
    opacity: 0.9;
}

@media (max-width: 600px) {
    #roi-calculator-wrapper { padding: 15px; }
    .roi-compare-button { width: 100%; margin-bottom: 8px; display: block;}
}