/* Juhasz Polcrendszer - non-modal new website announcement banner */
.jpr-banner,
.jpr-banner * {
  box-sizing: border-box;
}

.jpr-banner {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: calc(100% - 32px);
  max-width: 1080px;
  padding: 16px 18px 16px 22px;
  color: #ffffff;
  background: #003399;
  border: 1px solid #002b80;
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(0, 24, 72, 0.28);
  font-family: Arial, Helvetica, sans-serif;
  animation: jpr-banner-in 220ms ease-out;
}

.jpr-banner-text {
  min-width: 0;
  flex: 1 1 auto;
}

.jpr-banner-kicker {
  margin-bottom: 4px;
  color: #dbe7ff;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 1px;
}

.jpr-banner-heading {
  margin-bottom: 3px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.jpr-banner-description {
  color: #edf3ff;
  font-size: 14px;
  line-height: 1.4;
}

.jpr-banner-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.jpr-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border: 1px solid #ffffff;
  border-radius: 6px;
  color: #003399 !important;
  background: #ffffff;
  text-decoration: none !important;
  text-align: center;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.jpr-banner-cta:hover,
.jpr-banner-cta:focus {
  color: #00266f !important;
  background: #e8efff;
}

.jpr-banner-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: #ffffff;
  background: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.jpr-banner-close:hover,
.jpr-banner-close:focus {
  background: rgba(255, 255, 255, 0.14);
}

@keyframes jpr-banner-in {
  from { opacity: 0; transform: translate(-50%, 12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 720px) {
  .jpr-banner {
    bottom: 10px;
    width: calc(100% - 20px);
    padding: 14px 13px 13px 16px;
    gap: 10px;
    align-items: flex-start;
  }

  .jpr-banner-heading {
    font-size: 17px;
  }

  .jpr-banner-description {
    font-size: 13px;
    line-height: 1.35;
  }

  .jpr-banner-actions {
    gap: 4px;
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .jpr-banner-cta {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 11px;
    white-space: normal;
    min-width: 126px;
  }

  .jpr-banner-close {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}

@media (max-width: 420px) {
  .jpr-banner {
    flex-wrap: wrap;
    align-items: center;
  }

  .jpr-banner-text {
    flex-basis: calc(100% - 36px);
  }

  .jpr-banner-actions {
    flex: 1 1 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .jpr-banner-cta {
    flex: 1 1 auto;
  }

  .jpr-banner-close {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jpr-banner {
    animation: none;
  }
}
