/* We're hiring page (careers.php). */
.crr-body { margin: 0; background: #f1f5f9; color: #0f172a; font-family: Cairo, Tajawal, "Segoe UI", Tahoma, Arial, sans-serif; }
.crr { max-width: 920px; margin: 0 auto; padding: 24px 16px 56px; box-sizing: border-box; }
.crr *, .crr *::before, .crr *::after { box-sizing: border-box; }
.crr [hidden] { display: none !important; }

.crr-hero { position: relative; padding: 36px 28px; border-radius: 16px; background: #0f172a; color: #fff; margin-bottom: 28px; }
.crr-hero h1 { margin: 0 0 8px; font-size: 34px; font-weight: 800; color: #fff; }
.crr-hero p { margin: 0; max-width: 560px; font-size: 16px; line-height: 1.7; color: #cbd5e1; }
.crr-lang { display: flex; gap: 4px; justify-content: flex-end; margin-bottom: 14px; }
.crr-lang a { color: #cbd5e1; text-decoration: none; font-size: 13px; padding: 4px 10px; border-radius: 999px; }
.crr-lang a.is-on { background: #fff; color: #0f172a; font-weight: 700; }

.crr-jobs { margin-bottom: 28px; }
.crr h2 { margin: 0 0 14px; font-size: 21px; font-weight: 800; color: #0f172a; }
.crr-job { display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; margin-bottom: 10px; }
.crr-job-main { min-width: 0; }
.crr-job h3 { margin: 0 0 8px; font-size: 18px; font-weight: 700; color: #0f172a; }
.crr-job p { margin: 10px 0 0; font-size: 14px; line-height: 1.7; color: #475569; }
.crr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.crr-tags span:empty { display: none; }
.crr-tags span { font-size: 12px; background: #f1f5f9; color: #475569; padding: 3px 9px; border-radius: 999px; }
.crr-none { color: #475569; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px 18px; margin: 0; line-height: 1.7; }

.crr-btn { display: inline-block; flex: none; border: 1px solid #0d9488; background: #0d9488; color: #fff; font: inherit; font-weight: 700; font-size: 14px; padding: 9px 20px; border-radius: 8px; text-decoration: none; cursor: pointer; text-align: center; }
.crr-btn:hover { background: #0f766e; border-color: #0f766e; color: #fff; }
.crr-btn:focus-visible, .crr-field input:focus-visible, .crr-field select:focus-visible, .crr-field textarea:focus-visible, .crr-answer textarea:focus-visible { outline: 2px solid #0d9488; outline-offset: 2px; }
.crr-btn[disabled] { opacity: .65; cursor: wait; }
.crr-btn-ghost { background: #fff; color: #0f766e; }
.crr-btn-ghost:hover { background: #f0fdfa; color: #0f766e; }

.crr-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; scroll-margin-top: 90px; }
.crr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.crr-wide { grid-column: 1 / -1; }
.crr-field label, .crr-answer label { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #334155; }
.crr-field input, .crr-field select, .crr-field textarea, .crr-answer textarea { display: block; width: 100%; font: inherit; font-size: 15px; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 9px 11px; }
.crr-field input[type="file"] { padding: 7px; font-size: 13px; }
.crr-field .is-bad, .crr-field input.is-bad { border-color: #b91c1c; }
.crr-hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.crr-consent { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 12px; font-size: 13px; line-height: 1.6; color: #475569; }
.crr-consent input { margin-top: 4px; flex: none; }
.crr-error { margin: 0 0 12px; padding: 9px 12px; border-radius: 8px; background: #fee2e2; color: #991b1b; font-size: 14px; }
.crr-submit { min-width: 180px; padding: 11px 22px; }
.crr-done { text-align: center; padding: 22px 0; }
.crr-done i { font-size: 44px; color: #0d9488; }
.crr-done h3 { margin: 10px 0 6px; font-size: 20px; }
.crr-done p { margin: 0; color: #475569; }

.crr-answer { max-width: 560px; margin: 16px auto; }
.crr-answer h1 { margin: 0 0 8px; font-size: 24px; font-weight: 800; }
.crr-lead { margin: 0 0 14px; color: #334155; }
.crr-details { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; font-size: 14px; }
.crr-details dt { color: #64748b; font-weight: 400; }
.crr-details dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
[dir="rtl"] .crr-details dd[dir="ltr"] { text-align: right; }
.crr-status { margin: 0 0 14px; color: #475569; font-size: 14px; }
.crr-status:empty { display: none; }
.crr-status.is-good { color: #047857; font-weight: 700; }
.crr-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#crrMoveForm { margin-top: 14px; }
#crrMoveForm .crr-btn { margin-top: 10px; }

.crr-questions { display: grid; gap: 14px; }
.crr-questions:empty { display: none; }
.crr-yesno { display: flex; gap: 18px; }
.crr-yesno label { display: inline-flex; gap: 6px; align-items: center; font-weight: 400; margin: 0; }
.crr-answer .crr-field { margin-bottom: 14px; }
.crr-consent a { color: #0f766e; text-decoration: underline; }
.crr-timer { position: sticky; top: 8px; z-index: 2; display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: #0f172a; color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.crr-test-q { border: 0; border-bottom: 1px solid #e2e8f0; padding: 0 0 14px; margin: 0 0 14px; }
.crr-test-q legend { font-size: 15px; font-weight: 700; margin-bottom: 8px; padding: 0; width: 100%; }
.crr-test-q label { display: flex; gap: 8px; align-items: flex-start; padding: 6px 0; font-size: 14px; cursor: pointer; }
.crr-privacy h1 { font-size: 24px; font-weight: 800; margin: 0 0 14px; }
.crr-privacy h2 { font-size: 16px; margin: 16px 0 4px; }
.crr-privacy p { margin: 0; line-height: 1.7; color: #334155; }
.crr-privacy a { color: #0f766e; text-decoration: underline; }

@media (max-width: 640px) {
  .crr-hero { padding: 24px 18px; }
  .crr-hero h1 { font-size: 27px; }
  .crr-job { flex-direction: column; }
  .crr-job .crr-btn { width: 100%; }
  .crr-grid { grid-template-columns: 1fr; }
  .crr-card { padding: 18px; }
  .crr-submit { width: 100%; }
}
