  /* ==========================================================================
   ÐÔÊÓ½ç - Generic Modal Alert
   Reusable accessible confirmation / disclaimer modal
   ========================================================================== */

.cc-modal-alert {
	--cc-modal-accent: #e20d39;
	--cc-modal-accent-dark: #b50a2e;
	--cc-modal-black: #1f1f1f;
	--cc-modal-gray-dark: #4b4b4b;
	--cc-modal-gray-light: #dedede;
	--cc-modal-gray-lighter: #f5f5f5;
	--cc-modal-white: #fff;

	position: fixed;
	inset: 0;
	z-index: 10000;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 1.25rem;

	background: rgba(0, 0, 0, 0.62);

	overflow-x: hidden;
	overflow-y: auto;
}

.cc-modal-alert[hidden] {
	display: none !important;
}


/* ==========================================================================
   Dialog
   ========================================================================== */

.cc-modal-alert__dialog {
	position: relative;

	width: 100%;
	max-width: 620px;

	margin: auto;

	overflow: hidden;

	background: var(--cc-modal-white);

	border: 0;
	border-radius: 0.375rem;

	box-shadow:
		0 1rem 3rem rgba(0, 0, 0, 0.3),
		0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);

	animation: cc-modal-alert-in 180ms ease-out;
}


/* ==========================================================================
   Accent
   ========================================================================== */

.cc-modal-alert__accent {
	width: 100%;
	height: 0.4rem;

	background: var(--cc-modal-accent);
}


/* ==========================================================================
   Header
   ========================================================================== */

.cc-modal-alert__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;

	gap: 1rem;

	padding: 1.6rem 1.6rem 1rem;
}

.cc-modal-alert__heading {
	display: flex;
	align-items: center;

	gap: 1rem;

	min-width: 0;
}

.cc-modal-alert__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 3rem;

	width: 3rem;
	height: 3rem;

	background: var(--cc-modal-accent);
	color: var(--cc-modal-white);

	border-radius: 50%;

	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.5rem;
	font-weight: 700;
	font-style: italic;
	line-height: 1;
}

.cc-modal-alert__title {
	margin: 0;

	color: var(--cc-modal-black);

	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.25;
}


/* ==========================================================================
   Close
   ========================================================================== */

.cc-modal-alert__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex: 0 0 2.5rem;

	width: 2.5rem;
	height: 2.5rem;

	margin: -0.25rem -0.25rem 0 0;
	padding: 0;

	border: 0;
	border-radius: 0.25rem;

	background: transparent;
	color: var(--cc-modal-gray-dark);

	cursor: pointer;

	font-family: Arial, Helvetica, sans-serif;
	font-size: 2rem;
	font-weight: 300;
	line-height: 1;
}

.cc-modal-alert__close:hover {
	background: var(--cc-modal-gray-lighter);
	color: var(--cc-modal-black);
}


/* ==========================================================================
   Body
   ========================================================================== */

.cc-modal-alert__body {
	padding: 0 1.6rem 1.6rem;

	color: var(--cc-modal-gray-dark);

	font-size: 1rem;
	line-height: 1.65;
}

.cc-modal-alert__body p {
	margin: 0;
}


/* ==========================================================================
   Footer
   ========================================================================== */

.cc-modal-alert__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;

	gap: 0.75rem;

	padding: 1.15rem 1.6rem 1.5rem;

	border-top: 1px solid var(--cc-modal-gray-light);

	background: var(--cc-modal-gray-lighter);
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.cc-modal-alert__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	gap: 0.4rem;

	min-height: 44px;

	padding: 0.7rem 1.15rem;

	border: 2px solid transparent;
	border-radius: 0.25rem;

	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;

	text-align: center;
	text-decoration: none;

	cursor: pointer;

	transition:
		background-color 120ms ease-in-out,
		border-color 120ms ease-in-out,
		color 120ms ease-in-out;
}


/* Secondary */

.cc-modal-alert__button--secondary {
	border-color: var(--cc-modal-gray-dark);

	background: var(--cc-modal-white);
	color: var(--cc-modal-black);
}

.cc-modal-alert__button--secondary:hover {
	border-color: var(--cc-modal-black);

	background: var(--cc-modal-black);
	color: var(--cc-modal-white);
}


/* Primary */

.cc-modal-alert__button--primary {
	border-color: var(--cc-modal-accent);

	background: var(--cc-modal-accent);
	color: var(--cc-modal-white);
}

.cc-modal-alert__button--primary:hover {
	border-color: var(--cc-modal-accent-dark);

	background: var(--cc-modal-accent-dark);
	color: var(--cc-modal-white);
}

.cc-modal-alert__external {
	font-size: 1.05em;
	line-height: 1;
}


/* ==========================================================================
   Focus
   ========================================================================== */

.cc-modal-alert__button:focus-visible,
.cc-modal-alert__close:focus-visible {
	outline: 3px solid #000;
	outline-offset: 3px;
}


/* ==========================================================================
   Open state
   ========================================================================== */

body.cc-modal-alert-open {
	overflow: hidden;
}


/* ==========================================================================
   Animation
   ========================================================================== */

@keyframes cc-modal-alert-in {

	from {
		opacity: 0;
		transform: translateY(0.75rem) scale(0.985);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}

}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 575.98px) {

	.cc-modal-alert {
		align-items: flex-start;
		padding: 0.75rem;
	}

	.cc-modal-alert__dialog {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}

	.cc-modal-alert__header {
		padding: 1.25rem 1.25rem 0.875rem;
	}

	.cc-modal-alert__heading {
		align-items: flex-start;
		gap: 0.75rem;
	}

	.cc-modal-alert__icon {
		flex-basis: 2.5rem;

		width: 2.5rem;
		height: 2.5rem;

		font-size: 1.25rem;
	}

	.cc-modal-alert__title {
		font-size: 1.25rem;
	}

	.cc-modal-alert__body {
		padding: 0 1.25rem 1.25rem;
	}

	.cc-modal-alert__footer {
		flex-direction: column-reverse;
		align-items: stretch;

		padding: 1rem 1.25rem 1.25rem;
	}

	.cc-modal-alert__button {
		width: 100%;
	}

}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	.cc-modal-alert__dialog {
		animation: none;
	}

	.cc-modal-alert__button {
		transition: none;
	}

}