/**
 * Modals CSS
 *
 * Styles for modal dialogs and overlays throughout the application
 * Extracted from inline styles to follow WordPress coding standards
 *
 * @package SageScreen
 */

/* Add Candidates Section */
.ss-add-candidates-section {
	margin-bottom: 2rem;
}

/* Hidden Content Containers (for tab content) */
.ss-tab-content-hidden {
	display: none;
}

/* CSV Upload Requirements List */
.ss-csv-requirements-list {
	list-style: none;
	padding-left: 0;
}

/* CSV Results Modal Overlay */
.ss-modal-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 100000;
}

.ss-modal-overlay.ss-active {
	display: block;
}

/* CSV Results Modal Dialog */
.ss-modal-dialog {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	z-index: 100001;
	width: 90%;
	max-width: 900px;
	max-height: 80vh;
	overflow: hidden;
}

.ss-modal-dialog.ss-active {
	display: block;
}

/* Modal Header */
.ss-modal-header {
	padding: 24px;
	border-bottom: 1px solid #e5e7eb;
}

.ss-modal-title {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	color: #111827;
}

/* Modal Body */
.ss-modal-body {
	padding: 24px;
	overflow-y: auto;
	max-height: calc(80vh - 140px);
}

/* Modal Footer */
.ss-modal-footer {
	padding: 16px 24px;
	border-top: 1px solid #e5e7eb;
	text-align: right;
}
