/* جميع الأنماط من الملفات الثلاثة مجمعة */
body { font-family: 'Cairo', sans-serif; background-color: #F4F7FC; }
.heading-primary { font-family: 'Tajawal', sans-serif; }
* { text-align: right; direction: rtl; }

.card { background: #FFFFFF; border-radius: 1rem; padding: 2rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02); border: 1px solid #E9EEF3; transition: all 0.25s ease; cursor: pointer; border-top: 5px solid #D4AF37; }
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15); border-color: #D4AF37; border-top-width: 5px; }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.75rem; background-color: #C89B3C; color: white; border: none; border-radius: 0.75rem; font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.2s ease; gap: 0.5rem; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.btn-primary:hover { background-color: #B3872A; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(184,120,30,0.25); }

.admin-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1.3rem; background-color: rgba(255,255,255,0.12); border: 1px solid rgba(255,215,120,0.5); border-radius: 2rem; font-weight: 500; backdrop-filter: blur(2px); transition: all 0.2s; color: white; gap: 0.5rem; }
.admin-btn:hover { background-color: rgba(255,255,255,0.25); border-color: #D4AF37; transform: scale(1.02); }

.header-gradient { background: linear-gradient(105deg, #0A2A44 0%, #1D4A6E 100%); border-bottom: 1px solid rgba(212,175,55,0.3); }
.gold-icon { color: #D4AF37; }
.teal-icon { color: #14B8A6; }
.footer-custom { background-color: #0C273E; border-top: 1px solid #2A4B6E; }
.text-deep-blue { color: #0A2A44; }
.bg-gold-soft { background-color: #FEF7E0; }
.logo-img, .logo-img-second { max-height: 52px; width: auto; transition: transform 0.2s; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1)); }
.logo-img:hover, .logo-img-second:hover { transform: scale(1.02); }
.header-text-glow { text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

.verse-card { background: rgba(255,255,255,0.85); backdrop-filter: blur(4px); border-right: 6px solid #D4AF37; border-radius: 1rem; padding: 1.5rem 2rem; margin: 1.5rem auto; max-width: 850px; box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: all 0.3s ease; }
.verse-card:hover { transform: scale(1.01); box-shadow: 0 12px 28px rgba(0,0,0,0.1); background: white; }
.verse-text { font-size: 1.25rem; line-height: 1.8; color: #1E3A5F; font-weight: 500; }
.verse-ref { color: #C89B3C; font-weight: 600; margin-top: 0.5rem; display: inline-block; border-bottom: 1px dashed #D4AF37; }

/* أنماط post-job و job-seeker */
.form-section { background: white; border-radius: 1rem; padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05); border: 1px solid #E9EEF3; border-top: 5px solid #D4AF37; }
.btn-secondary { display: inline-flex; align-items: center; justify-content: center; padding: 0.6rem 1.3rem; background-color: #6B7280; color: white; border: none; border-radius: 0.75rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; gap: 0.5rem; }
.btn-secondary:hover { background-color: #4B5563; transform: translateY(-2px); }
.form-control { width: 100%; padding: 0.75rem; border: 1px solid #d1d5db; border-radius: 0.5rem; transition: all 0.15s; }
.form-control:focus { outline: none; border-color: #C89B3C; box-shadow: 0 0 0 3px rgba(200,155,60,0.1); }
.agreement { background: #FEF7E0; padding: 1rem; border-radius: 0.5rem; margin: 1.5rem 0; border: 1px solid #D4AF37; }
.loading-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 9999; }
.loading-spinner { background: white; padding: 2rem; border-radius: 0.5rem; text-align: center; min-width: 250px; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: none; align-items: center; justify-content: center; z-index: 9999; }
.modal-content { background: white; padding: 2rem; border-radius: 0.5rem; max-width: 500px; width: 90%; position: relative; }
.close { position: absolute; top: 1rem; left: 1rem; font-size: 1.5rem; cursor: pointer; }
.form-container { max-width: 800px; margin: 0 auto; }
input[type="tel"] { direction: ltr; text-align: left; }
.job-item, .experience-item { background: #f9fafb; padding: 1.5rem; border-radius: 0.75rem; margin-bottom: 1rem; border: 1px solid #e5e7eb; position: relative; }
.delete-btn { position: absolute; top: 0.5rem; left: 0.5rem; background: #ef4444; color: white; border: none; border-radius: 0.25rem; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.delete-btn:hover { background: #dc2626; }
.checklist-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; margin-top: 0.5rem; }
.checklist-item { display: flex; align-items: center; gap: 0.5rem; }
.attachments-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-top: 1rem; }
.attachment-item { padding: 0.75rem; background: #f9fafb; border-radius: 0.5rem; border: 1px dashed #d1d5db; display: flex; flex-direction: column; gap: 0.5rem; }
.file-info { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.file-name { font-size: 0.75rem; color: #6b7280; flex: 1; word-break: break-all; }
.delete-file { color: #ef4444; cursor: pointer; font-size: 1rem; transition: 0.2s; display: none; }
.delete-file:hover { color: #dc2626; transform: scale(1.1); }
.required-docs-info { background: #fef2f2; padding: 0.75rem; border-radius: 0.5rem; margin-bottom: 1rem; border: 1px solid #fecaca; }
#age { background-color: #f3f4f6; cursor: not-allowed; }
#nationalId { direction: ltr; text-align: left; font-family: monospace; }
.military-field { transition: all 0.3s ease; }

@media (max-width: 640px) {
    .card { padding: 1.5rem; }
    .btn-primary { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
    .logo-img, .logo-img-second { max-height: 40px; }
    .verse-text { font-size: 1rem; }
    .verse-card { padding: 1rem 1.25rem; margin: 1rem auto; }
}