
/* Additional styles for engagement form module */
.btn-ghost-round { background: #f5f5f5; color: #1a2332; border: 0.5px solid #BDBDBD; border-radius: 10px; flex: 0 0 auto; min-width: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.eng-res-row { display: flex; align-items: center; justify-content: space-between; padding: 14px; cursor: pointer; }
.er-status { font-size: 12px; color: #5a6a7a; }
.er-status.done { color: #2E7D32; font-weight: 500; }
.sub-table { width: 100%; border-collapse: collapse; }
.sub-table td { padding: 10px 14px; border-top: 0.5px solid #E0E0E0; vertical-align: middle; }
.sub-table tr:first-child td { border-top: none; }
.sub-record-label { font-size: 13px; color: #1a2332; font-weight: 500; }
.sub-record-sub { font-size: 11px; color: #5a6a7a; margin-top: 2px; }
.del-btn { background: none; border: none; color: #C62828; font-size: 16px; cursor: pointer; padding: 4px; }
.add-row-btn { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; width: 100%; border: none; background: #fff; color: #1565C0; font-size: 13px; font-weight: 500; cursor: pointer; border-top: 0.5px solid #E0E0E0; }
.full-panel { display: none; position: fixed; inset: 0; background: #f0f0f0; z-index: 60; flex-direction: column; max-width: 480px; margin: 0 auto; }
.full-panel.open { display: flex; }
.full-panel-header { background: #3a3a4a; color: #fff; padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; flex-shrink: 0; }
.full-panel-close { background: none; border: none; color: #fff; font-size: 18px; cursor: pointer; }
.full-panel-body { flex: 1; overflow-y: auto; padding-bottom: 12px; }
.context-note { background: #F3E5F5; border: 0.5px solid #CE93D8; border-radius: 10px; margin: 10px 12px; padding: 10px 12px; display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #4A148C; }
.context-note i { font-size: 16px; color: #7B1FA2; flex-shrink: 0; margin-top: 1px; }
.hint-text { font-size: 11px; color: #5a6a7a; margin-top: 6px; }
.hint-text.warn { color: #C62828; }
.has-error { border-color: #C62828 !important; }
.complete-banner { background: #E8F5E9; border: 0.5px solid #A5D6A7; border-radius: 10px; margin: 10px 12px; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.complete-banner i { font-size: 18px; color: #2E7D32; }
.complete-banner span { font-size: 13px; color: #1B5E20; font-weight: 500; }
.person-badge { background: #1565C0; color: #fff; font-size: 13px; font-weight: 500; padding: 10px 14px; display: flex; align-items: center; gap: 8px; margin: 0 12px; border-radius: 10px 10px 0 0; }
.dots { display: flex; gap: 4px; margin-left: auto; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.dot.active { background: #fff; }
.dot.done { background: rgba(255,255,255,0.65); }
.person-row { padding: 10px 14px; border-top: 0.5px solid #E0E0E0; display: flex; align-items: flex-start; gap: 10px; }
.person-row:first-child { border-top: none; }
.person-num { width: 24px; height: 24px; border-radius: 50%; background: #1565C0; color: #fff; font-size: 12px; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.person-cond { font-size: 13px; font-weight: 500; color: #1a2332; }
.edit-btn { background: none; border: none; color: #1565C0; font-size: 16px; cursor: pointer; padding: 4px; }
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; margin: 2px 2px 0 0; }
.tag-blue { background: #E3F0FC; color: #0C447C; }
.tag-red { background: #FDECEA; color: #B71C1C; }
.tag-green { background: #E8F5E9; color: #1B5E20; }
.tag-amber { background: #FFF3CD; color: #633806; }
.tag-purple { background: #F3E5F5; color: #4A148C; }
 
/* Core form control styles - checkboxes, radios, inputs, textareas */
.check-row { display: flex; align-items: center; gap: 12px; padding: 14px; border-top: 0.5px solid #E0E0E0; cursor: pointer; }
.check-row:first-of-type { border-top: none; }
.check-row:active { background: #F0F7FF; }
.check-label { font-size: 14px; color: #1a2332; line-height: 1.4; flex: 1; }
 
.checkbox { width: 24px; height: 24px; border: 1.5px solid #BDBDBD; border-radius: 5px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.checkbox.checked { background: #1565C0; border-color: #1565C0; }
.checkbox.checked::after { content: ''; display: block; width: 7px; height: 12px; border: 2px solid #fff; border-top: none; border-left: none; transform: rotate(45deg) translateY(-1px); }
 
.radio { width: 24px; height: 24px; border: 1.5px solid #BDBDBD; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.15s; }
.radio.selected { border-color: #1565C0; }
.radio.selected::after { content: ''; width: 13px; height: 13px; border-radius: 50%; background: #1565C0; display: block; }
 
.num-input { width: 100%; border: 1.5px solid #BDBDBD; border-radius: 8px; padding: 14px; font-size: 18px; font-weight: 500; color: #1a2332; background: #fff; }
.num-input:focus { outline: none; border-color: #1565C0; }
.num-input::placeholder { color: #9E9E9E; font-size: 16px; font-weight: 400; }
 
.notes-area { width: 100%; border: 1.5px solid #BDBDBD; border-radius: 8px; resize: vertical; padding: 14px; font-size: 16px; line-height: 1.5; color: #1a2332; background: #fff; min-height: 110px; font-family: inherit; box-sizing: border-box; }
.notes-area:focus { outline: none; border-color: #1565C0; }
.notes-area::placeholder { color: #9E9E9E; }
 
.field-wrap { padding: 12px 14px; }
 
/* Resources offered/accepted section */
.res-offer-table { padding: 4px 0; }
.res-offer-row { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 0.5px solid #E0E0E0; }
.res-offer-row:first-child { border-top: none; }
.res-offer-label { font-size: 14px; color: #1a2332; flex: 1; }
.res-offer-check { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.res-offer-check span { font-size: 12px; color: #5a6a7a; }
.res-offer-check .checkbox { width: 20px; height: 20px; }
.form-label-sm { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #5a6a7a; margin-bottom: 6px; }
 
/* Review & Submit screen */
.rs-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 0.5px solid #E0E0E0; }
.rs-row:first-of-type { border-top: none; }
.rs-icon { font-size: 16px; color: #1565C0; width: 18px; flex-shrink: 0; margin-top: 1px; }
.rs-label { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #5a6a7a; margin-bottom: 1px; }
.rs-value { font-size: 13px; font-weight: 500; color: #1a2332; line-height: 1.4; }
.rs-missing { color: #C62828; font-style: italic; font-weight: 400; }
.rs-person-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; border-top: 0.5px solid #E0E0E0; }
.rs-person-row:first-of-type { border-top: none; }
.rs-person-num { width: 24px; height: 24px; border-radius: 50%; background: #1565C0; color: #fff; font-size: 12px; font-weight: 500; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.rs-person-cond { font-size: 13px; font-weight: 500; color: #1a2332; }
.rs-kgfs-card { background: #F3E5F5; border: 0.5px solid #CE93D8; border-radius: 12px; margin: 10px 12px; overflow: hidden; }
.rs-kgfs-header { background: #7B1FA2; padding: 10px 14px; display: flex; align-items: center; gap: 10px; }
.rs-kgfs-header i { font-size: 18px; color: #fff; }
.rs-kgfs-title { color: #fff; font-size: 13px; font-weight: 500; }
.rs-kgfs-sub { color: #CE93D8; font-size: 11px; margin-top: 1px; }
.rs-kgfs-body { padding: 12px 14px; }
.btn-submit-main { flex: 1; background: #2E7D32; color: #fff; border: none; border-radius: 10px; padding: 15px; font-size: 15px; font-weight: 500; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit-main:disabled { opacity: 0.6; cursor: not-allowed; }
 
/* Success overlay */
.success-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 80; align-items: center; justify-content: center; padding: 20px; }
.success-overlay.open { display: flex; }
.success-box { background: #fff; border-radius: 16px; padding: 28px 24px; width: 100%; max-width: 400px; text-align: center; }
.success-icon { font-size: 52px; color: #2E7D32; margin-bottom: 10px; }
.success-box h2 { font-size: 20px; font-weight: 600; color: #1a2332; margin-bottom: 6px; }
.success-box p { font-size: 14px; color: #5a6a7a; margin-bottom: 16px; }
.success-kgfs { display: flex; align-items: center; gap: 10px; background: #F3E5F5; border: 0.5px solid #CE93D8; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; text-align: left; }
.success-kgfs i { font-size: 20px; color: #7B1FA2; flex-shrink: 0; }
.success-kgfs strong { font-size: 13px; color: #4A148C; display: block; }
.success-kgfs span { font-size: 11px; color: #7B1FA2; }
.btn-done-submit { width: 100%; background: #1565C0; color: #fff; border: none; border-radius: 10px; padding: 13px; font-size: 15px; font-weight: 500; cursor: pointer; }
