/* Beautified version of the original jQuery-Toast CSS for easier editing */

/* --- General Wrapper --- */
.jq-toast-wrap,
.jq-toast-wrap * {
  margin: 0;
  padding: 0;
}

.jq-toast-wrap {
  display: block;
  position: fixed;
  width: 300px;
  pointer-events: none !important;
  letter-spacing: normal;
  z-index: 9000 !important;
}

/* --- Positions --- */
.jq-toast-wrap.bottom-left  { bottom: 20px; left: 20px; }
.jq-toast-wrap.bottom-right { bottom: 20px; right: 40px; }
.jq-toast-wrap.top-left     { top: 20px;  left: 20px; }
.jq-toast-wrap.top-right    { top: 20px;  right: 40px; }

/* --- Single Toast --- */
.jq-toast-single {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 0 0 5px;
    border-radius: 14px;
    font-size: 12px;
    font-family: "Segoe UI", sans-serif;
    line-height: 17px;
    position: relative;
    pointer-events: all !important;
    background-color: #444;
    color: #1f1f1f;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Add overflow hidden to clip the progress bar */
  }

/* --- Heading --- */
.jq-toast-single h2 {
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  background: none;
  font-weight: 700;
  color: inherit !important;
  line-height: inherit;
  letter-spacing: normal;
}

/* --- Links --- */
.jq-toast-single a {
  color: #f0f0f0 !important;
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  padding-bottom: 3px;
  font-size: 12px;
}

/* --- Lists --- */
.jq-toast-single ul {
  margin: 0 0 0 15px;
  padding: 0;
  background: none;
  color: #f0f0f0 !important;
}

.jq-toast-single ul li {
  list-style-type: disc !important;
  line-height: 17px;
  margin: 0;
  padding: 0;
  background: none;
  letter-spacing: normal;
  color: #f0f0f0 !important;
}

/* --- Close Button --- */
.close-jq-toast-single {
  position: absolute;
  top: 3px;
  right: 7px;
  font-size: 14px;
  cursor: pointer;
}

/* --- Loader Bar --- */
.jq-toast-loader {
    display: block;
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    border-bottom-left-radius: 14px; /* Match the toast's border radius */
    border-bottom-right-radius: 14px; /* Match the toast's border radius */
    background: red;
}

.jq-toast-loaded {
  width: 100%;
}

/* --- Icon Base --- */
.jq-has-icon {
  padding: 10px 10px 10px 50px;
  background-repeat: no-repeat;
  background-position: 15px;
  background-size: 20px 20px; /* Fixed size for all icons */
}

/* --- Icon Variants (kept on one line each for readability) --- */
.jq-icon-info    { background-image: url("https://50bf0464e4735aabad1cc8848a0e8b8a.cdn.bubble.io/f1747228521451x377049918622107000/info%20blue.svg"); background-color: #31708f; color: #d9edf7; border-color: #bce8f1; }
.jq-icon-error   { background-image: url("https://50bf0464e4735aabad1cc8848a0e8b8a.cdn.bubble.io/f1747228483653x596245050042149500/error%20red.svg"); background-color: #a94442; color: #f2dede; border-color: #ebccd1; }
.jq-icon-success { background-image: url("https://50bf0464e4735aabad1cc8848a0e8b8a.cdn.bubble.io/f1747228476962x941420540831393500/check%20green.svg"); background-color: #3c763d; color: #dff0d8; border-color: #d6e9c6; }
.jq-icon-warning { background-image: url("https://meta-q.cdn.bubble.io/f1754446758730x442448957668658100/info%20yellow.svg"); background-color: #8a6d3b; color: #fcf8e3; border-color: #faebcc; }

/* Fix for new responsiveness engine */
@media (max-width: 768px) {
    /* Fix top-center positioning */
    .jq-toast-wrap[style*="top: 20px"] {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    /* Fix content bleeding outside container */
    .jq-toast-single {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 300px !important;
    }
    
    /* Fix icon padding causing width expansion */
    .jq-toast-single.jq-has-icon {
        width: 100% !important;
        max-width: 300px !important;
        padding: 10px 10px 10px 50px !important;
        box-sizing: border-box !important;
    }
}