/* کانتینر اصلی و ویژگی‌های شرکت */
.cja-features-wrapper { width: 100%; max-width: 1200px; margin: 0 auto; padding: 2rem 0; font-family: inherit; }
.cja-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; background: #f8fafc; padding: 30px; border-radius: 16px; }
.cja-feature-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 30px 20px; text-align: center; transition: all 0.3s ease; position: relative; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02); }
.cja-feature-card:hover { transform: translateY(-5px); border-color: #cbd5e1; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04); }
.cja-feature-icon { width: 60px; height: 60px; margin: 0 auto 20px; color: var(--cja-primary-color); transition: all 0.3s ease; }
.cja-feature-icon svg { width: 100%; height: 100%; display: block; }
.cja-feature-card:hover .cja-feature-icon { transform: scale(1.05); filter: brightness(0.9); }
.cja-feature-title { color: #1e293b; font-size: 1.1rem; font-weight: 600; margin: 0; line-height: 1.6; }

/* دکمه‌ها (یکپارچه با رنگ قالب) */
.cja-jobs-container { text-align: center; margin: 40px auto; font-family: inherit; }
.cja-primary-btn { background-color: var(--cja-primary-color); color: #fff; border: none; padding: 15px 35px; font-size: 1.1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; }
.cja-primary-btn:hover { filter: brightness(0.9); transform: translateY(-2px); }

/* ساختار مودال */
.cja-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); z-index: 99999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.cja-modal-overlay.active { opacity: 1; visibility: visible; }
.cja-modal-content { background: #ffffff; border-radius: 12px; width: 92%; max-width: 600px; max-height: 85vh; overflow-y: auto; padding: 30px; position: relative; transform: translateY(20px); transition: transform 0.3s ease; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); direction: rtl; text-align: right; }
.cja-modal-large { max-width: 800px; }
.cja-modal-overlay.active .cja-modal-content { transform: translateY(0); }

/* دکمه‌های کنترلی مودال */
.cja-modal-close { position: absolute; top: 15px; left: 20px; font-size: 32px; line-height: 1; color: #94a3b8; cursor: pointer; transition: color 0.2s; }
.cja-modal-close:hover { color: #ef4444; }
.cja-back-btn { background: none; border: none; color: #64748b; cursor: pointer; font-size: 0.95rem; padding: 0; margin-bottom: 20px; display: inline-block; }
.cja-back-btn:hover { color: var(--cja-primary-color); }

/* استایل محتوای مودال و مشاغل */
.cja-modal-title { margin-top: 0; color: #0f172a; border-bottom: 2px solid #e2e8f0; padding-bottom: 15px; margin-bottom: 25px; }
.cja-empty-state { text-align: center; padding: 40px 20px; color: #64748b; }
.cja-empty-state svg { width: 64px; height: 64px; color: #cbd5e1; margin-bottom: 15px; }
.cja-empty-state p { font-size: 1.1rem; line-height: 1.8; margin: 0; }
.cja-department-section { margin-bottom: 35px; }
.cja-department-title { color: #1e293b; border-right: 4px solid var(--cja-primary-color); padding-right: 12px; margin-bottom: 15px; font-size: 1.25rem; }

.cja-job-card { display: flex; justify-content: space-between; align-items: center; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 15px 20px; margin-bottom: 12px; transition: background 0.2s; }
.cja-job-card:hover { background: #f1f5f9; }
.cja-job-title { margin: 0; color: #334155; font-size: 1.1rem; }

.cja-view-details-btn { background: #ffffff; color: var(--cja-primary-color); border: 1px solid var(--cja-primary-color); padding: 6px 15px; border-radius: 6px; cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.cja-view-details-btn:hover { background: var(--cja-primary-color); color: #ffffff; }

/* جزئیات مودال دوم */
.cja-details-title { margin-top: 0; margin-bottom: 25px; color: #0f172a; }
.cja-job-meta-box { background: #f8fafc; border: 1px solid #e2e8f0; padding: 15px 20px; border-radius: 8px; margin-bottom: 15px; }
.cja-job-meta-box strong { display: block; color: #1e293b; margin-bottom: 8px; font-size: 1.05rem; }
.cja-job-meta-box p { margin: 0; color: #475569; font-size: 0.95rem; line-height: 1.8; }

/* دکمه ارسال رزومه به شکل لینک */
.cja-apply-btn { 
    background-color: var(--cja-primary-color); color: #fff; border: none; padding: 14px 25px; 
    border-radius: 8px; font-weight: bold; cursor: pointer; font-size: 1.1rem; 
    transition: background 0.2s; margin-top: 20px; display: block; width: 100%; 
    text-align: center; text-decoration: none; box-sizing: border-box;
}
.cja-apply-btn:hover { filter: brightness(0.9); color: #fff; text-decoration: none; }

/* ریسپانسیو و اسکرول‌بار */
.cja-modal-content::-webkit-scrollbar { width: 8px; }
.cja-modal-content::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 8px; }
.cja-modal-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }
.cja-modal-content::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
@media (max-width: 768px) {
    .cja-features-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); padding: 15px; gap: 15px; }
    .cja-feature-card { padding: 20px 15px; }
    .cja-feature-icon { width: 48px; height: 48px; margin-bottom: 15px; }
}
/* ========================================= */
/* استایل‌های رزومه‌ساز آنلاین (JobVision Style) */
/* ========================================= */
.cja-resume-builder-wrapper { font-family: inherit; margin: 40px auto; max-width: 850px; }
.cja-rb-container { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05); }

.cja-rb-header { text-align: center; margin-bottom: 30px; }
.cja-rb-header h2 { color: #0f172a; margin: 0 0 15px 0; font-size: 1.6rem; }
.cja-rb-job-alert { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 12px 20px; border-radius: 8px; display: inline-block; }

/* نوار پیشرفت (Progress Bar) */
.cja-rb-progressbar { display: flex; justify-content: space-between; list-style: none; padding: 0; margin: 0 0 40px 0; position: relative; }
.cja-rb-progressbar::before { content: ''; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: #e2e8f0; z-index: 1; }
.cja-rb-progressbar li { position: relative; z-index: 2; flex: 1; text-align: center; color: #94a3b8; font-size: 0.9rem; font-weight: 600; }
.cja-rb-progressbar li::before { content: ''; display: block; width: 30px; height: 30px; background: #ffffff; border: 2px solid #e2e8f0; border-radius: 50%; margin: 0 auto 10px auto; transition: all 0.3s; }
.cja-rb-progressbar li.active { color: var(--cja-primary-color); }
.cja-rb-progressbar li.active::before { border-color: var(--cja-primary-color); background: var(--cja-primary-color); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1); }

/* فرم‌ها و فیلدها */
.cja-rb-step { display: none; border: none; padding: 0; margin: 0; animation: fadeIn 0.4s ease-in-out; }
.cja-rb-step.active-step { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.cja-rb-step h3 { color: #1e293b; border-bottom: 2px solid #f1f5f9; padding-bottom: 15px; margin-bottom: 25px; font-size: 1.3rem; }

.cja-form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.cja-form-group { flex: 1; display: flex; flex-direction: column; margin-bottom: 20px; }
.cja-form-group label { margin-bottom: 8px; color: #334155; font-weight: 600; font-size: 0.95rem; }
.cja-form-group input, .cja-form-group select, .cja-form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; font-size: 0.95rem; color: #0f172a; transition: border-color 0.2s, box-shadow 0.2s; background: #f8fafc; box-sizing: border-box; }
.cja-form-group input:focus, .cja-form-group select:focus, .cja-form-group textarea:focus { outline: none; border-color: var(--cja-primary-color); background: #ffffff; box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1); }

/* ردیف‌های داینامیک */
.cja-dynamic-row { background: #f8fafc; border: 1px dashed #cbd5e1; padding: 20px; border-radius: 8px; margin-bottom: 15px; position: relative; }
.cja-remove-row-btn { background: none; border: none; color: #ef4444; font-size: 0.85rem; cursor: pointer; position: absolute; top: 10px; left: 10px; padding: 5px; }
.cja-remove-row-btn:hover { text-decoration: underline; }

/* دکمه‌ها */
.cja-btn { background: var(--cja-primary-color); color: #fff; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 1rem; }
.cja-btn:hover { filter: brightness(0.9); transform: translateY(-1px); }
.cja-btn-secondary { background: #e2e8f0; color: #475569; border: none; padding: 12px 30px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.2s; font-size: 1rem; }
.cja-btn-secondary:hover { background: #cbd5e1; color: #1e293b; }
.cja-btn-outline { background: transparent; color: var(--cja-primary-color); border: 2px dashed var(--cja-primary-color); padding: 10px 20px; border-radius: 8px; font-weight: 600; cursor: pointer; width: 100%; transition: 0.2s; margin-bottom: 20px; }
.cja-btn-outline:hover { background: rgba(37, 99, 235, 0.05); }

.cja-step-actions { display: flex; justify-content: space-between; margin-top: 30px; border-top: 1px solid #f1f5f9; padding-top: 25px; }
.cja-step-actions-single { display: flex; justify-content: flex-end; margin-top: 30px; border-top: 1px solid #f1f5f9; padding-top: 25px; }

/* آپلود فایل */
.cja-file-upload-box { position: relative; border: 2px dashed #cbd5e1; border-radius: 8px; padding: 30px; text-align: center; background: #f8fafc; cursor: pointer; transition: 0.2s; }
.cja-file-upload-box:hover { border-color: var(--cja-primary-color); background: #f0f4ff; }
.cja-file-upload-box input[type="file"] { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.cja-file-instructions svg { width: 40px; height: 40px; color: #94a3b8; margin-bottom: 10px; }
.cja-file-instructions span { display: block; color: var(--cja-primary-color); font-weight: 600; margin-bottom: 5px; }
.cja-file-instructions small { color: #64748b; font-size: 0.85rem; }

/* ریسپانسیو */
@media (max-width: 768px) {
    .cja-rb-container { padding: 25px 15px; }
    .cja-form-row { flex-direction: column; gap: 0; margin-bottom: 0; }
    .cja-rb-progressbar li { font-size: 0.75rem; }
    .cja-rb-progressbar li::before { width: 20px; height: 20px; }
}