.elementor-6072 .elementor-element.elementor-element-d2e5c97:not(.elementor-motion-effects-element-type-background), .elementor-6072 .elementor-element.elementor-element-d2e5c97 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://jwan.edu.sa/wp-content/uploads/2025/08/bg.jpg");background-position:center center;background-repeat:no-repeat;background-size:auto;}.elementor-6072 .elementor-element.elementor-element-d2e5c97{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;padding:200px 0px 120px 0px;}.elementor-6072 .elementor-element.elementor-element-d2e5c97 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-6072 .elementor-element.elementor-element-bca6fc5 > .elementor-widget-container{margin:0px 0px -58px 0px;}.elementor-6072 .elementor-element.elementor-element-bca6fc5 .title-area{text-align:center;}.elementor-6072 .elementor-element.elementor-element-bca6fc5 .shadow-title{--title-color:#FFFFFF!important;}.elementor-6072 .elementor-element.elementor-element-bca6fc5 .subtitle-selector{color:#FFFFFF!important;}.elementor-6072 .elementor-element.elementor-element-6fb89ea{--display:flex;--margin-top:0px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;}@media(max-width:1024px){.elementor-6072 .elementor-element.elementor-element-d2e5c97:not(.elementor-motion-effects-element-type-background), .elementor-6072 .elementor-element.elementor-element-d2e5c97 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:top left;}.elementor-6072 .elementor-element.elementor-element-d2e5c97{padding:80px 0px 0px 0px;}.elementor-6072 .elementor-element.elementor-element-bca6fc5 > .elementor-widget-container{margin:0px 0px -38px 0px;}.elementor-6072 .elementor-element.elementor-element-6fb89ea{--margin-top:20px;--margin-bottom:60px;--margin-left:0px;--margin-right:0px;}}@media(max-width:767px){.elementor-6072 .elementor-element.elementor-element-d2e5c97{padding:80px 0px 80px 0px;}}/* Start custom CSS for container, class: .elementor-element-6fb89ea *//* استدعاء خطوط القاهرة وتجول مباشرة من جوجل فونتس لحل مشكلة عدم الدعم */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Tajawal:wght@400;500;700&display=swap');

/* ==========================================
   تنسيق الحاوية والأقسام الرئيسية (RTL Support & Floating Effect)
   ========================================== */
.job-application-form {
    /* تفعيل الخطوط المستدعاة مع الحفاظ على خطوط النظام كإحتياط */
    font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    max-width: 100%;
    margin: -80px auto 0 auto; 
    position: relative;        
    z-index: 3;                
    background: transparent;
    direction: rtl !important; 
    text-align: right !important;
    line-height: 1.6;
}

.form-section {
    background: #ffffff;
    border-radius: 20px;       
    padding: 40px 35px;        
    margin-bottom: 35px;       
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.035), 
                0 10px 20px -10px rgba(0, 0, 0, 0.02);
}

/* ==========================================
   تنسيق الهيدر لكل قسم (Section Headers)
   ========================================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 30px;       
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 18px;
}

.section-icon {
    background: #f3e8ff;
    color: #6b21a8;
    padding: 10px;
    border-radius: 10px;       
    font-size: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0; 
}

.section-header h3 {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #1e1b4b;
}

.section-header p {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #64748b;
}

/* ==========================================
   توزيع وتنسيق شبكة الحقول (Form Grid)
   ========================================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;                 
    margin-bottom: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;                 
    margin-bottom: 24px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group.full-width:has(.file-drop-zone) {
    margin-bottom: 30px; 
}

.form-group label {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

/* ==========================================
   تنسيق الحقول العصرية (Modern Input Styles)
   ========================================== */
.job-application-form input[type="text"],
.job-application-form input[type="email"],
.job-application-form input[type="tel"],
.job-application-form input[type="number"],
.job-application-form input[type="date"],
.job-application-form select,
.job-application-form textarea {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important; 
    border-radius: 10px !important;       
    padding: 14px 18px !important;        
    font-size: 14px !important;
    color: #334155 !important;
    outline: none !important;
    transition: all 0.25s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: right !important; 
    direction: rtl !important;
}

.job-application-form select {
    background-position: left 16px center !important;
    padding-left: 42px !important;
}

.job-application-form input:focus,
.job-application-form select:focus,
.job-application-form textarea:focus {
    border-color: #a855f7 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.12) !important; 
}

.conditional-field input {
    border: 1px solid #cbd5e1 !important;
}

.error-msg-custom {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    color: #ef4444;
    font-size: 12px;
    margin-top: 6px;
    font-weight: 600;
    text-align: right;
}

/* ==========================================
   منطقة رفع الملفات الاحترافية (Drag & Drop Zone)
   ========================================== */
.file-drop-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 14px;
    padding: 45px 25px;        
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.file-drop-zone:hover {
    border-color: #6b21a8;
    background-color: #faf5ff; 
}

.upload-icon {
    font-size: 36px;           
    color: #6b21a8;
    margin-bottom: 14px;
}

.upload-text {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    font-size: 14px;
    color: #475569;
}

.upload-text strong {
    color: #6b21a8;
}

.upload-hint {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    font-size: 12px;
    color: #94a3b8;
    margin-top: 8px;
    direction: ltr; 
    display: inline-block;
}

.file-drop-zone span.wpcf7-form-control-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.file-drop-zone input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 5;
}

/* ==========================================
   تنسيق أزرار الإرسال (Submit Button)
   ========================================== */
.form-submit-container {
    text-align: center;
    margin-top: 35px;          
    margin-bottom: 15px;
}

.btn-submit {
    background-color: #6b21a8 !important;
    color: #ffffff !important;
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    font-weight: 700 !important;       
    padding: 16px 55px !important;     
    border-radius: 10px !important;    
    border: none !important;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s ease;
    width: auto;
    box-shadow: 0 4px 12px rgba(107, 33, 168, 0.15); 
}

.btn-submit:hover {
    background-color: #581c87 !important;
    box-shadow: 0 6px 20px rgba(107, 33, 168, 0.25); 
    transform: translateY(-1px);      
}

.btn-submit:active {
    transform: scale(0.98);
}

.wpcf7-response-output {
    font-family: 'Cairo', 'Tajawal', sans-serif !important;
    border-radius: 10px !important;
    margin: 25px 0 0 0 !important;
    padding: 14px !important;
    font-size: 14px !important;
    text-align: right !important;
}

/* ==========================================
   📱📱 قواعد التجاوب (Responsive Media Queries) 📱📱
   ========================================== */
@media (max-width: 992px) {
    .job-application-form {
        margin-top: -50px; 
    }
    .form-section {
        padding: 30px 24px; 
    }
}

@media (max-width: 768px) {
    .job-application-form {
        margin-top: -30px; 
        padding: 0 12px;   
    }
    
    .form-section {
        padding: 25px 18px; 
        border-radius: 16px; 
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04); 
    }

    .form-grid { 
        grid-template-columns: 1fr; 
        gap: 18px; 
    }
    
    .form-group.full-width { 
        grid-column: span 1; 
    }
    
    .section-header {
        gap: 12px;
        margin-bottom: 22px;
    }
    
    .section-header h3 {
        font-size: 17px; 
    }
    
    .section-header p {
        font-size: 12px; 
    }
    
    .file-drop-zone {
        padding: 35px 15px; 
    }
    
    .upload-text {
        font-size: 13px;
    }
    
    .btn-submit {
        width: 100% !important; 
        padding: 14px 20px !important;
    }
}/* End custom CSS */