@use 'variables' as *;

.simplestats-header {
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 88px;
	padding: 0 32px 0 24px;
	position: relative;
}

.simplestats-header-logo {
	display: flex;
	align-items: center;

	img {
		display: block;
		height: 32px;
		width: auto;
	}
}

.simplestats-header-actions {
	display: flex;
	align-items: center;
}

.simplestats-header-notification-button {
	width: 44px;
	height: 44px;
	border-radius: 14px;
	border: 0;
	background-color: #F3F6FF;
	color: #364153;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	position: relative;
	transition: background-color 0.15s ease;

	&:hover {
		background-color: #E8ECF8;
	}

	&:focus-visible {
		outline: 2px solid #1A1A1C;
		outline-offset: 2px;
	}

	&.is-disabled {
		cursor: default;
		opacity: 0.7;

		&:hover,
		&:focus-visible {
			background-color: #F3F6FF;
		}
	}

	&.has-unread::after {
		content: '';
		position: absolute;
		top: -4px;
		right: 0;
		width: 12px;
		height: 12px;
		border-radius: 50%;
		background-image: linear-gradient(135deg, #FB2C36 0%, #F6339A 100%);
		border: 2px solid #fff;
	}
}

.simplestats-header-notification-icon {
	display: block;
}
