/*
  BSIT Toasts
  - Lightweight (no Bootstrap dependency)
  - Snackbar-style UI similar to the reference screenshot
  - Works for both AJAX and post/redirect flows (cookie-based)
*/

#bsitToastContainer{
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: calc(100vw - 36px);
}

.bsit-snackbar{
  pointer-events: auto;
  width: 420px;
  max-width: calc(100vw - 36px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 2px;
  box-shadow: 0 14px 34px rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
  overflow: hidden;
}

.bsit-snackbar.show{
  opacity: 1;
  transform: translateY(0);
}

.bsit-snackbar__stripe{
  width: 6px;
  align-self: stretch;
}

.bsit-snackbar__icon{
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  font-weight: 800;
}

.bsit-snackbar__content{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

.bsit-snackbar__title{
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.bsit-snackbar__message{
  font-size: 14px;
  margin: 0;
  line-height: 1.25;
  word-break: break-word;
}

.bsit-snackbar__action{
  border: 0;
  background: transparent;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 10px 10px;
  cursor: pointer;
  text-transform: uppercase;
  flex: 0 0 auto;
}

.bsit-snackbar__close{
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  padding: 6px 10px;
  cursor: pointer;
  opacity: .85;
  flex: 0 0 auto;
}
.bsit-snackbar__close:hover{ opacity: 1; }

/* Variants (colors are chosen to resemble the screenshot) */
.bsit-snackbar--success{ background: #2aa99c; color: #fff; }
.bsit-snackbar--success .bsit-snackbar__stripe{ background: #1f8077; }
.bsit-snackbar--success .bsit-snackbar__action,
.bsit-snackbar--success .bsit-snackbar__close{ color: rgba(255,255,255,.95); }

.bsit-snackbar--warning{ background: #fff3cd; color: #6b5200; }
.bsit-snackbar--warning .bsit-snackbar__stripe{ background: #ffc107; }
.bsit-snackbar--warning .bsit-snackbar__action,
.bsit-snackbar--warning .bsit-snackbar__close{ color: #6b5200; }

.bsit-snackbar--error{ background: #ff7043; color: #fff; }
.bsit-snackbar--error .bsit-snackbar__stripe{ background: #e64a19; }
.bsit-snackbar--error .bsit-snackbar__action,
.bsit-snackbar--error .bsit-snackbar__close{ color: rgba(255,255,255,.95); }

.bsit-snackbar--info{ background: #42a5f5; color: #fff; }
.bsit-snackbar--info .bsit-snackbar__stripe{ background: #1e88e5; }
.bsit-snackbar--info .bsit-snackbar__action,
.bsit-snackbar--info .bsit-snackbar__close{ color: rgba(255,255,255,.95); }
