/**
 * Welcome Notice Styles
 *
 * Styles for the Masteriyo LMS welcome notice.
 *
 * @package OnlineCoursesFSE
 */

.online-courses-fse-welcome-notice {
	position: relative;
	border-left-color: #2271b1;
	padding: 0 !important;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.online-courses-fse-welcome-notice .notice-dismiss {
	top: 20px;
	right: 20px;
}

.online-courses-fse-welcome-notice .notice-content {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 30px;
}

.online-courses-fse-welcome-notice .notice-copy {
	flex: 1;
	min-width: 0;
}

.online-courses-fse-welcome-notice .notice-subtitle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 14px;
	font-weight: 500;
	color: #2271b1;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.online-courses-fse-welcome-notice .notice-subtitle .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.online-courses-fse-welcome-notice .notice-title {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: #1e1e1e;
}

.online-courses-fse-welcome-notice .notice-title span {
	color: #2271b1;
}

.online-courses-fse-welcome-notice .description {
	margin: 0 0 12px;
	font-size: 14px;
	line-height: 1.6;
	color: #50575e;
}

.online-courses-fse-welcome-notice .description:first-of-type {
	margin-bottom: 20px;
	font-size: 15px;
}

.online-courses-fse-welcome-notice .description .dashicons {
	color: #00a32a;
	margin-right: 4px;
	vertical-align: middle;
}

.online-courses-fse-welcome-notice .description strong {
	color: #1e1e1e;
}

.online-courses-fse-welcome-notice .actions {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 24px;
}

.online-courses-fse-welcome-notice .button-hero {
	font-size: 14px;
	height: auto;
	padding: 12px 24px;
	line-height: 1.5;
}

.online-courses-fse-welcome-notice .button-primary {
	background: #2271b1;
	border-color: #2271b1;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.online-courses-fse-welcome-notice .button-primary:hover,
.online-courses-fse-welcome-notice .button-primary:focus {
	background: #135e96;
	border-color: #135e96;
}

.online-courses-fse-welcome-notice .button-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.online-courses-fse-welcome-notice .button-primary .dashicons {
	animation: rotation 1s infinite linear;
}

.online-courses-fse-welcome-notice .button-primary .dashicons.hidden {
	display: none;
}

.online-courses-fse-welcome-notice .button-secondary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

.online-courses-fse-welcome-notice .button-secondary .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.online-courses-fse-welcome-notice .masteriyo-preview {
	flex-shrink: 0;
	width: 350px;
	height: auto;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@keyframes rotation {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(359deg);
	}
}

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
	.online-courses-fse-welcome-notice .masteriyo-preview {
		width: 280px;
	}
}

@media screen and (max-width: 960px) {
	.online-courses-fse-welcome-notice .notice-content {
		flex-direction: column;
		gap: 30px;
	}

	.online-courses-fse-welcome-notice .masteriyo-preview {
		width: 100%;
		max-width: 500px;
	}

	.online-courses-fse-welcome-notice .actions {
		flex-direction: column;
		align-items: stretch;
	}

	.online-courses-fse-welcome-notice .button-hero {
		text-align: center;
		justify-content: center;
	}
}

@media screen and (max-width: 600px) {
	.online-courses-fse-welcome-notice .notice-content {
		padding: 20px;
	}

	.online-courses-fse-welcome-notice .notice-title {
		font-size: 20px;
	}

	.online-courses-fse-welcome-notice .button-hero {
		font-size: 13px;
		padding: 10px 20px;
	}
}
