/* Visual WhatsApp do Comercial GPMX: lojas sem pedidos (pedidos_ativo = 0) e a entrada em whats.begin.gpmx.app */
:root {
	--fundo: #f0f2f5;
	--linha: #e9edef;
	--linha-forte: #d1d7db;
	--tinta: #111b21;
	--tinta-2: #3b4a54;
	--suave: #667781;
	--primaria: #00a884;
	--primaria-escura: #008069;
	--marca-1: #00a884;
	--marca-2: #008069;
	--azul: #00a884;
	--verde: #00a884;
	--whats: #25d366;
	--whats-escuro: #008069;
	--bolha-saida: #d9fdd3;
	--chat-fundo: #efeae2;
}
body { font-family: "Segoe UI", "Helvetica Neue", Helvetica, "Lucida Grande", Arial, Ubuntu, Cantarell, "Fira Sans", sans-serif; }

/* barra verde do topo, como no WhatsApp */
.app-header { background: #008069; border-bottom: 0; color: #fff; }
.brand-mark { background: #fff; color: #00a884; box-shadow: none; border-radius: 50%; font-size: 22px; }
.brand-sub, .relogio small { color: rgba(255, 255, 255, .78); }
.relogio strong { color: #fff; }
.user-btn .bi-chevron-down { color: rgba(255, 255, 255, .85) !important; }
.avatar-sm { background: #dfe5e7; color: #54656f; }
.status-pill { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .22); color: #fff; }
.status-pill .rotulo { color: rgba(255, 255, 255, .8); }
.status-pill.ok { background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); color: #fff; }
.status-pill.ok .rotulo { color: rgba(255, 255, 255, .85); }
.status-pill.alerta { background: #fff; border-color: #fff; color: #b91c1c; }

/* menu */
.navegacao { background: #fff; border-bottom: 1px solid var(--linha); }
.nav-item.ativo { background: #00a884; box-shadow: none; }
.nav-item:hover { background: #f0f2f5; }

/* botões e campos */
.btn-primary {
	--bs-btn-bg: #00a884; --bs-btn-border-color: #00a884;
	--bs-btn-hover-bg: #008069; --bs-btn-hover-border-color: #008069;
	--bs-btn-active-bg: #017561; --bs-btn-active-border-color: #017561;
	--bs-btn-disabled-bg: #00a884; --bs-btn-disabled-border-color: #00a884;
	border-radius: 24px; font-weight: 600;
}
.btn-light { border-radius: 24px; }
.form-control:focus, .form-select:focus { border-color: #00a884; box-shadow: 0 0 0 .2rem rgba(0, 168, 132, .18); }
.form-check-input:checked { background-color: #00a884; border-color: #00a884; }
.dropdown-item.active, .dropdown-item:active { background-color: #00a884; }

/* conversas */
.painel-chat { border-right-color: var(--linha); }
.chat-topo h2 { font-weight: 700; }
.conv-item.ativa { background: #f0f2f5; }
.conv-hora.nova { color: #00a884; }
.nao-lidas, .badge-aba { background: #25d366; }
.chat-cabecalho { background: #f0f2f5; }
.chat-mensagens {
	background-color: #efeae2;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23d6cfc4' stroke-width='1.2' opacity='.55'%3E%3Ccircle cx='14' cy='14' r='5'/%3E%3Cpath d='M52 10l6 6m0-6l-6 6'/%3E%3Crect x='30' y='44' width='10' height='8' rx='2'/%3E%3Cpath d='M64 52c3-4 8-4 10 0'/%3E%3Cpath d='M10 60l5 8 5-8z'/%3E%3C/g%3E%3C/svg%3E");
	background-size: 80px 80px;
}
.bolha { border-radius: 7.5px; font-size: 14.2px; }
.bolha .autor.equipe { color: #008069; }
.btn-enviar { background: #00a884; }
.aba.ativa { color: #008069; border-bottom-color: #00a884; }

/* agendador de stories */
.ag-num { background: #00a884; }
.ag-ind-icone.azul, .ag-ind-icone.verde { background: #e7fce3; color: #008069; }
.ag-btn-novo { border-radius: 24px; }
.ag-segmento .btn-check:checked + label, .ag-publicos .btn-check:checked + label { border-color: #00a884; background: #e7fce3; color: #008069; box-shadow: 0 0 0 1px #00a884; }
.ag-segmento .btn-check:checked + label i, .ag-publicos .btn-check:checked + label i { color: #00a884; }
.ag-dias-lista .btn-check:checked + label { background: #00a884; border-color: #00a884; }
.ag-add { border-color: #a7e3d3; background: #f3fbf8; color: #0b5e4a; }
.ag-add:hover { background: #e7fce3; border-color: #00a884; }
.ag-add > i { color: #00a884; }
.ag-item.ativo { border-color: #00a884; box-shadow: 0 0 0 3px rgba(0, 168, 132, .12); }
.ag-tag-azul { background: #e7fce3; color: #008069; }
.ag-pilha.soltando { background: #e7fce3; outline-color: #00a884; }
.ag-celular { background: #111b21; }
.ag-perfil-foto { box-shadow: 0 0 0 2px #25d366; }
.ag-vazio > i { color: #00a884; }
.ag-cor.ativa { box-shadow: 0 0 0 2px #00a884; }

/* entrada */
.entrada-marca { background: radial-gradient(900px 600px at -10% -20%, rgba(37, 211, 102, .35), transparent 60%), radial-gradient(900px 600px at 110% 120%, rgba(0, 168, 132, .45), transparent 60%), #0b141a; }
.entrada-logo .brand-mark, .entrada-topo-mobile .brand-mark { background: #25d366; color: #fff; }
.btn-entrar { background: #00a884; border-color: #00a884; border-radius: 24px; }
.btn-entrar:hover { background: #008069; border-color: #008069; }
.cartao-entrada .form-control:focus { border-color: #00a884; box-shadow: 0 0 0 3px rgba(0, 168, 132, .18); }

@media (max-width: 991.98px) {
	/* celular: a situação do WhatsApp fica logo abaixo do nome, como o "online" de um contato */
	.app-header { flex-wrap: nowrap; position: relative; }
	.brand-text { padding-bottom: 17px; }
	.header-status:not(:empty) { position: absolute; left: 62px; top: calc(50% + 1px); width: auto; order: 0; }
	.header-status .status-pill { background: transparent; border: 0; padding: 0; gap: 5px; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
	.header-status .status-pill i { display: none; }
	.header-status .status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #d1d7db; }
	.header-status .status-pill.ok::before { background: #25d366; }
	.header-status .status-pill.alerta { color: #ffd8d8; }
	.header-status .status-pill.alerta::before { background: #ff6b6b; }
	.header-status .status-pill .valor { font-weight: 500; }
	#st-whats.ok .valor { display: inline; }
	.navegacao { background: #fff; border-top: 1px solid var(--linha); }
	.nav-item { color: #54656f; }
	.nav-item i { color: #54656f; }
	.nav-item.ativo, .nav-item.ativo i { color: #fff; }
	.nav-item:hover { color: #111b21; background: #f0f2f5; }
}
