h3 {
	border-left: 5px solid #8458b3;
  	padding-left: 8px;
}

/* —新人報到 Section Tabs — */
.onb-section-tab.active {
    color: #2563eb !important;
    border-bottom-color: #2563eb !important;
}

/* —新人報到表格操作按鈕 — */
.onb-btn-sm {
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    border: none;
    margin-right: 4px;
    white-space: nowrap;
}
.onb-btn-success { background: #dcfce7; color: #166534; }
.onb-btn-success:hover { background: #bbf7d0; }
.onb-btn-danger { background: #fee2e2; color: #991b1b; }
.onb-btn-danger:hover { background: #fecaca; }
.onb-btn-outline { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.onb-btn-outline:hover { background: #dbeafe; }
.onb-btn-darkblue { background: #1e3a5f; color: #fff; border: none; }
.onb-btn-darkblue:hover { background: #152e4d; }
.onb-onboarded-cb[disabled] { opacity: 0.3; cursor: not-allowed; }

/* —新人報到 Summary Pills — */
.onb-summary-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
    user-select: none;
}
.onb-summary-pill:hover { background: #e2e8f0; }
.onb-summary-pill.active { background: #2563eb; color: #fff; border-color: #2563eb; }
.onb-summary-pill b { font-size: 15px; margin-left: 2px; }

/* —Modals — */
.dep-form-modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    width: 70vw;
    max-height: 85vh;
    overflow-y: auto;
    margin: 5vh auto;
}

/* Override generic .modal for depViewModal */
#depViewModal .dep-form-modal-content {
    width: 70vw;
    max-width: none;
}
#depViewModal.modal {
    max-width: none;
    width: 100%;
}

/* Override for HR dep form modal */
#onbDepFormModal.modal {
    max-width: none;
    width: 100%;
}
#onbDepFormModal .dep-form-modal-content {
    width: 80vw;
    max-width: none;
}

/* —Onboarding Check Form Modals — */
.onb-check-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10002;
}
.onb-check-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    margin: 80px auto;
    max-width: 480px;
    width: 90%;
}
.onb-batch-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 10002;
}
.onb-batch-content {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    margin: 60px auto;
    max-width: 720px;
    width: 95%;
}
