
/* ==========================================================
   WEBDEALERAUTO - FEEDBACK GLOBAL
   ========================================================== */

.wd-toast-container{
  position:fixed;
  top:20px;
  right:24px;
  z-index:12000;
  width:min(360px,calc(100vw - 32px));
  display:grid;
  gap:8px;
  pointer-events:none;
}

.wd-toast{
  pointer-events:auto;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) 24px;
  gap:10px;
  align-items:center;
  min-height:66px;
  padding:11px 12px;
  border:1px solid #e6ebf1;
  border-radius:12px;
  background:rgba(255,255,255,.98);
  box-shadow:0 12px 30px rgba(15,39,68,.12);
  backdrop-filter:blur(8px);
  transform:translateY(-6px);
  opacity:0;
  transition:opacity .16s ease,transform .16s ease;
}

.wd-toast.show{
  transform:translateY(0);
  opacity:1;
}

.wd-toast-icon{
  width:32px;
  height:32px;
  border-radius:9px;
  display:grid;
  place-items:center;
  font-size:15px;
}

.wd-toast-copy{
  min-width:0;
}

.wd-toast-copy strong{
  display:block;
  margin:0 0 3px;
  color:#24364f;
  font-size:11px;
  font-weight:800;
  line-height:1.25;
}

.wd-toast-copy span{
  display:block;
  color:#728197;
  font-size:9.5px;
  line-height:1.35;
}

.wd-toast-close{
  width:24px;
  height:24px;
  border:0;
  border-radius:6px;
  padding:0;
  background:transparent;
  color:#98a4b3;
  display:grid;
  place-items:center;
  font-size:12px;
}

.wd-toast-close:hover{
  background:#f2f5f8;
  color:#40516a;
}

.wd-toast.is-success .wd-toast-icon{background:#eaf8f1;color:#10a260}
.wd-toast.is-error .wd-toast-icon{background:#fff1f2;color:#e44755}
.wd-toast.is-warning .wd-toast-icon{background:#fff7e8;color:#e49a19}
.wd-toast.is-info .wd-toast-icon{background:#edf5ff;color:#1677ff}

/* Tooltip Bootstrap global */
.tooltip.wd-tooltip{
  --bs-tooltip-opacity:1;
  z-index:2050;
}

.tooltip.wd-tooltip .tooltip-inner{
  max-width:220px;
  padding:6px 8px;
  border-radius:6px;
  background:#173252;
  color:#fff;
  box-shadow:0 7px 18px rgba(15,42,71,.16);
  font-family:Inter,system-ui,sans-serif;
  font-size:9px;
  font-weight:600;
  line-height:1.3;
}

.tooltip.wd-tooltip.bs-tooltip-top .tooltip-arrow::before{
  border-top-color:#173252;
}
.tooltip.wd-tooltip.bs-tooltip-bottom .tooltip-arrow::before{
  border-bottom-color:#173252;
}
.tooltip.wd-tooltip.bs-tooltip-start .tooltip-arrow::before{
  border-left-color:#173252;
}
.tooltip.wd-tooltip.bs-tooltip-end .tooltip-arrow::before{
  border-right-color:#173252;
}


/* Feedback deve ficar sempre acima de modais/backdrops do WebDealer */
#wdToastContainer.wd-toast-container{z-index:12000!important;}
.modal-backdrop{z-index:1040;}
.modal{z-index:1055;}
