.pna-legenda-no-ar,.pna-proximo-header {
	font-weight: 700;
	text-transform: uppercase;
}
#install-banner,#mini-player {
	bottom: 0;
	left: 0;
	width: 100%;
	transform: translateY(100%);
	transition: transform 0.3s ease-in-out;
	box-sizing: border-box;
	position: fixed;
}
#install-banner.show,#mini-player.visible {
	transform: translateY(0);
}
#update-notification.show,.mini-player-volume-container.volume-slider-active.mini-player-volume-slider-wrapper,.mini-player-volume-container:hover .mini-player-volume-slider-wrapper {
	opacity: 1;
	visibility: visible;
}
#mini-player,#update-notification button {
	background-color: var(--cor-principal);
	padding: 8px 15px;
}
:root {
	--cor-principal: #0c46a0;
	--cor-auxiliar: #edb500;
	--cor-fundo: #ffffff;
	--cor-texto: #666666;
	--cor-fundo-site: #f0f2f5;
	--cor-vermelho-vivo: #d90429;
}
#player-no-ar-container {
	background: var(--cor-fundo);
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
	overflow: hidden;
}
.pna-atual-container {
	position: relative;
	background-color: var(--cor-principal);
	color: var(--cor-fundo);
	padding: 20px;
}
.pna-info-header {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 15px;
}
.pna-artwork {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}
.grade-item .info-grade,.pna-info {
	flex-grow: 1;
}
.pna-legenda-no-ar {
	display: inline-block;
	font-size: 0.8em;
	color: #fff;
	padding: 4px 10px;
	border-radius: 5px;
	margin-bottom: 5px;
	animation: 2s ease-in-out infinite pulse-red;
}
.pna-programa-nome {
	font-size: 1.3em;
	font-weight: 700;
}
.pna-locutor-nome {
	font-size: 0.95em;
	opacity: 0.8;
	margin-top: 3px;
}
.pna-controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: rgba(0, 0, 0, 0.2);
	padding: 10px 15px;
	border-radius: 8px;
	gap: 15px;
}
.install-banner-button,.pna-play-btn {
	border: none;
	transition: transform 0.2s;
	cursor: pointer;
}
.pna-play-btn {
	width: 50px;
	height: 50px;
	background-color: var(--cor-auxiliar);
	border-radius: 50%;
	color: var(--cor-principal);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 0;
}
.pna-play-btn:hover {
	transform: scale(1.1);
}
.pna-play-btn svg {
	width: 30px;
	height: 30px;
}
.pna-volume-container {
	display: flex;
	align-items: center;
	gap: 8px;
}
.pna-volume-container svg {
	width: 20px;
	height: 20px;
	opacity: 0.8;
}
.pna-volume-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100px;
	height: 5px;
	background: rgba(255, 255, 255, 0.4);
	border-radius: 5px;
	outline: 0;
	cursor: pointer;
}
.pna-volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 15px;
	height: 15px;
	background: var(--cor-auxiliar);
	border-radius: 50%;
}
.pna-volume-slider::-moz-range-thumb {
	width: 15px;
	height: 15px;
	background: var(--cor-auxiliar);
	border-radius: 50%;
}
.pna-proximo-container {
	padding: 15px 20px;
	background-color: #f7f9fc;
	border-top: 1px solid #e9ecef;
}
.pna-proximo-header {
	font-size: 0.8em;
	color: var(--cor-texto);
	margin-bottom: 12px;
}
.pna-proximo-lista {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.pna-proximo-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e9ecef;
}
.pna-proximo-lista .pna-proximo-item:last-child {
	border-bottom: none;
	padding-bottom: 0;
}
.pna-proximo-item .horario {
	font-size: 0.9em;
	font-weight: 600;
	background-color: #e9ecef;
	padding: 4px 8px;
	border-radius: 5px;
	color: var(--cor-principal);
}
.pna-proximo-item .programa {
	font-weight: 600;
	color: #333;
	font-size: 1em;
}
.grade-header h2,.grade-item .horario,.grade-item.ao-vivo .locutor-grade {
	color: var(--cor-principal);
}
#grade-completa-container {
	background-color: var(--cor-fundo);
	border-radius: 8px;
	padding: 20px;
}
.grade-header {
	text-align: center;
	padding-bottom: 15px;
	margin-bottom: 20px;
	border-bottom: 1px solid #eee;
}
.grade-header h2 {
	margin: 0;
	font-weight: 700;
	font-size: 28px;
}
.grade-header p {
	margin: 5px 0 0;
	font-size: 1.1em;
	color: var(--cor-texto);
}
.loading-message, .error-message {
	text-align: center;
	padding: 20px;
	font-size: 1.1em;
	color: #666;
}
.grade-item {
	display: flex;
	padding: 15px 10px;
	border-bottom: 1px solid #f0f0f0;
	gap: 15px;
}
.grade-item:last-child {
	border-bottom: none;
}
.grade-item .horario {
	font-weight: 700;
	width: 60px;
}
.grade-item .nome-programa-grade {
	font-weight: 600;
	color: #333;
}
.grade-item .locutor-grade {
	font-size: 0.9em;
	color: var(--cor-texto);
	margin-top: 2px;
}
.grade-item.ao-vivo {
	background-color: #f5f8ff;
}
.grade-item.ao-vivo .nome-programa-grade {
	font-weight: 700;
	color: var(--cor-principal);
	display: flex;
    align-items: center;
    justify-content: space-between;
}
.grade-item.ao-vivo .nome-programa-grade::after {
	content: "NO AR";
	background-color: var(--cor-vermelho-vivo);
	color: #fff;
	font-weight: 700;
	padding: 3px 8px;
	font-size: 0.75em;
	border-radius: 4px;
	margin-left: 10px;
	flex-shrink: 0;
}
@keyframes pulse-red {
	0%,100% {
	background-color: var(--cor-vermelho-vivo);
	box-shadow: 0 0 3px var(--cor-vermelho-vivo);
	}
	50% {
	background-color: #ff4d6d;
	box-shadow: 0 0 10px #ff4d6d;
	}
}

/* ==========================================================================
   COMPONENTES COMPARTILHADOS ENTRE MÓDULOS
   Qualquer coisa aqui é reaproveitada por 2+ módulos — se um dia só um
   módulo usar, ela deveria voltar pro <style> daquele módulo específico.
   ========================================================================== */

/* Cartão genérico (superfície branca com sombra) — base pra qualquer
   bloco de conteúdo dentro de um módulo */
.card-app {
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
	border: 1px solid #eee;
}

/* Botão primário do tema (usa a cor da rádio) — pra qualquer CTA que não
   seja de uma rede social específica (essas usam a cor da própria marca,
   de propósito, e não devem seguir esse padrão) */
.btn-primario-app {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	padding: 13px;
	border: none;
	border-radius: 8px;
	background: var(--cor-principal);
	color: #fff;
	font-weight: 700;
	font-size: 1em;
	cursor: pointer;
	text-decoration: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	box-sizing: border-box;
}
.btn-primario-app:hover {
	opacity: 0.92;
}
.btn-primario-app:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Lista de itens com miniatura (notícias, eventos, e qualquer módulo
   futuro que precise listar "cards" simples com foto + título + data) */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}
.news-item-link {
	text-decoration: none;
	color: inherit;
	display: block;
}
.news-item {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	overflow: hidden;
	display: flex;
	align-items: center;
	gap: 15px;
	padding: 10px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-item:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.news-image {
	width: 80px;
	height: 80px;
	object-fit: cover;
	border-radius: 8px;
	flex-shrink: 0;
}
.news-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
}
.news-title {
	font-size: 1em;
	font-weight: 600;
	color: #333;
	margin: 0 0 5px 0;
	line-height: 1.3;
}
.news-meta {
	font-size: 0.8em;
	color: #999;
}
.pna-listen-text {
	font-weight: 500;
	color: var(--cor-auxiliar);
	font-size: 0.9em;
	animation: 1.5s ease-in-out infinite pulse-text;
	transform-origin: center right;
}
@keyframes pulse-text {
	0%,100% {
	transform: scale(1);
	opacity: 1;
	}
	50% {
	transform: scale(1.05);
	opacity: 0.7;
	}
}
#install-banner {
	display: none;
	background-color: var(--cor-principal);
	color: #fff;
	padding: 12px 15px;
	box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
	z-index: 1000;
	align-items: center;
	gap: 15px;
}
#install-banner.show {
	display: flex;
}
.install-banner-icon {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	flex-shrink: 0;
}
.install-banner-text {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}
.install-banner-text strong {
	font-size: 1em;
	font-weight: 700;
}
.install-banner-text span {
	font-size: 0.9em;
	opacity: 0.9;
}
.install-banner-button {
	background-color: var(--cor-auxiliar);
	color: var(--cor-principal);
	border-radius: 6px;
	padding: 10px 18px;
	font-weight: 700;
	white-space: nowrap;
}
.install-banner-button:hover {
	transform: scale(1.05);
}
.install-banner-close {
	background: 0 0;
	border: none;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	cursor: pointer;
	padding: 0 10px;
	opacity: 0.7;
}
#introapp h1,#update-notification,.menu-button,.mini-player-play-btn {
	color: var(--cor-principal);
}
.install-banner-close:hover {
	opacity: 1;
}
#mini-player {
	color: #fff;
	z-index: 1001;
	display: flex;
	align-items: center;
	gap: 15px;
	box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}
.mini-player-artwork {
	width: 45px;
	height: 45px;
	border-radius: 6px;
	object-fit: cover;
	flex-shrink: 0;
}
.mini-player-info {
	flex-grow: 1;
	overflow: hidden;
	white-space: nowrap;
}
.mini-player-info span,.mini-player-info strong {
	display: block;
	text-overflow: ellipsis;
	overflow: hidden;
}
#update-notification span,.mini-player-info strong {
	font-weight: 700;
}
.mini-player-info span {
	font-size: 0.9em;
	opacity: 0.8;
}
.mini-player-play-btn {
	background-color: var(--cor-auxiliar);
	border: none;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.mini-player-play-btn svg {
	width: 24px;
	height: 24px;
}
.mini-player-volume-container {
	position: relative;
	display: flex;
	align-items: center;
	margin-right: 10px;
}
.mini-player-volume-icon {
	width: 24px;
	height: 24px;
	cursor: pointer;
	opacity: 0.8;
}
#update-notification,.mini-player-volume-slider-wrapper {
	left: 50%;
	transform: translateX(-50%);
	opacity: 0;
	visibility: hidden;
}
.mini-player-volume-slider-wrapper {
	position: absolute;
	bottom: 40px;
	width: 30px;
	height: 140px;
	padding: 10px 0;
	background-color: rgba(0, 0, 0, 0.7);
	border-radius: 8px;
	transition: visibility 0.2s, opacity 0.2s ease-in-out;
	display: flex;
	justify-content: center;
	align-items: center;
}
.mini-player-volume-slider {
	-webkit-appearance: none;
	appearance: none;
	width: 100px;
	height: 8px;
	background: #555;
	outline: 0;
	border-radius: 5px;
	cursor: pointer;
	transform: rotate(-90deg);
}
#mini-player .audio-spectrum span,#update-notification {
	background-color: var(--cor-auxiliar);
}
.mini-player-volume-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	background: var(--cor-auxiliar);
	border-radius: 50%;
}
.mini-player-volume-slider::-moz-range-thumb {
	width: 18px;
	height: 18px;
	background: var(--cor-auxiliar);
	border-radius: 50%;
	border: none;
}
#update-notification {
	display: none;
	position: fixed;
	top: 20px;
	padding: 15px 20px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	z-index: 2000;
	align-items: center;
	gap: 15px;
	transition: opacity 0.3s, visibility 0.3s;
}
#update-notification.show {
	display: flex;
}
#update-notification button {
	color: #fff;
	border: none;
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
}
#app-menu {
	padding: 10px 0;
	margin-top: 20px;
}
.app-menu-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
}
.menu-button {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-decoration: none;
	font-weight: 400;
	font-size: 0.8em;
	text-align: center;
}
.menu-button-icon {
	align-items: center;
	display: flex;
}
.menu-button-icon {
	width: 65px;
	height: 65px;
	margin-bottom: 8px;
	justify-content: center;
	border-radius: 16px;
	background: linear-gradient(145deg, color-mix(in srgb, var(--cor-auxiliar) 100%, white 35%), var(--cor-auxiliar));
	box-shadow:
		0 4px 12px color-mix(in srgb, var(--cor-auxiliar) 45%, transparent),
		inset 0 1px 0 color-mix(in srgb, white 30%, transparent);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid color-mix(in srgb, var(--cor-auxiliar) 80%, black 10%)
}
.menu-button:hover .menu-button-icon {
	transform: scale(1.06) translateY(-2px);
	box-shadow:
		0 8px 18px color-mix(in srgb, var(--cor-auxiliar) 55%, transparent),
		inset 0 1px 0 color-mix(in srgb, white 30%, transparent);
}
.menu-button-icon svg {
	display: block;
	width: 35px;
	height: 35px;
	fill: var(--cor-principal);
	filter: drop-shadow(0 1px 1px color-mix(in srgb, var(--cor-principal) 25%, transparent));
}
.menu-button-label {
	line-height: 1.2;
}
.menu-button.disabled {
	cursor:default;
	opacity: 0.6;
	pointer-events: none;
}
.menu-button.disabled .menu-button-label {
	color: #999;
}
#grade-do-dia {
	max-height: none !important;
	overflow: visible !important;
}
#page-content {
	background-color: #fff;
	border-radius: 15px;
	padding: 20px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: 1px solid #e9ecef;
	min-height: 200px;
}
#page-content:empty {
	display: none;
}
#introapp h1 {
	font-size: 20px;
	text-align: center;
}
body.install-banner-visible {
	padding-bottom: 80px;
}
.audio-spectrum {
	display: none;
	justify-content: space-between;
	align-items: flex-end;
	width: 28px;
	height: 20px;
	gap: 2px;
}
.audio-spectrum span {
	width: 4px;
	height: 100%;
	background-color: var(--cor-fundo);
	animation: 1.2s ease-in-out infinite alternate play-spectrum;
}
.audio-spectrum span:first-child {
	animation-delay: -1.2s;
}
.audio-spectrum span:nth-child(2) {
	animation-delay: -1s;
}
.audio-spectrum span:nth-child(3) {
	animation-delay: -0.8s;
}
.audio-spectrum span:nth-child(4) {
	animation-delay: -0.6s;
}
.playing .audio-spectrum {
	display: flex;
}
.pna-atual-container .audio-spectrum {
	position: absolute;
	top: 20px;
	right: 20px;
}
#mini-player .audio-spectrum {
	height: 18px;
	margin-right: 5px;
}
@keyframes play-spectrum {
	0%,100% {
	transform: scaleY(0.1);
	}
	25% {
	transform: scaleY(1);
	}
	50% {
	transform: scaleY(0.3);
	}
	75% {
	transform: scaleY(0.8);
	}
}
.pna-status-container {
	display: flex;
	align-items: center;
	gap: 10px;
	
}
.pna-status-indicator {
	display: flex;
	align-items: center;
	gap: 6px;
}
.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	animation: pulse-dot 2s infinite ease-in-out;
}
.status-text {
	font-size: 0.9em;
	font-weight: 600;
	opacity: 0.9;
}

.status-dot.status-green {
	background-color: #4caf50;
}
.status-dot.status-yellow {
	background-color: #ffc107;
}
.status-dot.status-red {
	background-color: #f44336;
}
.status-dot.status-grey {
	background-color: #bdbdbd;
	animation: none;
	opacity: 0.7;
}


@keyframes pulse-dot {
	0% {
	opacity: 1;
	}
	50% {
	opacity: 0.5;
	}
	100% {
	opacity: 1;
	}
}

#datetime-container {
	text-align: center;
	margin-top: -10px;
	margin-bottom: 25px;
	padding: 10px;
	background-color: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	border: 1px solid #e9ecef;
}
#current-time {
	
	display: flex;
	justify-content: center;
	align-items: center;
	
	height: 45px;
	font-family: 'Chakra Petch', sans-serif;
	font-weight: 700;
	
	font-size: 1.4em;
	color: var(--cor-principal);
}

.main-time {
	position: relative;
	
	display: inline-block;
	
	font-size: 2.2em;
	font-weight: 700;
	color: var(--cor-principal);
}
.separator-yellow {
	color: #ffc107;
}
.seconds {
	
	position: absolute;
	
	left: 100%;
	
	bottom: 5px;
	
	
	font-size: 0.5em;
	
	font-weight: 400;
	color: #ffc107;
	margin-left: 4px;
	
}
#current-date {
	margin-top: 10px;
	display: block;
	font-size: 1em;
	color: var(--cor-texto);
	font-weight: 600;
}


.app-footer {
	padding: 5px 5px;
	text-align: center;
	position: relative;
	background-color: #0c46a0;
	border-radius: 15px;
	display: block;
	margin: 0 auto;
	width: fit-content;
	margin-bottom: 100px;
}
#open-about-modal {
    color: var(--cor-auxiliar);
    font-size: 0.9em;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.2s, color 0.2s;
    
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
#open-about-modal:hover {
	opacity: 1;	
}

#open-about-modal::before {
	content: '';
	display: inline-block;
	width: 16px;	
	height: 16x;
  -webkit-mask-image: url(/img/interface/mate.svg);
  mask-image: url(/img/interface/mate.svg);  
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

#about-modal-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 9998;
	display: flex;
	align-items: center;
	justify-content: center;
	
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s, visibility 0.3s;
}

#about-modal-overlay.active {
	opacity: 1;
	visibility: visible;
}

#about-modal-content {
	background-color: #fff;
	padding: 25px;
	border-radius: 12px;
	width: 90%;
	max-width: 500px;
	box-shadow: 0 5px 20px rgba(0,0,0,0.2);
	position: relative;
	transform: scale(0.95);
	transition: transform 0.3s;
	max-height: 80vh;
	
	overflow-y: auto;
	
}
#about-modal-overlay.active #about-modal-content {
	transform: scale(1);
}

#about-modal-content h2 {
	margin-top: 0;
	color: var(--cor-principal);
	text-align: center;
	
}
#about-modal-content h3 {
	color: #333;
	margin-top: 20px;
	margin-bottom: 5px;
}
#about-modal-content p {
	color: #666;
	line-height: 1.6;
	margin-top: 0;
	font-size: 0.95em;
}
#about-modal-content hr {
	border: none;
	border-top: 1px solid #eee;
	margin: 20px 0;
}
.app-info-grid {
	display: grid;
	grid-template-columns: 1fr;
	
	gap: 8px;
	
	background-color: #f7f7f7;
	padding: 12px;
	
	border-radius: 8px;
	font-size: 0.9em;
	margin-bottom: 15px;
	
}
.app-info-grid strong {
	color: #444;
}
.app-info-grid span {
	color: #555;
}

#close-about-modal {
	position: absolute;
	top: 10px;
	right: 10px;
	background: none;
	border: none;
	font-size: 28px;
	font-weight: 300;
	color: #aaa;
	cursor: pointer;
	line-height: 1;
	padding: 0 5px;
	z-index: 1;
	
}
#close-about-modal:hover {
	color: #333;
}


#theme-toggle-container {
	position: absolute;
	top: 15px;
	right: 15px;
	z-index: 1050;
}
#theme-toggle-btn {
	width: 40px;
	height: 40px;
	background-color: rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	transition: background-color 0.2s;
}
#theme-toggle-btn:hover {
	background-color: rgba(0, 0, 0, 0.2);
}
#theme-toggle-btn svg {
	width: 24px;
	height: 24px;
	fill: #fff;
}

body.dark-mode {
	background-color: #062453;
	
}

body.dark-mode .menu-button-label {
	color: #ffffff;
}

body.dark-mode #datetime-container {
	background-color: #0d3a8a;
	
	border: 1px solid #1a5ac4;
}
body.dark-mode #current-time {
	color: #ffffff;
	
}
body.dark-mode #current-date {
	color: #a9c1ec;
	
}

body.dark-mode #player-no-ar-container {
	background: transparent;
	box-shadow: none;
}
body.dark-mode .pna-atual-container {
	background-color: #0d3a8a;
	
}
body.dark-mode .pna-programa-nome,body.dark-mode .pna-legenda-no-ar {
	color: #ffffff;
}
body.dark-mode .pna-locutor-nome {
	color: #a9c1ec;
}

body.dark-mode #page-content {
	background-color: #0d3a8a;
	border-color: #1a5ac4;
	color: #a9c1ec;
}
body.dark-mode #page-content h2,body.dark-mode #page-content h3 {
	color: #ffffff;
}


body.dark-mode #current-time,body.dark-mode .main-time {
	color: #ffffff;
	
}

body.dark-mode .grade-header p {
	color: var(--cor-auxiliar);
	
}


body.dark-mode .news-item,
body.dark-mode .card-app {
	background-color: #0d3a8a;
	border: 1px solid #1a5ac4;
}

body.dark-mode .news-title {
	color: #ffffff;
}
body.dark-mode .news-meta {
	color: #a9c1ec;
}

/* CTAs: no escuro, azul-sobre-azul-escuro não tem contraste — troca pra
   cor auxiliar (dourada) com texto escuro */
body.dark-mode .btn-primario-app {
	background: var(--cor-auxiliar);
	color: #111;
}

body.dark-mode .grade-item {
	background-color: transparent;
	
	border-bottom-color: rgba(26, 90, 196, 0.5);
	
}
body.dark-mode .grade-item .horario {
	color: var(--cor-auxiliar);
	
}
body.dark-mode .grade-item .nome-programa-grade {
	color: #ffffff;
	
}
body.dark-mode .grade-item .locutor-grade {
	color: #a9c1ec;
	
}

body.dark-mode .grade-item.ao-vivo {
	background-color: #ffc1072b;
	
}
body.dark-mode .grade-item.ao-vivo .nome-programa-grade,body.dark-mode .grade-item.ao-vivo .locutor-grade {
	color: #ffffff;
	
}



body.dark-mode .grade-header {
	border-bottom-color: #1a5ac4;
}

body.dark-mode .loading-message,body.dark-mode #camera-location {
	color: #a9c1ec;
}


body.dark-mode #grade-completa-container {
	background-color: transparent;
	
}


body.dark-mode .program-info {
	background-color: rgba(6, 36, 83, 0.7);
}

body.dark-mode .program-display-text strong {
	color: #ffffff;
}

body.dark-mode .interaction-form input,
body.dark-mode .interaction-form textarea {
	background-color: #062453;
	border: 1px solid #1a5ac4;
	color: #ffffff;
}

body.dark-mode .interaction-form input::placeholder,
body.dark-mode .interaction-form textarea::placeholder {
	color: #a9c1ec;
	opacity: 0.6;
}



body.dark-mode #ai-summary-container {
	background-color: rgba(13, 58, 138, 0.7);
	border-left-color: var(--cor-auxiliar);
	
}

body.dark-mode #ai-summary-container h3,body.dark-mode #ai-summary-container p {
	color: #ffffff;
}

body.dark-mode .weather-card {
	background-color: #0d3a8a;
	border-color: #1a5ac4;
}

body.dark-mode .weather-card .city-name,body.dark-mode .weather-card .temperature,body.dark-mode .weather-card .details-list span,body.dark-mode .weather-card .forecast-day .temp {
	color: #ffffff;
}
body.dark-mode .weather-card .weather-description,body.dark-mode .weather-card .details-list li,body.dark-mode .weather-card .forecast-day .day {
	color: #a9c1ec;
}


body.dark-mode .whatsapp-section p {
	color: #a9c1ec;
}


#theme-toggle-btn img {
	width: 24px;
	height: 24px;
}


#player-no-ar-container {
	border: 1px solid #1a5ac4;
}


body.dark-mode #ai-summary-container {
	border: 1px solid #1a5ac4;
	border-left: 5px solid var(--cor-auxiliar);
	
}

body.dark-mode #theme-toggle-btn {
	background-color: #062453;
	
	border-color: #1a5ac4;
	
}
body.dark-mode #theme-toggle-btn:hover {
	background-color: #0d3a8a;
	
}

body.dark-mode .module-footer {
    color: #a9c1ec;
}

body.dark-mode .whatsapp-section {
    background-color: #0d3a8a;
    border: 1px solid #1a5ac4;
    color: #a9c1ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}
