/*
 * The review notice shown on every admin screen, and the star links it
 * shares with the plugin screens' footer and sidebar (admin.css only loads
 * on the plugin's own screens, so the stars live here too).
 */

.aiou-stars {
	display: inline-flex;
	flex-direction: row-reverse;
	gap: 1px;
	vertical-align: middle;
}

.aiou-stars a {
	color: #f5a623;
	line-height: 1;
	text-decoration: none;
}

.aiou-stars a:focus {
	border-radius: 2px;
	box-shadow: 0 0 0 2px #2271b1;
	outline: none;
}

.aiou-stars .dashicons {
	color: #f5a623;
	font-size: 20px;
	height: 20px;
	transition: color .1s, transform .1s;
	width: 20px;
}

/* All five are filled until a star is hovered: then only that one and the
   ones before it (printed after it, laid out before it). */
.aiou-stars:hover a .dashicons {
	color: #c3c4c7;
}

.aiou-stars a:hover .dashicons,
.aiou-stars a:hover ~ a .dashicons,
.aiou-stars a:focus .dashicons,
.aiou-stars a:focus ~ a .dashicons {
	color: #f5a623;
}

.aiou-stars a:hover .dashicons {
	transform: scale(1.15);
}

.aiou-stars--small .dashicons {
	font-size: 15px;
	height: 15px;
	width: 15px;
}

/* Notice */
.notice.aiou-promo-notice {
	align-items: flex-start;
	border-left-color: #0bb37a;
	display: flex;
	gap: 14px;
	padding: 14px 16px;
}

.aiou-promo-notice__logo {
	background: #e6f8f1;
	border-radius: 8px;
	flex: 0 0 auto;
	height: 40px;
	padding: 8px;
	box-sizing: border-box;
	width: 40px;
}

.aiou-promo-notice__logo svg {
	display: block;
	height: 24px;
	width: 24px;
}

.aiou-promo-notice__logo path {
	fill: #079060;
}

.aiou-promo-notice__text {
	flex: 1;
	min-width: 0;
}

.aiou-promo-notice p {
	margin: 0 0 8px;
	padding: 0;
}

.aiou-promo-notice__title {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 8px;
}

.aiou-promo-notice__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin-bottom: 0 !important;
}

.aiou-promo-notice__actions .button .dashicons {
	font-size: 16px;
	height: 16px;
	line-height: 1;
	margin: 0 2px 0 -2px;
	vertical-align: -3px;
	width: 16px;
}

.aiou-promo-notice__dismiss {
	color: #646970;
	font-size: 13px;
}

/* Footer on the plugin's screens */
.aiou-footer-thanks .aiou-stars {
	margin: 0 2px;
	vertical-align: -2px;
}

@media (max-width: 600px) {
	.notice.aiou-promo-notice {
		flex-direction: column;
	}
}
