/* =========================================================
   STYLE.CSS – Reines CSS für Admin-Komponenten
   ========================================================= */

/* Banner Grundstruktur */
.update-banner-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background-color: #eff6ff;
  border-left: 4px solid #2563eb;
  border-top: 1px solid #dbeafe;
  border-right: 1px solid #dbeafe;
  border-bottom: 1px solid #dbeafe;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .update-banner-placeholder {
    flex-direction: row;
    align-items: center;
  }
}

/* Banner Text-Typografie */
.update-banner-content h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e3a8a;
  line-height: 1.3;
}

.update-banner-content p {
  margin: 0;
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.4;
}

/* Banner Button */
.update-banner-action {
  width: 100%;
}

@media (min-width: 768px) {
  .update-banner-action {
    width: auto;
    flex-shrink: 0;
  }
}

.update-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background-color: #2563eb;
  color: #ffffff !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.625rem 1.25rem;
  border-radius: 0.5rem;
  text-decoration: none !important;
  transition: background-color 0.15s ease-in-out;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
  .update-banner-btn {
    width: auto;
  }
}

.update-banner-btn:hover {
  background-color: #1d4ed8;
}

/* Verstecken erreichbar über Klasse .hidden */
#updateBanner.hidden {
  display: none !important;
}