:root {
	--nt-header-green: #07852f;
	--nt-header-deep-green: #056d28;
	--nt-header-yellow: #ffd522;
}

.nt-header-tools,
.nt-header-tools * {
	box-sizing: border-box;
}

.nt-header-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	width: 100%;
	font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

.nt-header-search {
	position: relative;
	flex: 1 1 330px;
	max-width: 390px;
	min-width: 210px;
}

.nt-header-search__form {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.nt-header-search__input {
	width: 100%;
	height: 42px;
	margin: 0 !important;
	padding: 0 46px 0 15px !important;
	border: 1px solid rgba(10, 62, 29, .18) !important;
	border-radius: 9px !important;
	outline: 0;
	background: rgba(255, 255, 255, .98) !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	color: #17211b !important;
	font: 600 14px/1 "Source Sans 3", sans-serif !important;
	transition: box-shadow .18s ease, border-color .18s ease;
}

.nt-header-search__input::placeholder {
	color: #68756d;
	opacity: 1;
}

.nt-header-search__input:focus {
	border-color: rgba(7, 133, 47, .55) !important;
	box-shadow: 0 0 0 3px rgba(7, 133, 47, .12), 0 4px 14px rgba(0, 0, 0, .08);
}

.nt-header-search__submit {
	position: absolute;
	top: 50%;
	right: 5px;
	width: 36px;
	height: 34px;
	padding: 0 !important;
	transform: translateY(-50%);
	border: 0 !important;
	border-radius: 7px !important;
	background: transparent !important;
	color: var(--nt-header-green) !important;
	display: grid;
	place-items: center;
	cursor: pointer;
}

.nt-header-search__submit:hover {
	background: rgba(7, 133, 47, .08) !important;
}

.nt-header-search__submit svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.nt-header-search__suggestions {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 999999;
	padding: 7px;
	border: 1px solid #e3e8e5;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(11, 38, 20, .18);
}

.nt-header-search__suggestion,
.nt-header-search__empty {
	display: block;
	padding: 10px 11px;
	border-radius: 8px;
	text-decoration: none !important;
}

.nt-header-search__suggestion:hover {
	background: #f2f8f4;
}

.nt-header-search__suggestion strong {
	display: block;
	color: #17211b !important;
	font-family: "Titillium Web", sans-serif !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
}

.nt-header-search__suggestion span,
.nt-header-search__empty {
	margin-top: 3px;
	color: #6c7971 !important;
	font-size: 12px;
	line-height: 1.2;
}

.nt-header-notifications {
	position: relative;
	flex: 0 0 auto;
}

.nt-header-notifications__button {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0 !important;
	border: 1px solid rgba(255, 255, 255, .2) !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, .09) !important;
	color: #fff !important;
	cursor: pointer;
	transition: background .18s ease, transform .18s ease;
}

.nt-header-notifications__button:hover,
.nt-header-notifications__button[aria-expanded="true"] {
	background: rgba(255, 255, 255, .18) !important;
	transform: translateY(-1px);
}

.nt-header-notifications__button svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.9;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.nt-header-notifications__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border: 2px solid var(--nt-header-green);
	border-radius: 999px;
	background: var(--nt-header-yellow);
	color: #19301f !important;
	font-size: 10px;
	font-weight: 800;
	line-height: 14px;
	text-align: center;
}

.nt-header-notifications__panel {
	position: fixed;
	z-index: 9999999;
	width: min(380px, calc(100vw - 24px));
	max-height: min(520px, calc(100vh - 90px));
	overflow: auto;
	padding: 0;
	border: 1px solid #e2e8e4;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 20px 54px rgba(6, 31, 15, .24);
	color: #17211b;
}

.nt-header-notifications__panel-head {
	position: sticky;
	top: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #edf0ee;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(8px);
}

.nt-header-notifications__panel-head strong {
	color: #132018 !important;
	font-family: "Titillium Web", sans-serif !important;
	font-size: 18px;
	font-weight: 700;
}

.nt-header-notifications__panel-head span {
	color: #768178 !important;
	font-size: 12px;
}

.nt-header-notifications__list {
	padding: 6px;
}

.nt-header-notifications__item {
	display: grid;
	grid-template-columns: 8px minmax(0, 1fr);
	gap: 10px;
	padding: 11px 10px;
	border-radius: 10px;
	text-decoration: none !important;
}

.nt-header-notifications__item:hover {
	background: #f3f8f4;
}

.nt-header-notifications__dot {
	width: 7px;
	height: 7px;
	margin-top: 7px;
	border-radius: 50%;
	background: #c9d1cc;
}

.nt-header-notifications__item.is-new .nt-header-notifications__dot {
	background: var(--nt-header-green);
	box-shadow: 0 0 0 4px rgba(7, 133, 47, .10);
}

.nt-header-notifications__item-title {
	display: block;
	color: #17211b !important;
	font-family: "Titillium Web", sans-serif !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.22;
}

.nt-header-notifications__item-meta {
	display: flex;
	gap: 7px;
	margin-top: 4px;
	color: #6d7971 !important;
	font-size: 12px;
}

.nt-header-notifications__item-label {
	color: var(--nt-header-green) !important;
	font-weight: 700;
}

.nt-header-notifications__all {
	display: block;
	padding: 12px 16px 14px;
	border-top: 1px solid #edf0ee;
	color: var(--nt-header-green) !important;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}

.nt-header-notifications__empty {
	padding: 18px 12px;
	text-align: center;
}

/* Quando o componente for usado numa área branca em vez do topo verde. */
.nt-header-tools--light .nt-header-notifications__button,
.nt-header-notifications.nt-header-tools--light .nt-header-notifications__button {
	border-color: #dbe4de !important;
	background: #fff !important;
	color: var(--nt-header-green) !important;
}

@media (max-width: 768px) {
	.nt-header-tools {
		gap: 7px;
	}

	.nt-header-search {
		min-width: 0;
		max-width: none;
	}

	.nt-header-search__input {
		height: 40px;
		font-size: 13px !important;
	}

	.nt-header-notifications__button {
		width: 40px;
		height: 40px;
	}
}
