/**
 * ContentShield Lite — Centered Modal Popup Styles
 *
 * A clean, fully customizable centered modal that replaces
 * the old browser alert() and bottom toast.
 *
 * Base layout/animation only — colors/borders/radius are
 * injected inline by JS from the admin settings.
 *
 * @package ContentShieldLite
 */

/* -------------------------------------------------------------------------
	Overlay animations
	------------------------------------------------------------------------- */
@keyframes cslhdrhbOverlayIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@keyframes cslhdrhbOverlayOut {
	from { opacity: 1; }
	to   { opacity: 0; }
}
@keyframes cslhdrhbModalIn {
	from {
		opacity: 0;
		transform: scale( 0.88 ) translateY( -16px );
	}
	to {
		opacity: 1;
		transform: scale( 1 ) translateY( 0 );
	}
}

/* -------------------------------------------------------------------------
	Modal box
	------------------------------------------------------------------------- */
.cslhdrhb-modal {
	position: relative;
	width: 100%;
	max-width: 420px;
	margin: 16px;
	padding: 36px 32px 28px;
	text-align: center;
	box-sizing: border-box;
	animation: cslhdrhbModalIn 0.28s cubic-bezier( 0.34, 1.56, 0.64, 1 ) forwards;
	box-shadow: 0 20px 60px rgba( 0,0,0,0.18 ), 0 4px 16px rgba( 0,0,0,0.10 );
}

/* Icon */
.cslhdrhb-modal__icon {
	font-size: 44px;
	line-height: 1;
	margin-bottom: 16px;
	display: block;
}

/* Title */
.cslhdrhb-modal__title {
	font-size: 17px;
	font-weight: 700;
	margin: 0 0 10px;
	line-height: 1.3;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Message */
.cslhdrhb-modal__msg {
	font-size: 15px;
	line-height: 1.6;
	margin: 0 0 26px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	opacity: 0.85;
}

/* OK Button */
.cslhdrhb-modal__ok {
	display: inline-block;
	min-width: 100px;
	padding: 11px 32px;
	border: 2px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	cursor: pointer;
	transition: opacity 0.15s, transform 0.1s;
	letter-spacing: 0.3px;
}
.cslhdrhb-modal__ok:hover  { opacity: 0.88; }
.cslhdrhb-modal__ok:active { transform: scale( 0.97 ); }
.cslhdrhb-modal__ok:focus-visible {
	outline: 3px solid rgba( 201,168,76,0.5 );
	outline-offset: 3px;
}

/* Mobile */
@media ( max-width: 480px ) {
	.cslhdrhb-modal { padding: 28px 20px 22px; margin: 12px; }
	.cslhdrhb-modal__ok { width: 100%; }
}