/* Powiadomienia: the card with one button (pages of the app Mazury and the page of the Radio app). Own colours, so it reads the same on a light and on a dark page. */
.fmec-push {
  --fmp-bg-a: #0c5560;
  --fmp-bg-b: #032a31;
  --fmp-ink: #ffffff;
  --fmp-soft: rgba(255, 255, 255, 0.84);
  --fmp-gold-a: #f6d27a;
  --fmp-gold-b: #e2a63b;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 20px;
  max-width: 880px;
  margin: 22px auto;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, var(--fmp-bg-a), var(--fmp-bg-b));
  color: var(--fmp-ink);
  box-shadow: 0 18px 40px rgba(3, 42, 49, 0.22);
  text-align: left;
}
.fmec-push[hidden] { display: none !important; }
.fmec-push *, .fmec-push *::before, .fmec-push *::after { box-sizing: border-box; }
.fmec-push-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--fmp-gold-a);
}
.fmec-push-ico { display: block; width: 28px; height: 28px; }
.fmec-push-copy h2 {
  margin: 0 0 4px;
  color: var(--fmp-ink);
  font-size: clamp(20px, 3.2vw, 26px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}
.fmec-push-copy p { margin: 0; color: var(--fmp-soft); font-size: 15px; line-height: 1.5; }
.fmec-push-copy .fmec-push-state { margin-top: 8px; color: var(--fmp-gold-a); font-weight: 700; }
.fmec-push-copy .fmec-push-state[hidden] { display: none; }
.fmec-push .fmec-push-btn {
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--fmp-gold-a), var(--fmp-gold-b));
  color: #241505;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(226, 166, 59, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.fmec-push .fmec-push-btn:hover:not(:disabled) { filter: brightness(1.05); box-shadow: 0 10px 24px rgba(226, 166, 59, 0.38); }
.fmec-push .fmec-push-btn:active:not(:disabled) { transform: translateY(1px); }
.fmec-push .fmec-push-btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
.fmec-push .fmec-push-btn:disabled { opacity: 0.7; cursor: progress; }
.fmec-push .fmec-push-btn[hidden] { display: none; }
/* on: the button turns into a quiet "switch off" so the card does not shout once the job is done */
.fmec-push[data-state="on"] .fmec-push-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--fmp-ink);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}
.fmec-push[data-state="on"] .fmec-push-btn:hover:not(:disabled) { background: rgba(255, 255, 255, 0.18); filter: none; box-shadow: none; }
/* the Radio page: the card sits in the narrow column next to the stations, so it is stacked and centred like the install box there, in the display font of that page */
.fmec-push.fmec-push--radio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 24px 0 0;
  padding: 20px 18px 22px;
  border-radius: 28px;
  border: 1px solid var(--rapp-line, rgba(255, 255, 255, 0.18));
  background: var(--rapp-glass, rgba(255, 255, 255, 0.08));
  box-shadow: none;
  text-align: center;
}
.fmec-push--radio .fmec-push-mark { width: 52px; height: 52px; border-radius: 16px; }
.fmec-push--radio .fmec-push-copy { display: grid; justify-items: center; gap: 8px; max-width: 34em; }
.fmec-push--radio .fmec-push-copy h2 { margin: 0; font: 800 clamp(24px, 6.4vw, 30px) / 1.05 var(--rapp-display, inherit); letter-spacing: 0.02em; text-transform: uppercase; }
.fmec-push--radio .fmec-push-copy p { color: var(--rapp-muted, var(--fmp-soft)); }
.fmec-push--radio .fmec-push-copy .fmec-push-state { margin-top: 0; }
.fmec-push--radio .fmec-push-btn { width: auto; min-width: 220px; }
@media (max-width: 640px) {
  .fmec-push { grid-template-columns: auto minmax(0, 1fr); padding: 18px; margin: 18px 0; border-radius: 22px; }
  .fmec-push .fmec-push-btn { grid-column: 1 / -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fmec-push .fmec-push-btn { transition: none; }
}
