/* ČSOB notification bar with mascot (like csob.cz) — across all sections */

.csob-notification-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: calc(env(safe-area-inset-top, 0) + 0.5rem) 1rem 0.5rem 0;
  background: #374151;
  color: #f3f4f6;
  font-size: 0.875rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}
@media (max-width: 479px) {
  .csob-notification-bar {
    font-size: 0.8125rem;
    padding-left: 0.5rem;
  }
  .csob-notification-bar .csob-bar-text {
    padding: 0 0.25rem;
  }
}
body.csob-bar-closed .csob-notification-bar {
  display: none !important;
}
.csob-notification-bar .csob-mascot-wrap {
  flex-shrink: 0;
  width: 4.5rem;
  height: 3rem;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.csob-notification-bar .csob-mascot-wrap img,
.csob-notification-bar .csob-mascot-wrap svg {
  height: 2.5rem;
  width: auto;
  max-width: 3.5rem;
  object-fit: contain;
  object-position: right center;
}
.csob-notification-bar .csob-mascot-wrap svg {
  margin-right: -0.5rem;
}
.csob-notification-bar .csob-bar-text {
  flex: 1;
  text-align: center;
  padding: 0 0.5rem;
  line-height: 1.35;
}
.csob-notification-bar .csob-bar-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.csob-notification-bar .csob-bar-allow {
  padding: 0.35rem 0.9rem;
  background: #f97316;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.csob-notification-bar .csob-bar-allow:hover {
  background: #ea580c;
}
.csob-notification-bar .csob-bar-close {
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.csob-notification-bar .csob-bar-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.csob-notification-bar .csob-bar-close svg {
  width: 1rem;
  height: 1rem;
}

/* Header sits below bar when bar is visible */
body:not(.csob-bar-closed) header,
body:not(.csob-bar-closed) #app-injected-header {
  top: 3rem !important;
}
body.csob-bar-closed header,
body.csob-bar-closed #app-injected-header {
  top: 0 !important;
}

/* Content padding: extra space when bar visible */
body:not(.csob-bar-closed) #shell .pt-32,
body:not(.csob-bar-closed) #shell section.flex-1 {
  padding-top: 11rem !important;
}
body:not(.csob-bar-closed) main.pt-28 {
  padding-top: 7rem !important;
}
body.app-visible:not(.csob-bar-closed) #app > div {
  padding-top: 7rem !important;
}
