.siap-toast-container {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: min(300px, calc(100vw - 32px));
}

.siap-toast {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
  overflow: hidden;
  border-left: 6px solid #0d6efd;
  width: min(300px, calc(100vw - 32px));
  transform: translateY(-6px);
  opacity: 1;
  transition: opacity .16s ease, transform .16s ease;
}

.siap-toast--leaving {
  opacity: 0;
  transform: translateY(-12px);
}

.siap-toast__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 6px 12px;
}

.siap-toast__icon {
  font-size: 18px;
  line-height: 1;
}

.siap-toast__title {
  font-weight: 700;
  font-size: 14px;
  color: var(--siap-toast-title, #1f2937);
  flex: 1;
}

.siap-toast__close {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  padding: 0 4px;
  color: #6b7280;
  cursor: pointer;
}
.siap-toast__close:hover { color: #111827; }

.siap-toast__body {
  padding: 0 12px 10px 40px;
  font-size: 13px;
  color: #374151;
  word-break: break-word;
}

.siap-toast__progress {
  height: 4px;
  background: rgba(0,0,0,.06);
}
.siap-toast__progress-bar {
  height: 100%;
  width: 100%;
  background: currentColor;
}

.siap-toast--success {
  border-left-color: #16a34a;
  color: #16a34a;
  background: #dcfce7;
  --siap-toast-title: #166534;
}
.siap-toast--error {
  border-left-color: #dc2626;
  color: #dc2626;
  background: #fee2e2;
  --siap-toast-title: #991b1b;
}
.siap-toast--warning {
  border-left-color: #f59e0b;
  color: #f59e0b;
  background: #fef3c7;
  --siap-toast-title: #92400e;
}
.siap-toast--info {
  border-left-color: #0d6efd;
  color: #0d6efd;
  background: #dbeafe;
  --siap-toast-title: #1d4ed8;
}

.siap-center-alert-backdrop{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(0,0,0,0.25);
  z-index: 10050;
}
.siap-center-alert{
  width: min(640px, calc(100vw - 36px));
  background: #fee2e2;
  border-radius: 12px;
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-left: 8px solid #dc2626;
  overflow: hidden;
  min-height: 240px;
}
.siap-center-alert__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 18px 16px 12px 16px;
}
.siap-center-alert__title{
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 15px;
  color: #991b1b;
}
.siap-center-alert__close{
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  padding: 0 6px;
  color: #991b1b;
  cursor: pointer;
}
.siap-center-alert__close:hover{ color: #7f1d1d; }
.siap-center-alert__body{
  padding: 10px 22px 22px 22px;
  font-size: 16px;
  color: #7f1d1d;
  word-break: break-word;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 160px;
}

.siap-center-alert__message{
  padding-left: 26px;
}

.siap-center-alert__actions{
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  justify-content: center;
}
.siap-center-alert__ack{
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
  background: #dc2626;
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 38, 38, 0.25);
}
.siap-center-alert__ack:hover{
  background: #b91c1c;
}
