/*
 * Der Alert-Block und der simple_social_share-Block sind zwei getrennte
 * Block-Instanzen, aber direkte Geschwister in derselben Region
 * (.region-breadcrumb). Per Flexbox auf die Region werden beide in einer
 * Zeile angeordnet: Social-Icons links, Alert-Button rechts daneben -
 * durch eigenes Grün/Kontur klar als Opt-in-Aktion abgesetzt, nicht als
 * weiteres Share-Icon.
 */
.region-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.asa-alert-wrapper {
  position: relative;
  display: inline-block;
}

.asa-alert-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  height: 42px;
  border: none;
  border-radius: 8px;
  background: #8bc34a;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(139, 195, 74, 0.4);
  transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.asa-alert-trigger:hover {
  background: #77a63f;
  box-shadow: 0 3px 10px rgba(139, 195, 74, 0.5);
}

.asa-alert-trigger-icon {
  flex-shrink: 0;
}

.asa-alert-popover {
  position: absolute;
  z-index: 50;
  top: calc(100% + 8px);
  left: 0;
  width: 320px;
  max-width: 90vw;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  padding: 20px;
}

.asa-alert-close {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.asa-alert-title {
  margin: 0 0 16px;
  font-size: 16px;
  padding-right: 24px;
}

.asa-alert-field {
  margin-bottom: 14px;
}

.asa-alert-field label {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}

.asa-alert-field select,
.asa-alert-field input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.asa-alert-field select[multiple] {
  min-height: 88px;
}

.asa-alert-consent label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 400;
  font-size: 12px;
  line-height: 1.4;
}

.asa-alert-consent input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.asa-alert-message {
  font-size: 13px;
  margin-bottom: 10px;
  min-height: 1em;
}

.asa-alert-message--error {
  color: #c0392b;
}

.asa-alert-message--success {
  color: #1e7e34;
}

.asa-alert-submit {
  width: 100%;
  padding: 10px;
  background: #0b5fa5;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.asa-alert-submit:hover {
  background: #094a82;
}

.asa-alert-submit:disabled {
  opacity: 0.6;
  cursor: default;
}
