/* --- Elegant Toast Style (with proper stacked title using CSS Grid) --- */

.jq-toast-single {
  position: relative;
  display: grid;
  grid-template-columns: 12px 1fr auto;
  grid-template-rows: auto auto;
  grid-column-gap: 10px;
  align-items: start;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #1f1f1f !important;
  border: 1px solid rgba(0, 0, 0, 0.07) !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1) !important;
  font-family: "Inter", "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  padding: 16px 20px 16px 16px !important;
  transition: all 0.25s ease;
}

.jq-toast-single:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12) !important;
}

/* left accent */
.jq-toast-single.jq-icon-error {
  border-left: 4px solid #e74c3c !important;
}

.jq-toast-single.jq-icon-success {
  border-left: 4px solid #2ecc71 !important;
}

.jq-toast-single.jq-icon-info {
  border-left: 4px solid #3498db !important;
}

.jq-toast-single.jq-icon-warning {
  border-left: 4px solid #f1c40f !important;
}

/* small color dot */
.jq-toast-single::before {
  content: "";
  grid-row: 1 / span 2;
  grid-column: 1;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-top: 6px;
}

.jq-toast-single.jq-icon-success::before {
  background: #2ecc71;
}

.jq-toast-single.jq-icon-error::before {
  background: #e74c3c;
}

.jq-toast-single.jq-icon-info::before {
  background: #3498db;
}

.jq-toast-single.jq-icon-warning::before {
  background: #f1c40f;
}

/* heading on top row */
.jq-toast-heading {
  grid-column: 2 / span 1;
  grid-row: 1;
  font-weight: 600;
  font-size: 15px;
  color: #000;
  margin: 0;
}

/* description on second row */
.jq-toast-body {
  grid-column: 2 / span 1;
  grid-row: 2;
}

/* close button aligns right */
.jq-toast-single button {
  grid-column: 3;
  grid-row: 1 / span 2;
  align-self: start;
}

.jq-toast-loader.jq-toast-loaded {
  background-color: rgba(0, 0, 0, .2) !important;
}

.jq-toast-single.jq-icon-success {
  transform: translateY(-4px);
}

.jq-toast-loader {
  bottom: 0;
  height: 2px;
}