/*
 * Ajustes isolados de header/faixa para evitar alteracoes no main.css.
 * Legado/anterior em css/main.css:
 * - #header .btnAzCl { margin-top: 6px !important; }
 */

:root {
	--ea-header-height: 70px;
}

/* O header possui z-index inline 1000; o dropdown precisa ficar acima da faixa. */
#header {
	z-index: 10000 !important;
}

/* FOOTER: corrigir logo espichado e alinhar CTAs com padrao do header. */
footer #logoFooter {
	height: auto !important;
	max-width: 100%;
	object-fit: contain;
}

footer .btnAzCl {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px;
	min-height: 40px;
	padding: 10px 18px !important;
	border-radius: 8px !important;
	line-height: 1.1 !important;
}

footer .btnAzCl span {
	display: inline-flex;
	align-items: center;
}

footer .btnAzCl svg {
	flex-shrink: 0;
}

footer .btnAzCl span svg {
	margin-bottom: 0 !important;
}

footer .btLogin {
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

footer .btLogin a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	line-height: 1.1;
	text-decoration: none;
}

footer .btLogin a img {
	display: block;
	flex-shrink: 0;
}

/* DESKTOP */
@media (min-width: 1025px) {
	#header .btnAzCl {
		margin-top: -5px !important;
	}

	#header .btnAzCl,
	#header .btnAzCl-black-november {
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 6px;
		min-height: 40px;
		padding: 10px 18px !important;
		border-radius: 8px !important;
		line-height: 1.1 !important;
		box-shadow: 0 4px 15px rgba(12, 255, 251, 0.2);
	}
}

/* Redundancia em CSS para manter a faixa visivel mesmo sem JS de fallback. */
.ea-aniversario-banner {
	display: block;
	position: fixed;
	top: var(--ea-header-height, 70px);
	left: 0;
	right: 0;
	z-index: 9997;
	width: 100%;
	padding: 9px 16px;
	background: #1976D2;
	color: #ffffff;
	font-size: 18px;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ea-aniversario-banner-spacer {
	display: block;
	height: 36px;
}

.ea-aniversario-banner strong {
	font-weight: 700;
}

.ea-aniversario-banner:hover,
.ea-aniversario-banner:focus {
	text-decoration: none;
	color: #ffffff;
	background: #1f7fdd;
}

.ea-aniversario-banner__mobile {
	display: none;
}

@media (max-width: 767px) {
	.ea-aniversario-banner {
		padding: 8px 10px;
		font-size: 15px;
		white-space: normal;
		line-height: 1.25;
	}

	.ea-aniversario-banner-spacer {
		height: 34px;
	}

	.ea-aniversario-banner__desktop {
		display: none;
	}

	.ea-aniversario-banner__mobile {
		display: inline;
	}
}
