.elementor-15987 .elementor-element.elementor-element-0f64313{--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;overflow:visible;}/* Start custom CSS for html, class: .elementor-element-99f5e9b *//* --- تنظیمات اصلی و ایزولاسیون کامل --- */
#rp-after-sales {
    all: initial; 
    display: block; width: 100%; min-height: 100vh;
    
    /* متغیرهای رنگی */
    --rp-brand: #e31e24; 
    --rp-ink: #0f172a; 
    --rp-muted: #64748b;
    --rp-bg: #f8fafc; 
    --rp-border: #cbd5e1; 
    --rp-success: #10b981; 
    --rp-radius: 12px;
    
    /* فونت و جهت */
    font-family: 'Vazirmatn', sans-serif !important; 
    direction: rtl; 
    box-sizing: border-box !important;
    padding: 60px 20px; 
    line-height: 1.6 !important;
}

#rp-after-sales * { box-sizing: border-box !important; font-family: 'Vazirmatn', sans-serif !important; }

/* پس‌زمینه تمام صفحه ثابت */
#rp-after-sales .rp-bg-pattern {
    position: fixed; inset: 0; pointer-events: none; opacity: 0.5;
    background-image: radial-gradient(#94a3b8 1px, transparent 1px);
    background-size: 24px 24px; z-index: 0;
    background-color: var(--rp-bg); /* اطمینان از رنگ زمینه */
}

/* کانتینر اصلی فرم */
#rp-after-sales .rp-card {
    position: relative; z-index: 2; 
    max-width: 800px; margin: 0 auto;
    /* حذف استایل کارت برای یکدست شدن با پس‌زمینه */
    background: transparent;
}

/* --- هدر فرم --- */
#rp-after-sales .rp-head { 
    display: flex; justify-content: space-between; align-items: center; 
    margin-bottom: 40px; border-bottom: 2px solid var(--rp-border); 
    padding-bottom: 20px; flex-wrap: wrap; gap: 20px;
}
#rp-after-sales .rp-head h1 { 
    font-size: 26px !important; font-weight: 900 !important; 
    color: var(--rp-ink); margin: 0 0 5px 0 !important; 
}
#rp-after-sales .rp-head span { 
    font-size: 14px !important; color: var(--rp-muted); font-weight: 500 !important; 
}

/* نوار پیشرفت */
#rp-after-sales .rp-progress-wrap { flex: 1; max-width: 250px; min-width: 150px; }
#rp-after-sales .rp-progress { height: 6px; background: #e2e8f0; border-radius: 10px; overflow: hidden; }
#rp-after-sales .rp-bar { height: 100%; width: 33%; background: var(--rp-brand); transition: width 0.4s ease; border-radius: 10px; }

/* --- مراحل (Steps) --- */
#rp-after-sales .rp-step { display: none; animation: fadeIn 0.5s ease forwards; }
#rp-after-sales .rp-step.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* گرید و فیلدها */
#rp-after-sales .rp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
#rp-after-sales .rp-full { grid-column: span 2; }

#rp-after-sales label { 
    display: block; font-size: 14px !important; font-weight: 700 !important; 
    color: var(--rp-ink); margin-bottom: 8px !important; 
}

#rp-after-sales input:not([type="radio"]), 
#rp-after-sales select, 
#rp-after-sales textarea {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--rp-border); border-radius: 10px;
    background: #fff; color: var(--rp-ink); font-size: 14px !important;
    min-height: 50px; outline: none; transition: 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
#rp-after-sales textarea { resize: vertical; min-height: 120px; }
#rp-after-sales input:focus, 
#rp-after-sales select:focus, 
#rp-after-sales textarea:focus { 
    border-color: var(--rp-brand); background: #fff;
    box-shadow: 0 0 0 4px rgba(227,30,36,0.1); 
}

/* خطاها */
#rp-after-sales .input-error { border-color: var(--rp-danger) !important; background: #fff5f5 !important; }
#rp-after-sales .err-msg { 
    color: var(--rp-danger); font-size: 12px !important; margin-top: 5px; 
    display: none; font-weight: 700;
}

/* تاریخ */
#rp-after-sales .rp-date-group { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
#rp-after-sales .rp-date-group select { padding: 0 5px; text-align: center; }

/* انتخابگر خدمات (Chips) */
#rp-after-sales .rp-chips { display: flex; flex-wrap: wrap; gap: 10px; }
#rp-after-sales .rp-chip-label {
    display: inline-flex; align-items: center; padding: 12px 24px; 
    border: 1px solid var(--rp-border); border-radius: 50px; cursor: pointer; 
    font-size: 13px !important; font-weight: 700 !important; 
    color: var(--rp-muted); background: #fff; transition: 0.2s;
}
#rp-after-sales input[type="radio"]:checked + .rp-chip-label {
    background: var(--rp-brand); color: #fff; border-color: var(--rp-brand);
    box-shadow: 0 5px 15px rgba(227,30,36,0.3);
}
#rp-after-sales input[type="radio"] { display: none; }

/* --- باکس تایید نهایی (طراحی جدید) --- */
#rp-after-sales .rp-summary-box {
    background: #fff; border: 1px solid var(--rp-border);
    border-radius: 16px; padding: 30px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
}
#rp-after-sales .sum-title {
    font-size: 16px !important; font-weight: 900 !important; 
    color: var(--rp-ink); margin-bottom: 20px; border-bottom: 2px dashed #eee; padding-bottom: 10px;
}
#rp-after-sales .sum-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; border-bottom: 1px solid #f1f5f9;
}
#rp-after-sales .sum-row:last-child { border: none; }
#rp-after-sales .sum-label { color: var(--rp-muted); font-size: 13px !important; }
#rp-after-sales .sum-val { color: var(--rp-ink); font-weight: 700 !important; font-size: 14px !important; }

/* --- دکمه‌ها --- */
#rp-after-sales .rp-actions { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; }
#rp-after-sales .rp-btn {
    padding: 0 35px; height: 50px; border-radius: 50px; border: none; 
    cursor: pointer; font-weight: 700 !important; font-size: 15px !important;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.3s; font-family: inherit !important;
}
#rp-after-sales .btn-next { background: var(--rp-brand); color: #fff; box-shadow: 0 8px 20px -5px rgba(227, 30, 36, 0.4); }
#rp-after-sales .btn-next:hover { background: #b91c1c; transform: translateY(-2px); }

#rp-after-sales .btn-prev { background: transparent; border: 2px solid var(--rp-border); color: var(--rp-muted); }
#rp-after-sales .btn-prev:hover { background: #e2e8f0; color: var(--rp-ink); }

#rp-after-sales .btn-submit { background: var(--rp-success); color: #fff; display: none; box-shadow: 0 8px 20px -5px rgba(16, 185, 129, 0.4); }
#rp-after-sales .btn-submit:hover { background: #059669; transform: translateY(-2px); }

/* --- صفحه موفقیت (طراحی جدید) --- */
#rp-after-sales .rp-success-view { 
    text-align: center; padding: 60px 20px; display: none; 
    background: #fff; border-radius: 20px; 
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.1);
    max-width: 600px; margin: 40px auto;
    border-top: 5px solid var(--rp-success);
}
#rp-after-sales .rp-success-icon { 
    width: 80px; height: 80px; background: #ecfdf5; color: var(--rp-success); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 20px auto; 
    box-shadow: 0 0 0 10px #f0fdf4; /* افکت حلقه */
}
#rp-after-sales .rp-success-icon svg { width: 40px; height: 40px; }
#rp-after-sales .success-title { font-size: 22px !important; font-weight: 900 !important; color: var(--rp-ink); margin-bottom: 10px; }
#rp-after-sales .success-desc { font-size: 14px !important; color: var(--rp-muted); margin-bottom: 30px; }

#rp-after-sales .track-box {
    background: #f8fafc; border: 2px dashed var(--rp-border);
    padding: 20px; border-radius: 12px; margin-bottom: 30px;
}
#rp-after-sales .track-label { display: block; font-size: 12px !important; color: var(--rp-muted); margin-bottom: 5px; }
#rp-after-sales .track-code { 
    font-family: monospace !important; font-size: 28px !important; 
    font-weight: 900 !important; color: var(--rp-ink); letter-spacing: 2px; 
}

/* لودینگ */
#rp-after-sales .spinner { 
    width: 20px; height: 20px; border: 2px solid #fff; 
    border-top-color: transparent; border-radius: 50%; 
    animation: rpSpin 0.8s linear infinite; display: none; 
}
#rp-after-sales .loading .spinner { display: inline-block; }
#rp-after-sales .loading span { display: none; }
@keyframes rpSpin { to { transform: rotate(360deg); } }

/* ریسپانسیو */
@media (max-width: 600px) {
    #rp-after-sales .rp-row { grid-template-columns: 1fr; gap: 15px; }
    #rp-after-sales .rp-full { grid-column: span 1; }
    #rp-after-sales { padding: 20px 15px; }
    #rp-after-sales .rp-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    #rp-after-sales .rp-progress-wrap { width: 100%; max-width: none; }
}/* End custom CSS */