/**
 * Styles for Akira Restrict popup.
 * Design matches the course module card style.
 */

.akr-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--e-global-color-accent, #2253DF);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 999999;
	padding: 20px;
	box-sizing: border-box;
}

.akr-popup-content {
	background-color: #ffffff;
	border-radius: 20px;
	max-width: 600px;
	width: 100%;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	animation: akr-popup-fade-in 0.3s ease-out;
}

@keyframes akr-popup-fade-in {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.akr-popup-inner {
	padding: 40px 50px;
}

.akr-popup-title {
	font-family: var(--e-global-typography-primary-font-family, Sans-serif);
	font-weight: var(--e-global-typography-primary-font-weight, 700);
	color: var(--e-global-color-accent, #2253DF);
	font-size: 32px;
	line-height: 1.3;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: left;
}

.akr-popup-divider {
	height: 2px;
	background-color: var(--e-global-color-accent, #2253DF);
	margin: 0 0 30px 0;
	width: 100%;
}

.akr-popup-body {
	text-align: left;
}

.akr-popup-body p {
	margin: 0 0 20px 0;
	font-family: var(--e-global-typography-primary-font-family, Sans-serif);
	font-size: 16px;
	line-height: 1.6;
	color: #333333;
}

.akr-popup-body p:last-child {
	margin-bottom: 0;
}

.akr-popup-body a {
	color: var(--e-global-color-accent, #2253DF);
	text-decoration: none;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.akr-popup-body a:hover {
	opacity: 0.8;
	text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 600px) {
	.akr-popup-content {
		max-width: 100%;
		margin: 0;
		border-radius: 0;
	}

	.akr-popup-inner {
		padding: 30px 24px;
	}

	.akr-popup-title {
		font-size: 24px;
		margin-bottom: 16px;
	}

	.akr-popup-divider {
		margin-bottom: 24px;
	}

	.akr-popup-body {
		padding: 0;
	}

	.akr-popup-body p {
		font-size: 15px;
		margin-bottom: 16px;
	}
}
