.elementor-6032 .elementor-element.elementor-element-d2e5c97:not(.elementor-motion-effects-element-type-background), .elementor-6032 .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-6032 .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-6032 .elementor-element.elementor-element-d2e5c97 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-6032 .elementor-element.elementor-element-bca6fc5 > .elementor-widget-container{margin:0px 0px -58px 0px;}.elementor-6032 .elementor-element.elementor-element-bca6fc5 .title-area{text-align:center;}.elementor-6032 .elementor-element.elementor-element-bca6fc5 .shadow-title{--title-color:#FFFFFF!important;}.elementor-6032 .elementor-element.elementor-element-bca6fc5 .subtitle-selector{color:#FFFFFF!important;}.elementor-6032 .elementor-element.elementor-element-6fb89ea{--display:flex;--margin-top:0px;--margin-bottom:50px;--margin-left:0px;--margin-right:0px;}@media(max-width:1024px){.elementor-6032 .elementor-element.elementor-element-d2e5c97:not(.elementor-motion-effects-element-type-background), .elementor-6032 .elementor-element.elementor-element-d2e5c97 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:top left;}.elementor-6032 .elementor-element.elementor-element-d2e5c97{padding:80px 0px 0px 0px;}.elementor-6032 .elementor-element.elementor-element-bca6fc5 > .elementor-widget-container{margin:0px 0px -38px 0px;}.elementor-6032 .elementor-element.elementor-element-6fb89ea{--margin-top:20px;--margin-bottom:60px;--margin-left:0px;--margin-right:0px;}}@media(max-width:767px){.elementor-6032 .elementor-element.elementor-element-d2e5c97{padding:80px 0px 80px 0px;}}/* Start custom CSS for container, class: .elementor-element-6fb89ea *//* ==========================================
   تنسيق الحاوية والأقسام الرئيسية (Floating Effect & Low Z-Index)
   ========================================== */
.job-application-form {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 100%;
    margin: -80px auto 0 auto; /* الافتراضي للشاشات الكبيرة */
    position: relative;        
    z-index: 3;                /* ينزل تحت الـ Sticky Header ويطلع فوق البنفسجي */
    background: transparent;
}

.form-section {
    background: #ffffff;
    border-radius: 20px;       
    padding: 40px 30px;        /* البادينج الافتراضي للـ Desktop */
    margin-bottom: 30px;
    border: 1px solid rgba(241, 245, 249, 0.8);
    
    /* ظل احترافي عائم ناعم وعميق */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 
                0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

/* ==========================================
   تنسيق الهيدر لكل قسم (Section Headers)
   ========================================== */
.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 15px;
}

.section-icon {
    background: #f3e8ff;
    color: #6b21a8;
    padding: 10px;
    border-radius: 8px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0; /* يمنع الأيقونة من الانضغاط على الشاشات الصغيرة */
}

.section-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1e1b4b;
}

.section-header p {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #64748b;
}

/* ==========================================
   توزيع وتنسيق شبكة الحقول (Form Grid)
   ========================================== */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

/* إعدادات المجموعات والليبل */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

/* ==========================================
   تنسيق الحقول العصرية (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 {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #334155 !important;
    outline: none !important;
    transition: all 0.2s !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.job-application-form input:focus,
.job-application-form select:focus,
.job-application-form textarea:focus {
    border-color: #a855f7 !important;
    background-color: #fff !important;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1) !important;
}

/* الحقول المشروطة ورسائل الخطأ */
.conditional-field input {
    border: 1px solid #e2e8f0 !important;
}

.error-msg-custom {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* ==========================================
   منطقة رفع الملفات الاحترافية (Drag & Drop Zone)
   ========================================== */
.file-drop-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
}

.file-drop-zone:hover {
    border-color: #6b21a8;
    background-color: #fdfaef;
}

.upload-icon {
    font-size: 32px;
    color: #6b21a8;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 14px;
    color: #475569;
}

.upload-text strong {
    color: #6b21a8;
}

.upload-hint {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

.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: 10px;
}

.btn-submit {
    background-color: #6b21a8 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 14px 40px !important;
    border-radius: 8px !important;
    border: none !important;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s, transform 0.1s;
    width: auto;
}

.btn-submit:hover {
    background-color: #581c87 !important;
}

.btn-submit:active {
    transform: scale(0.98);
}

.wpcf7-response-output {
    border-radius: 8px !important;
    margin: 20px 0 0 0 !important;
    padding: 12px !important;
    font-size: 14px !important;
}

/* ==========================================
   📱📱 قواعد التجاوب (Responsive Media Queries) 📱📱
   ========================================== */

/* 1. شاشات التابلت والأجهزة المتوسطة (أقل من 992px) */
@media (max-width: 992px) {
    .job-application-form {
        margin-top: -50px; /* تقليل الارتفاع السالب شوية عشان العناوين */
    }
    .form-section {
        padding: 30px 20px; /* تقليل المسافات الداخلية للفورم */
    }
}

/* 2. شاشات الموبايل (أقل من 768px) */
@media (max-width: 768px) {
    .job-application-form {
        margin-top: -30px; /* إزاحة خفيفة تتناسب مع صغر حجم هيدر الموبايل */
        padding: 0 10px;   /* إضافة مسافة أمان صغيرة على الأطراف */
    }
    
    .form-section {
        padding: 25px 15px; /* مساحات رشيقة تناسب شاشة الموبايل */
        border-radius: 16px; /* تقليل الانحناء قليلاً ليتناسق مع الحجم الجديد */
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.04); /* تنعيم الظل */
    }

    .form-grid { 
        grid-template-columns: 1fr; /* قلب الحقول لتصبح حقل واحد في كل سطر */
        gap: 15px; /* تقليل الفجوة بين الحقول */
    }
    
    .form-group.full-width { 
        grid-column: span 1; 
    }
    
    .section-header {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .section-header h3 {
        font-size: 16px; /* تصغير حجم العنوان الرئيسي للقسم */
    }
    
    .section-header p {
        font-size: 12px; /* تصغير حجم الوصف */
    }
    
    .file-drop-zone {
        padding: 30px 15px; /* تقليل منطقة الرفع عشان الشاشة */
    }
    
    .upload-text {
        font-size: 13px;
    }
    
    .btn-submit {
        width: 100% !important; /* زرار الإرسال يأخذ عرض الشاشة بالكامل على الموبايل لسهولة الضغط */
        padding: 12px 20px !important;
    }
}/* End custom CSS */