/* WooCommerce Sales Agreements - Public Styles */

.wcsa-agreement-checkbox-wrapper {
	margin: 20px 0;
	padding: 15px;
	background: #f9f9f9;
	border: 1px solid #ddd;
	border-radius: 4px;
}

.wcsa-agreement-checkbox {
	margin: 0 !important;
	font-size: 14px;
}

.wcsa-agreement-text {
	margin-left: 5px;
}

.wcsa-agreement-link {
	color: #0073aa;
	text-decoration: underline;
	cursor: pointer;
}

.wcsa-agreement-link:hover {
	color: #005177;
}

/* Modal Styles */
.wcsa-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.wcsa-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
}

.wcsa-modal-content {
	position: relative;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	max-width: 800px;
	width: 90%;
	max-height: 90vh;
	display: flex;
	flex-direction: column;
	z-index: 1;
}

.wcsa-modal-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px;
	border-bottom: 1px solid #ddd;
}

.wcsa-modal-title {
	margin: 0;
	font-size: 20px;
	font-weight: 600;
}

.wcsa-modal-close {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	color: #666;
	font-size: 24px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.wcsa-modal-close:hover {
	color: #000;
}

.wcsa-modal-close-icon {
	font-size: 28px;
	line-height: 1;
	font-weight: bold;
	display: inline-block;
}

.wcsa-modal-body {
	flex: 1;
	overflow: hidden;
}

.wcsa-agreement-content {
	line-height: 1.6;
}

.wcsa-agreement-content h1,
.wcsa-agreement-content h2,
.wcsa-agreement-content h3,
.wcsa-agreement-content h4 {
	margin-top: 20px;
	margin-bottom: 10px;
}

.wcsa-agreement-content p {
	margin-bottom: 15px;
}

.wcsa-agreement-content ul,
.wcsa-agreement-content ol {
	margin-left: 20px;
	margin-bottom: 15px;
}

