/* Notifikační lišta */
#nido-ui-bar {
    position: fixed;
    left: 0;
    right: 0;
    margin: 0 auto;
    margin-bottom: 50px;
    border-radius: 15px;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font: inherit;
    line-height: 1.3;
    box-sizing: border-box;
    width: 50%;
}
#nido-ui-bar.nido-top { top: 0; }
#nido-ui-bar.nido-bottom { bottom: 0; }
#nido-ui-bar.nido-shadow { box-shadow: 0 4px 12px rgba(0,0,0,.18); }
#nido-ui-bar .nido-inner {
  width: 100%;
  max-width: 1300px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
#nido-ui-bar .nido-text { margin: 0; font-weight: 900; }
#nido-ui-bar a.nido-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid currentColor;
  white-space: nowrap;
  text-transform: uppercase;
  margin-right: 25px
}
#nido-ui-bar a.nido-cta:hover {
  background-color: #7eb968;
  border-color: #7eb968;
  color: white;
  font-weight: bold;
}
#nido-ui-bar button.nido-close {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  width: 32px; height: 32px;
  color:red;
}

/* Popup overlay & dialog */
#nido-ui-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  display: none; /* JS -> block */
  z-index: 999999;
}
#nido-ui-popup {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(92vw, 560px);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  display: none; /* JS -> block */
  z-index: 1000000;
}
#nido-ui-popup .nido-popup-body {
  padding: 22px 20px;
}
/* Zavírací křížek – pevně vpravo nahoře */
#nido-ui-popup .nido-popup-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: auto;
    height: 32px;
    border-radius: 16px;
    border: none;
    background: rgba(0, 0, 0, .08);
    color: #333;
    font-size: 20px;
    text-align: center;
    line-height: 11px;
    cursor: pointer;
}
#nido-ui-popup .nido-popup-close:hover { background: rgba(0,0,0,.14); }
#nido-ui-popup .nido-popup-close:focus { outline: 2px solid #4c9ffe; outline-offset: 2px; }

@media (min-width: 768px) {
  #nido-ui-bar .nido-inner { justify-content:space-between; 
        text-align: left; width: 100%;}
}

@media (max-width: 768px) {
  #nido-ui-bar { width: 95% !important; margin-bottom: 60px; }
}