/**
 * Welcome Notice Styles
 *
 * Styles for the User Registration and Membership welcome notice.
 *
 * @package MemberRead
 */

.member-read-welcome-notice {
	position: relative;
	border-left-color: #475bb2;
	padding: 0 !important;
	background: #fff;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.member-read-welcome-notice .notice-dismiss {
	top: 20px;
	right: 20px;
}

.member-read-welcome-notice .notice-content {
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 30px;
}

.member-read-welcome-notice .notice-copy {
	flex: 1;
	min-width: 0;
}

.member-read-welcome-notice .notice-subtitle {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 500;
	color: #475bb2;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.member-read-welcome-notice .notice-subtitle .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}

.member-read-welcome-notice .notice-subtitle .dashicons,
.member-read-welcome-notice .notice-subtitle-icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.member-read-welcome-notice .notice-title {
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	color: #1e1e1e;
}

.member-read-welcome-notice .notice-title span {
	color: #475bb2;
}

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

.member-read-welcome-notice .description:first-of-type {
	margin-bottom: 20px;
	font-size: 15px;
}

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

.member-read-welcome-notice .description strong {
	color: #1e1e1e;
}

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

.member-read-welcome-notice .button-hero {
	font-size: 14px;
	height: auto;
	padding: 12px 24px;
	line-height: 1.5;
	border-radius: 4px;
}

.member-read-welcome-notice .button-primary {
	background: #475bb2;
	border-color: #475bb2;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.member-read-welcome-notice .button-primary:hover,
.member-read-welcome-notice .button-primary:focus {
	background: #135e96;
	border-color: #135e96;
}

.member-read-welcome-notice .button-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.member-read-welcome-notice .button-primary .dashicons {
	animation: rotation 1s infinite linear;
}

.member-read-welcome-notice .button-primary .dashicons.hidden {
	display: none;
}

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

.member-read-welcome-notice .button-secondary .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
}

.member-read-welcome-notice .urm-preview {
	flex-shrink: 0;
	width: 500px;
	height: auto;
	border-radius: 8px;
}

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

/* Responsive adjustments */
@media screen and (max-width: 1200px) {
	.member-read-welcome-notice .urm-preview {
		width: 280px;
	}
}

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

	.member-read-welcome-notice .urm-preview {
		width: 100%;
		max-width: 500px;
	}

	.member-read-welcome-notice .actions {
		flex-direction: column;
		align-items: stretch;
	}

	.member-read-welcome-notice .button-hero {
		text-align: center;
		justify-content: center;
	}
}

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

	.member-read-welcome-notice .notice-title {
		font-size: 20px;
	}

	.member-read-welcome-notice .button-hero {
		font-size: 13px;
		padding: 10px 20px;
	}
}

.member-read-welcome-notice .member-read-icon {
	line-height: 1 !important;
}

.member-read-welcome-notice #member-read-install-urm .dashicons {
	line-height: 1;
}
