/**
 * Czargroup Disclaimer Popup – custom CSS (no Bootstrap).
 * Overlay and box layout only; title, description and buttons follow theme styles.
 */

.disclaimer-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.6);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.disclaimer-popup-overlay.is-visible {
	opacity: 1;
	visibility: visible;
}

.disclaimer-popup-box {
	position: relative;
	max-width: 90vw;
	width: 700px;
	max-height: 85vh;
	overflow-y: auto;
	background: #fff;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
	border-radius: 4px;
	padding: 1.5em 1.75em;
	margin: 1em;
	text-align: center;
	/* Theme can override background, padding, border-radius via .disclaimer-popup-box */
}

/* Structural spacing only; font/size/color come from theme */
.disclaimer-popup-title {
	margin: 0 0 0.75em;
	padding: 0;
	text-align: center;
	font-size: 40px !important;
}

.disclaimer-popup-description {
	margin: 0 0 1.25em;
	text-align: center;
}

.disclaimer-popup-description p:first-child {
	margin-top: 0;
}

.disclaimer-popup-description p:last-child {
	margin-bottom: 0;
}

.disclaimer-popup-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75em;
	margin-top: 1em;
	justify-content: center;
}

/* Buttons: primary color #707C64 */
.disclaimer-popup-btn {
	cursor: pointer;
	border: 1px solid transparent;
	padding: 0.5em 1em;
	line-height: 1.4;
}

.disclaimer-popup-btn-agree {
	background: #707C64;
	color: #fff;
}

.disclaimer-popup-btn-disagree {
	background: transparent;
	color: #707C64;
	border-color: #707C64;
}

.disclaimer-popup-btn:hover {
	opacity: 0.9;
}

.disclaimer-popup-btn:focus {
	outline: 2px solid #707C64;
	outline-offset: 2px;
}
