/* maintenance-notice.css — shared across index.html, viewer.html.
   Relies on the same --accent/--text/--border/--panel custom properties
   each page's own stylesheet already defines (same approach as
   auth-widget.css). */

.maintenance-notice-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000; /* above the header bar and map controls */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 10px 20px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.maintenance-notice-text {
  line-height: 1.4;
}

.maintenance-notice-dismiss {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
  opacity: 0.85;
}
.maintenance-notice-dismiss:hover {
  opacity: 1;
}

@media (max-width: 640px) {
  .maintenance-notice-banner {
    font-size: 12px;
    padding: 8px 12px;
  }
}
