/* Template-unabhaengiges Status-Overlay fuer abgelaufene Deals. */
.vr-global-expired-overlay {
  position: fixed;
  z-index: 2147483000;
  top: 14px;
  left: 50%;
  width: min(760px, calc(100vw - 28px));
  transform: translateX(-50%);
  pointer-events: none;
  box-sizing: border-box;
}

.admin-bar .vr-global-expired-overlay {
  top: 46px;
}

.vr-global-expired-overlay__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 16px;
  border: 2px solid #c10000;
  border-radius: 16px;
  background: rgba(255, 248, 248, .97);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
  color: #421414;
  text-align: center;
  backdrop-filter: blur(8px);
}

.vr-global-expired-overlay__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #c10000;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1;
}

.vr-global-expired-overlay__text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.vr-global-expired-overlay__date {
  flex: 0 0 auto;
  font-size: 12px;
  line-height: 1.3;
  color: #745252;
}

.vr-global-expired-banner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #f1b8b8;
  border-left: 5px solid #c10000;
  border-radius: 16px;
  background: #fff7f7;
  color: #421414;
  box-shadow: 0 10px 28px rgba(65, 20, 20, 0.08);
}

.vr-global-expired-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 11px;
  border-radius: 999px;
  background: #c10000;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1;
  text-transform: uppercase;
}

.vr-global-expired-banner__content {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.vr-global-expired-banner__content strong {
  font-size: 18px;
  line-height: 1.3;
}

.vr-global-expired-banner__content span {
  line-height: 1.55;
}

.vr-global-expired-banner__content small {
  color: #745252;
  font-size: 12px;
}

.vr-expired-banner-fallback {
  position: fixed;
  z-index: 99990;
  right: 20px;
  bottom: 20px;
  width: min(560px, calc(100vw - 40px));
}

.vr-expired-banner-fallback .vr-global-expired-banner {
  margin: 0;
}

.vr-deal-box {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #dcdcde;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.06);
}

.vr-deal-box__header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vr-deal-box__header {
  font-size: 18px;
}

.vr-deal-box__text {
  margin: 0 0 16px;
}

.vr-deal-box__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.vr-deal-box__stat {
  padding: 14px;
  border-radius: 14px;
  background: #f6f7f7;
}

.vr-deal-box__label {
  display: block;
  margin-bottom: 6px;
  color: #50575e;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.vr-deal-box__stat strong {
  font-size: 15px;
}

.vr-report-button {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: #2271b1;
  color: #fff;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
}

.vr-report-button:hover,
.vr-report-button:focus {
  background: #135e96;
}

.vr-report-button:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.vr-deal-expired-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fde8e8;
  color: #b42318;
  font-weight: 600;
  font-size: 13px;
}

.vr-deal-box__feedback {
  margin-top: 12px;
  font-size: 14px;
  color: #1d2327;
}

@media (max-width: 700px) {
  .vr-global-expired-banner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
    border-radius: 14px;
  }

  .vr-global-expired-banner__badge {
    justify-self: start;
  }

  .vr-deal-box__stats {
    grid-template-columns: 1fr;
  }

  .vr-expired-banner-fallback {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

/* Kompakter Meldebutton im Deal-Mastertemplate */
.vr-deal-report-compact { display: grid; justify-items: center; gap: 8px; }
.vr-deal-report-compact .report-expired-btn { cursor: pointer; }
.vr-deal-report-compact__feedback { display: block; min-height: 1.2em; font-size: 13px; color: inherit; }
.vr-deal-report-compact__expired { display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 999px; background: #fde8e8; color: #b42318; font-weight: 700; }
