@charset "UTF-8";
/* AlertBox — контейнеры для стекинга */
.alertBoxContainer {
  position: fixed;
  z-index: 9100;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 1em);
}
.alertBoxContainer--top-right {
  top: 0.75em;
  right: 0.75em;
}
.alertBoxContainer--top-left {
  top: 0.75em;
  left: 0.75em;
}
.alertBoxContainer--top-center {
  top: 0.75em;
  left: 50%;
  transform: translateX(-50%);
}
.alertBoxContainer--bottom-right {
  bottom: 0.75em;
  right: 0.75em;
}
.alertBoxContainer--bottom-left {
  bottom: 0.75em;
  left: 0.75em;
}
.alertBoxContainer--bottom-center {
  bottom: 0.75em;
  left: 50%;
  transform: translateX(-50%);
}

/* AlertBox — основной блок */
.alertBox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.6em;
  padding: 0.9em 1em;
  border-radius: 0.6em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.25s, transform 0.25s;
  position: relative;
  font-size: 0.95em;
  line-height: 1.45;
}
.alertBox--visible {
  opacity: 1;
  transform: translateY(0);
}
.alertBox--hide {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s;
}

/* Иконка */
.alertBoxIcon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-top: 0.1em;
}

.alertBoxSvg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Тело */
.alertBoxBody {
  flex: 1 1 0;
  min-width: 0;
}

.alertBoxHeader {
  font-weight: 600;
  font-size: 1.05em;
  margin-bottom: 0.2em;
}

.alertBoxContent {
  word-break: break-word;
}

/* Кнопка закрытия */
.alertBoxClose {
  flex: 0 0 auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.15em;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  margin-left: auto;
}
.alertBoxClose:hover {
  background: rgba(0, 0, 0, 0.08);
}

.alertBoxCloseSvg {
  width: 16px;
  height: 16px;
}

/* Футер */
.alertBoxFooter {
  width: 100%;
  display: flex;
  gap: 0.5em;
  justify-content: flex-end;
  padding-top: 0.4em;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 0.2em;
}

.alertBoxBtn {
  padding: 0.35em 1em;
  font-size: 0.9em;
  border-radius: 1.5em;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.alertBoxBtn:hover {
  background: rgba(255, 255, 255, 0.9);
}
.alertBoxBtn.primary {
  background: var(--main-color-blue, #3b82f6);
  color: var(--main-color-white, #fff);
  border-color: var(--main-color-blue, #3b82f6);
}
.alertBoxBtn.primary:hover {
  opacity: 0.9;
}
.alertBoxBtn.secondary {
  border-color: var(--main-color-dark-green, #16a34a);
  color: var(--main-color-dark-green, #16a34a);
}
.alertBoxBtn.secondary:hover {
  background: var(--main-color-dark-green, #16a34a);
  color: var(--main-color-white, #fff);
}
.alertBoxBtn.alert {
  border-color: var(--main-color-red, #ef4444);
  color: var(--main-color-red, #ef4444);
}
.alertBoxBtn.alert:hover {
  background: var(--main-color-red, #ef4444);
  color: var(--main-color-white, #fff);
}

/* Типы алертов */
.alertBox--info {
  background: var(--main-color-light-yellow, #fef9c3);
  color: var(--main-color-black-force, #1e2026);
}
.alertBox--info .alertBoxSvg {
  fill: var(--main-color-dark-yellow, #ca8a04);
}
.alertBox--info .alertBoxCloseSvg {
  fill: var(--main-color-dark-yellow, #ca8a04);
}
.alertBox--info .alertBoxFooter {
  border-top-color: var(--main-color-dark-yellow, rgba(202, 138, 4, 0.25));
}

.alertBox--success {
  background: var(--main-color-green, #22c55e);
  color: var(--main-color-white-force, #fff);
}
.alertBox--success .alertBoxSvg {
  fill: var(--main-color-white, #fff);
}
.alertBox--success .alertBoxCloseSvg {
  fill: var(--main-color-white, #fff);
}
.alertBox--success .alertBoxClose:hover {
  background: rgba(255, 255, 255, 0.2);
}
.alertBox--success .alertBoxFooter {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.alertBox--success .alertBoxBtn {
  color: var(--main-color-white-force, #fff);
}
.alertBox--success .alertBoxBtn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.alertBox--error {
  background: var(--main-color-red, #ef4444);
  color: var(--main-color-white-force, #fff);
}
.alertBox--error .alertBoxSvg {
  fill: var(--main-color-white, #fff);
}
.alertBox--error .alertBoxCloseSvg {
  fill: var(--main-color-white, #fff);
}
.alertBox--error .alertBoxClose:hover {
  background: rgba(255, 255, 255, 0.2);
}
.alertBox--error .alertBoxFooter {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.alertBox--error .alertBoxBtn {
  color: var(--main-color-white-force, #fff);
}
.alertBox--error .alertBoxBtn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.alertBox--warning {
  background: var(--main-color-orange, #f97316);
  color: var(--main-color-white-force, #fff);
}
.alertBox--warning .alertBoxSvg {
  fill: var(--main-color-white, #fff);
}
.alertBox--warning .alertBoxCloseSvg {
  fill: var(--main-color-white, #fff);
}
.alertBox--warning .alertBoxClose:hover {
  background: rgba(255, 255, 255, 0.2);
}
.alertBox--warning .alertBoxFooter {
  border-top-color: rgba(255, 255, 255, 0.25);
}
.alertBox--warning .alertBoxBtn {
  color: var(--main-color-white-force, #fff);
}
.alertBox--warning .alertBoxBtn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Inline-режим */
.alertBox:not(.alertBoxContainer .alertBox) {
  margin-bottom: 0.5em;
  box-shadow: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Адаптив */
@media (max-width: 480px) {
  .alertBoxContainer {
    max-width: 100%;
    width: calc(100% - 0.5em);
    right: 0.25em !important;
    left: 0.25em !important;
    transform: none !important;
  }
  .alertBox {
    font-size: 0.9em;
    padding: 0.7em 0.8em;
    border-radius: 0.5em;
  }
}/*# sourceMappingURL=css.css.map */