.ansvra-flash {
  position: fixed;
  z-index: 100;
  top: 96px;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, calc(100% - 32px));
  pointer-events: none;
}
.ansvra-flash-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid #91bca4;
  border-left: 5px solid #16704f;
  border-radius: 14px;
  background: #fff;
  color: #173d2e;
  box-shadow:
    0 14px 50px #0c2d2933,
    0 2px 8px #0c2d2914;
  pointer-events: auto;
  animation: ansvra-flash-enter 0.18s ease-out;
}
.ansvra-flash-icon {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #146c4b;
  background: #e2f2e6;
  border-radius: 50%;
}
.ansvra-flash-copy {
  flex: 1;
  min-width: 0;
}
.ansvra-flash-copy strong {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}
.ansvra-flash-copy p {
  margin: 5px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: #415c50;
  overflow-wrap: anywhere;
}
.ansvra-flash-card button {
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: -4px -6px 0 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #476354;
  cursor: pointer;
}
.ansvra-flash-card button:hover {
  background: #eaf2ec;
}
.ansvra-flash-card button:focus-visible {
  outline: 2px solid #16704f;
  outline-offset: 3px;
}
.ansvra-flash-error {
  border-color: #d6a69b;
  border-left-color: #a13b28;
}
.ansvra-flash-error .ansvra-flash-icon {
  background: #fbe9e4;
  color: #a13b28;
}
@keyframes ansvra-flash-enter {
  from {
    opacity: 0;
    translate: 0 -8px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 480px) {
  .ansvra-flash-card {
    padding: 16px;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ansvra-flash-card {
    animation: none;
  }
}
