.myload-notifications-page .entry-header,
.myload-notifications-page .entry-title,
.myload-notifications-page .page-title,
.myload-notifications-page aside,
.myload-notifications-page .sidebar,
.myload-notifications-page #secondary {
	display: none !important;
}

.myload-notifications-page .myload-content,
.myload-notifications-page .myload-post,
.myload-notifications-page .entry-content {
	width: min(100% - 32px, 1140px);
	max-width: 1140px;
	margin-right: auto;
	margin-left: auto;
	padding-top: 18px;
}

.myload-notifications-header-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 120px;
	height: 35px;
	padding: 0 9px;
	border: 1px solid #e7e7e7;
	border-radius: 5px;
	background: #ffffff;
	color: #111111;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.myload-notifications-header-link > span:not(.myload-notifications-header-badge),
.myload-notifications-mobile-link > span:not(.myload-notifications-header-badge) {
	min-width: 0;
	white-space: nowrap;
}

.myload-notifications-header-link.has-unread,
.myload-notifications-mobile-link.has-unread {
	border-color: #ff100d;
	background: #ff100d;
	color: #ffffff;
	animation: myload-notification-shake 4s ease-in-out 1s infinite;
}

.myload-notifications-header-link.has-unread:hover,
.myload-notifications-mobile-link.has-unread:hover {
	background: #d90000;
	color: #ffffff;
}

@keyframes myload-notification-shake {
	0%, 12%, 100% {
		transform: translateX(0);
	}
	3% {
		transform: translateX(-2px);
	}
	6% {
		transform: translateX(2px);
	}
	9% {
		transform: translateX(-1px);
	}
}

.myload-notifications-header-link:hover {
	border-color: #ff100d;
	color: #ff100d;
	transform: translateY(-1px);
}

.myload-notifications-bi {
	display: block;
	width: 16px;
	height: 16px;
	min-width: 16px;
	flex: 0 0 16px;
}

.myload-notifications-header-badge,
.myload-account-menu-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	margin-left: 5px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ff100d;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

.myload-notifications-mobile-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.myload-notifications-mobile-link .myload-notifications-header-badge {
	min-width: 17px;
	height: 17px;
	font-size: 10px;
}

.myload-notifications,
.myload-notifications-login {
	--notif-bg: #ffffff;
	--notif-panel: #ffffff;
	--notif-soft: #f1f3f5;
	--notif-line: #dee2e6;
	--notif-text: #212529;
	--notif-muted: #6c757d;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--notif-text);
}

:root[data-theme="dark"] .myload-notifications,
:root[data-theme="dark"] .myload-notifications-login {
	--notif-bg: #111111;
	--notif-panel: #171717;
	--notif-soft: #202020;
	--notif-line: #353535;
	--notif-text: #f7f7f7;
	--notif-muted: #b8b8b8;
}

.myload-notifications__heading {
	padding: 22px 0 14px;
	border-top: 2px solid var(--notif-line);
	border-bottom: 1px solid var(--notif-line);
}

.myload-notifications__heading h1 {
	margin: 0;
	color: var(--notif-text);
	font-size: 32px;
	font-weight: 500;
	line-height: 1.15;
}

.myload-notifications__heading p {
	margin: 5px 0 0;
	color: var(--notif-muted);
	font-size: 15px;
}

.myload-notifications__list {
	display: grid;
	gap: 10px;
	padding: 18px 0;
}

.myload-notification-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--notif-line);
	border-radius: 8px;
	background: var(--notif-panel);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.myload-notification-card.is-unread {
	border-left: 4px solid #ff100d;
}

.myload-notification-card.is-read {
	border-left: 4px solid #5f6368;
	background: var(--notif-soft);
	box-shadow: none;
}

.myload-notification-card.is-read h2,
.myload-notification-card.is-read p,
.myload-notification-card.is-read span {
	color: var(--notif-muted);
}

.myload-notification-card span {
	display: block;
	margin-bottom: 4px;
	color: var(--notif-muted);
	font-size: 12px;
}

.myload-notification-card h2 {
	margin: 0;
	color: var(--notif-text);
	font-size: 18px;
	font-weight: 600;
}

.myload-notification-card p {
	margin: 6px 0 0;
	color: var(--notif-muted);
	font-size: 14px;
	line-height: 1.45;
}

.myload-notification-card button,
.myload-notifications-account-card > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 0 14px;
	border: 0;
	border-radius: 6px;
	background: #ff100d;
	color: #ffffff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.myload-notification-card strong {
	color: #6c757d;
	font-size: 13px;
}

.myload-notification-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(33, 37, 41, 0.42);
}

.myload-notification-popup__dialog {
	position: relative;
	width: min(100%, 460px);
	padding: 22px;
	border: 1px solid var(--notif-line, #dee2e6);
	border-radius: 10px;
	background: var(--notif-panel, #ffffff);
	color: var(--notif-text, #212529);
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.myload-notification-popup__dialog > span {
	display: block;
	margin-bottom: 6px;
	color: #ff100d;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.myload-notification-popup__dialog h2 {
	margin: 0;
	color: var(--notif-text, #212529);
	font-size: 22px;
	font-weight: 600;
	line-height: 1.25;
}

.myload-notification-popup__dialog p {
	margin: 10px 0 0;
	color: var(--notif-muted, #6c757d);
	font-size: 14px;
	line-height: 1.5;
}

.myload-notification-popup__dialog a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	margin-top: 16px;
	padding: 0 16px;
	border-radius: 6px;
	background: #ff100d;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.myload-notification-popup__close {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 30px;
	height: 30px;
	border: 0;
	border-radius: 999px;
	background: var(--notif-soft, #f8f9fa);
	color: var(--notif-text, #212529);
	cursor: pointer;
	font-size: 15px;
	line-height: 1;
}

.myload-notifications__empty,
.myload-notifications-login {
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--notif-line);
	border-radius: 8px;
	background: var(--notif-soft);
	text-align: center;
}

.myload-notifications-account-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(180px, .8fr) auto;
	gap: 16px;
	align-items: center;
	margin: 18px 0;
	padding: 18px;
	border: 1px solid var(--notif-line, #dee2e6);
	border-radius: 8px;
	background: var(--notif-panel, #ffffff);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.myload-notifications-account-card span {
	display: block;
	margin-bottom: 4px;
	color: #ff100d;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.myload-notifications-account-card h2 {
	margin: 0;
	color: var(--notif-text, #212529);
	font-size: 20px;
	font-weight: 600;
}

.myload-notifications-account-card p {
	margin: 5px 0 0;
	color: var(--notif-muted, #6c757d);
	font-size: 14px;
}

.myload-notifications-account-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--notif-muted, #6c757d);
	font-size: 13px;
}

:root[data-theme="dark"] .myload-notifications-header-link,
:root[data-theme="dark"] .myload-notifications-account-card {
	border-color: #353535;
	background: #171717;
	color: #f7f7f7;
}

:root[data-theme="dark"] .myload-notification-popup {
	background: rgba(0, 0, 0, 0.62);
}

:root[data-theme="dark"] .myload-notification-card.is-read {
	background: #202020;
}

:root[data-theme="dark"] .myload-notifications-account-card h2 {
	color: #f7f7f7;
}

:root[data-theme="dark"] .myload-notifications-account-card p,
:root[data-theme="dark"] .myload-notifications-account-card ul {
	color: #b8b8b8;
}

.myload-notifications-account-card li + li {
	margin-top: 5px;
}

@media (max-width: 782px) {
	.myload-notification-card,
	.myload-notifications-account-card {
		grid-template-columns: 1fr;
		align-items: stretch;
	}
}
