/* Wspólne style alertów używane w głównym UI i na ekranach logowania. */
.alert-container .alert {
  background: rgba(255, 255, 255, 0.92);
  min-width:340px;
  position: relative;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-width: 0;
  color: #3b3c3e;
  padding: 5px 17px;
  margin: 0;
  box-shadow: 0 3px 14px 0px #0c123c57;
}

.alert-container .alert-content {
  padding-right: 18px;
}

.alert-container .alert-progress {
  position: relative;
  width: 100%;
  height: 18px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.1);
}

.alert-container .alert-countdown {
  position: absolute;
  inset: 0 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.72);
  font-size: 11px;
  line-height: 1;
  opacity: 0.85;
  white-space: nowrap;
  pointer-events: none;
}

.alert-container .alert-continue-info {
  font-size: 11px;
  line-height: 1.2;
  opacity: 0.82;
  margin-top: 2px;
}

.alert-container .alert-pause {
  position: absolute;
  right: 2px;
  top: 50%;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  color: inherit;
  font-size: 9px;
  line-height: 18px;
  text-align: center;
  transform: translateY(-50%);
  opacity: 0.75;
  cursor: pointer;
}

.alert-container .alert-pause:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.45);
}

.alert-container .alert-pause i {
  margin: 0;
}

.alert-container .alert-progress-bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.55);
  opacity: 0.65;
  transition: width 0.1s linear;
}

.alert-container .alert-progress.alert-progress-paused .alert-progress-bar {
  opacity: 0.35;
}

.alert-container .alert-progress.alert-progress-indeterminate .alert-progress-bar {
  width: 35%;
  animation: alert-progress-indeterminate 2s ease-in-out infinite;
}

@keyframes alert-progress-indeterminate {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(320%);
  }
}

.alert-container .alert-danger,
.alert-container .alert-error {
  background: linear-gradient(rgba(252, 113, 63, 0.92), rgba(254, 59, 113, 0.92));
  color: #fff;
}

.alert-container .alert-success {
  background: linear-gradient(rgba(85, 201, 141, 0.92), rgba(30, 168, 107, 0.92));
  color: #fff;
}

.alert-container .alert-warning {
  background: linear-gradient(rgba(255, 211, 107, 0.92), rgba(243, 169, 59, 0.92));
  color: #4f3b00;
}

.alert-container {
  position: fixed;
  top: 0;
  right: 50%;
  width: auto;
  z-index: 99999;
  transform: translate(50%, -120%);
  transition: transform 0.4s ease;
}

.alert-container.alert-visible {
  transform: translate(50%, 0%);
  transition: transform 0.4s ease;
}

.error_code {
  color: #7e1c1c;
  font-size: 13px;
  margin-left: 10px;
}
