/* =========================================================
   DRUPAL-STATUSMELDUNGEN
   ========================================================= */

.messages-region {
  width: 100%;
  background: #ffffff;
}

.messages-region .container {
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 18px 20px 0;
  box-sizing: border-box;
}

.messages-region .messages {
  margin: 0;
  padding: 16px 20px;
  border: 1px solid #b7c9b9;
  border-left: 5px solid #2e7d32;
  border-radius: 8px;
  background: #edf7ee;
  color: #263a29;
  line-height: 1.5;
}

.messages-region .messages--error {
  border-color: #c62828;
  background: #fff4f4;
  color: #7f1d1d;
}

.messages-region .messages--warning {
  border-color: #ed9b00;
  background: #fff8e6;
  color: #664d03;
}

.messages-region .messages__list {
  margin: 0;
  padding-left: 20px;
}

.messages-region .messages__item:only-child {
  list-style: none;
  margin-left: -20px;
}

/* =========================================================
   EXAKTER DRUPAL-MELDUNGSCONTAINER
   Nachgewiesenes Markup:
   [data-drupal-messages] > [role="contentinfo"]
   ========================================================= */

#main-content [data-drupal-messages] > [role="contentinfo"] {
  display: flex;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 16px 20px;
  border: 1px solid #b7c9b9;
  border-left: 5px solid #2e7d32;
  border-radius: 8px;
  background: #edf7ee;
  color: #263a29;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(27, 94, 32, 0.12);
}

#main-content [data-drupal-messages] > [role="contentinfo"]::before {
  content: "✓";
  display: inline-flex;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-right: 12px;
  border-radius: 50%;
  background: #2e7d32;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1;
}
