/* gl-career-interest-quiz/assets/dashboard.css */
.glciq-dash-wrap { direction: rtl; font-family: 'Cairo', Tahoma, sans-serif; padding: 8px 0; }
.glciq-dash-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.glciq-dash-title { font-size: 1.4rem; font-weight: 900; color: #01624F; margin: 0; }
.glciq-dash-badge { background: #e7f4f0; color: #01624F; border: 1px solid #b9d8cf; padding: 4px 14px; border-radius: 999px; font-weight: 800; font-size: .85rem; }
.glciq-empty-state { text-align: center; padding: 48px 20px; background: #f9fafb; border: 1px dashed #d1d5db; border-radius: 16px; color: #9ca3af; font-size: 1rem; }

/* Table */
.glciq-table-wrap { overflow-x: auto; }
.glciq-results-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.glciq-results-table th { background: #f0faf7; color: #01624F; font-weight: 900; padding: 10px 14px; text-align: right; border-bottom: 2px solid #b9d8cf; }
.glciq-results-table td { padding: 10px 14px; border-bottom: 1px solid #f0f0f0; color: #374151; vertical-align: middle; }
.glciq-results-table tr:hover td { background: #f9fafb; }
.glciq-code-badge { display: inline-flex; gap: 4px; }
.glciq-code-chip { padding: 3px 10px; border-radius: 50px; color: #fff; font-weight: 900; font-size: .8rem; }

/* Buttons */
.glciq-btn-detail { background: #01624F; color: #fff; border: none; border-radius: 8px; padding: 6px 14px; font-size: .82rem; font-weight: 800; cursor: pointer; font-family: 'Cairo', Tahoma, sans-serif; transition: .2s; }
.glciq-btn-detail:hover { background: #236A58; }
.glciq-btn-pdf { background: #ff7101; color: #fff; border: none; border-radius: 8px; padding: 6px 14px; font-size: .82rem; font-weight: 800; cursor: pointer; font-family: 'Cairo', Tahoma, sans-serif; transition: .2s; }
.glciq-btn-pdf:hover { background: #e0640e; }

/* Modal */
.glciq-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); display: flex; align-items: center; justify-content: center; z-index: 99999; }
.glciq-modal-overlay.hidden { display: none; }
.glciq-modal-box { background: #fff; border-radius: 20px; width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto; padding: 28px 24px 24px; position: relative; direction: rtl; font-family: 'Cairo', Tahoma, sans-serif; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.glciq-modal-close { position: absolute; top: 12px; left: 12px; background: #f3f4f6; border: none; border-radius: 50%; width: 32px; height: 32px; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.glciq-modal-title { font-size: 1.4rem; font-weight: 900; color: #01624F; margin: 0 0 4px; }
.glciq-modal-code { display: inline-flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap; }
.glciq-modal-section { margin-bottom: 18px; }
.glciq-modal-section h4 { font-size: 1rem; font-weight: 900; color: #01624F; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #e5e7eb; }
.glciq-modal-section p, .glciq-modal-section div { font-size: .9rem; color: #374151; line-height: 1.9; white-space: pre-line; }
.glciq-modal-date { font-size: .8rem; color: #9ca3af; text-align: center; margin-top: 20px; padding-top: 14px; border-top: 1px solid #f3f4f6; }

/* Jobs in modal */
.glciq-modal-jobs-level { margin-bottom: 14px; }
.glciq-modal-jobs-level-title { font-weight: 900; color: #047857; font-size: .9rem; margin-bottom: 6px; }
.glciq-modal-jobs-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.glciq-modal-job-chip { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 50px; padding: 4px 12px; font-size: .82rem; font-weight: 700; color: #047857; }

/* Scores in modal */
.glciq-modal-score-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.glciq-modal-score-label { width: 100px; font-size: .85rem; flex-shrink: 0; text-align: right; }
.glciq-modal-bar-wrap { flex: 1; height: 12px; background: #f3f4f6; border-radius: 999px; overflow: hidden; }
.glciq-modal-bar-fill { height: 100%; border-radius: 999px; transition: width .6s ease; }
.glciq-modal-score-val { width: 32px; font-weight: 800; font-size: .85rem; color: #111; flex-shrink: 0; }
