/* Additional job-specific application questions, integrated into Wasla visual language. */
.wasla-screening-editor, .wasla-screening-answers{display:block;box-sizing:border-box;width:100%;min-width:0;border:1px solid #e5ddf1;border-radius:16px;background:#fcfaff;padding:20px;margin:24px 0;color:#33264d}
.wasla-screening-editor *,.wasla-screening-answers *{box-sizing:border-box}
.wasla-screening-editor-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:17px}
.wasla-screening-editor-head h3{font-size:19px;margin:0 0 7px;color:#32234b;font-weight:800}
.wasla-screening-editor-head p,.wasla-screening-hint,.wasla-screening-help{font-size:13px;line-height:1.85;color:#6e607e;margin:0}
.wasla-screening-count{display:inline-flex;border-radius:100px;background:#efe8fb;padding:6px 13px;color:#6c43be;font-size:13px;font-weight:800}
.wasla-screening-list{display:grid;gap:15px}
.wasla-screening-editor-row{display:grid;gap:12px;background:#fff;border:1px solid #e4daef;border-radius:14px;padding:17px;min-width:0}
.wasla-screening-row-heading,.wasla-screening-reorder{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.wasla-screening-row-heading{justify-content:space-between}.wasla-screening-row-heading strong{color:#452f70;font-size:14px}
.wasla-screening-editor :is(input[type=text],select,textarea),.wasla-screening-answers :is(input[type=text],textarea){display:block;width:100%;min-width:0;border:1px solid #dcd2ed;border-radius:10px;background:white;color:#271c38;min-height:45px;font:inherit;font-size:14px;padding:11px 13px;line-height:1.6}
.wasla-screening-editor textarea,.wasla-screening-answers textarea{resize:vertical;min-height:100px}
.wasla-screening-editor label:not(.wasla-screening-required-toggle){display:grid;gap:7px;color:#46365d;font-size:13px;font-weight:700}
.wasla-screening-editor-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(160px,.65fr);align-items:center;gap:14px}
.wasla-screening-required-toggle{display:flex;gap:10px;align-items:center;font-size:13px;font-weight:700;color:#473367;cursor:pointer}
.wasla-screening-required-toggle input{width:19px;height:19px;accent-color:#7047c4}
.wasla-screening-editor .wasla-screening-options[hidden]{display:none!important}
.wasla-screening-options small{font-size:12px;color:#74678a;font-weight:400}
.wasla-screening-reorder button{border:1px solid #e5daef;border-radius:9px;background:#f9f6ff;color:#5f3b9c;min-width:39px;min-height:39px;cursor:pointer;font:inherit;padding:8px 12px}
.wasla-screening-reorder button:disabled,.wasla-screening-add:disabled{opacity:.45;cursor:not-allowed}
.wasla-screening-reorder .wasla-screening-remove{background:#fff9f9;color:#a0313b;border-color:#f0d5d8}
.wasla-screening-add{display:inline-flex;justify-content:center;align-items:center;min-height:46px;margin:16px 0 10px;padding:11px 22px;border:1px dashed #8c66d0;border-radius:12px;background:#f2ebff;color:#6541ac;font:800 14px Cairo,sans-serif;cursor:pointer}
.wasla-screening-editor :is(input,textarea,select,button):focus-visible,.wasla-screening-answers :is(input,textarea):focus-visible{outline:3px solid #a98ce6;outline-offset:2px}
.wasla-screening-answers{background:#fdfbff;padding:18px 20px;margin:20px 0}
.wasla-screening-answers>legend{font-size:18px;font-weight:800;padding:0 10px;color:#34234f}
.wasla-screening-answer{background:#fff;border:1px solid #ece4f5;padding:16px;border-radius:12px;margin-top:13px;min-width:0}
.wasla-screening-answer>label{display:block;font-size:14px;color:#35274e;margin-bottom:10px;line-height:1.65}
.wasla-screening-required{color:#b42318;font-size:17px;margin-inline-start:4px}.wasla-screening-optional{font-size:12px;font-weight:400;color:#796e88}
.wasla-screening-choice{margin:0;padding:0;border:0;min-inline-size:0}.wasla-screening-choice legend{padding:0;margin:0 0 10px;font-size:14px;color:#35274e}
.wasla-screening-choice-item{display:flex!important;gap:10px;align-items:center;cursor:pointer;padding:8px 9px;border-radius:8px;min-height:42px;color:#46365d;font-size:14px;font-weight:500}
.wasla-screening-choice-item:hover{background:#f6f1fd}.wasla-screening-choice-item input{width:18px;height:18px;flex:0 0 auto;accent-color:#7047c4}
.wasla-screening-results{border:1px solid #e6dcf3;border-radius:13px;margin:14px 0;padding:12px 15px;background:#fcfaff;min-width:0}
.wasla-screening-results summary{cursor:pointer;font-weight:800;color:#573493;font-size:14px;padding:5px 0;min-height:34px;display:list-item;list-style-position:inside}
.wasla-screening-result-list{margin:12px 0 0;padding:0;display:grid;gap:10px}
.wasla-screening-result{background:#fff;border:1px solid #f1edf7;border-radius:10px;padding:13px;overflow-wrap:anywhere}
.wasla-screening-result dt{font-size:13px;font-weight:800;color:#392950;margin-bottom:5px}.wasla-screening-result dd{font-size:14px;color:#4f4263;line-height:1.75;margin:0}
@media(max-width:650px){.wasla-screening-editor,.wasla-screening-answers{padding:13px}.wasla-screening-editor-row{padding:13px}.wasla-screening-editor-meta{grid-template-columns:1fr}.wasla-screening-reorder button{min-height:44px;min-width:44px}.wasla-screening-add{width:100%}}
@media(prefers-reduced-motion:reduce){.wasla-screening-editor *,.wasla-screening-answers *{transition:none!important}}

/* Existing application state and My Applications answer editing. */
.wasla-already-applied{border:1px solid #c5e4d5;background:#effbf4;border-radius:15px;padding:18px 20px;color:#1e5540;line-height:1.8}
.wasla-already-applied strong{display:block;font-size:17px;color:#145a3b;margin-bottom:7px}
.wasla-already-applied p{margin:0 0 14px;color:#325b46}
.wasla-already-applied .btn{display:inline-flex;align-items:center;justify-content:center;max-width:100%;white-space:normal;text-align:center}
.wasla-edit-answers-link{display:inline-flex;align-items:center;margin:8px 0 12px;padding:9px 16px;border:1px solid #9f83d5;border-radius:10px;color:#5a349d;font-weight:800;background:#f8f3ff;text-decoration:none;min-height:44px}
.wasla-edit-answers-link:hover{background:#eee6ff;color:#472484}
.wasla-screening-edit-form{margin:14px 0 20px;padding:3px 0 0;border-top:1px solid #e7ddf3}
.wasla-screening-edit-form .wasla-screening-answers{margin:14px 0}
.wasla-screening-edit-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.wasla-screening-edit-actions .btn{white-space:normal;text-align:center;min-height:44px}
.wasla-edit-answers-link:focus-visible,.wasla-screening-edit-actions .btn:focus-visible,.wasla-already-applied .btn:focus-visible{outline:3px solid #9f83d5;outline-offset:3px}
@media(max-width:600px){.wasla-screening-edit-actions{align-items:stretch;flex-direction:column}.wasla-screening-edit-actions .btn{width:100%}}
