/* Ultra Compact Modern Toastr Notification System for VTMART */
#toast-container {
    position: fixed;
    z-index: 99999999;
    pointer-events: none;
}

#toast-container * {
    box-sizing: border-box;
}

.toast-top-right {
    top: 16px;
    right: 16px;
}

.toast-top-left {
    top: 16px;
    left: 16px;
}

.toast-bottom-right {
    bottom: 16px;
    right: 16px;
}

.toast-bottom-left {
    bottom: 16px;
    left: 16px;
}

.toast-top-center {
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
}

.toast-bottom-center {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
}

#toast-container > div {
    position: relative;
    pointer-events: auto;
    overflow: hidden;
    margin: 0 0 8px 0;
    padding: 10px 14px 10px 38px;
    width: 290px;
    max-width: 90vw;
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 16px 16px;
    box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.45), 0 3px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    opacity: 0.96;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

#toast-container > div:hover {
    box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 1;
    cursor: pointer;
}

#toast-container > .toast {
    max-width: 320px;
    flex-basis: auto;
}

.toast-title {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
    line-height: 1.25;
    color: #ffffff;
}

.toast-title:empty {
    display: none;
}

.toast-message {
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    word-wrap: break-word;
    color: #f8fafc;
}

.toast-message a,
.toast-message label {
    color: #ffffff;
    text-decoration: underline;
}

/* Close Button */
.toast-close-button {
    position: absolute;
    right: 8px;
    top: 8px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.toast-close-button:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

/* Success Toast */
#toast-container > .toast-success {
    background-color: #064e3b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2334d399'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm13.36-1.814a.75.75 0 10-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 00-1.06 1.06l2.25 2.25a.75.75 0 001.14-.094l3.74-5.25z' clip-rule='evenodd'/%3E%3C/svg%3E");
    border-color: rgba(52, 211, 153, 0.35);
}

/* Error Toast */
#toast-container > .toast-error {
    background-color: #7f1d1d;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f87171'%3E%3Cpath fill-rule='evenodd' d='M12 2.25c-5.385 0-9.75 4.365-9.75 9.75s4.365 9.75 9.75 9.75 9.75-4.365 9.75-9.75S17.385 2.25 12 2.25zm-1.72 6.97a.75.75 0 10-1.06 1.06L10.94 12l-1.72 1.72a.75.75 0 101.06 1.06L12 13.06l1.72 1.72a.75.75 0 101.06-1.06L13.06 12l1.72-1.72a.75.75 0 10-1.06-1.06L12 10.94l-1.72-1.72z' clip-rule='evenodd'/%3E%3C/svg%3E");
    border-color: rgba(248, 113, 113, 0.35);
}

/* Info Toast */
#toast-container > .toast-info {
    background-color: #0c4a6e;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2338bdf8'%3E%3Cpath fill-rule='evenodd' d='M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
    border-color: rgba(56, 189, 248, 0.35);
}

/* Warning Toast */
#toast-container > .toast-warning {
    background-color: #78350f;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fbbf24'%3E%3Cpath fill-rule='evenodd' d='M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z' clip-rule='evenodd'/%3E%3C/svg%3E");
    border-color: rgba(251, 191, 36, 0.35);
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2.5px;
    background-color: rgba(255, 255, 255, 0.35);
    border-radius: 0 0 10px 10px;
}
