/* M-PayWay Global Modern Minimalist Floating Text Toast System */
#globalToastContainer {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 999999 !important;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
    max-width: 420px;
    width: auto;
}

@media (max-width: 576px) {
    #globalToastContainer {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
        align-items: center;
    }
}

.mpw-toast {
    position: relative;
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    min-height: 42px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-shadow: none !important;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    cursor: pointer;
    user-select: none;
    max-width: 100%;
}

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

.mpw-toast.hide {
    transform: translateY(-8px);
    opacity: 0;
}

/* Accent types */
.mpw-toast.toast-success {
    border-left: 4px solid #16a34a !important;
}
.mpw-toast.toast-success .toast-icon {
    color: #16a34a !important;
}
.mpw-toast.toast-success .toast-msg {
    color: #0f172a !important;
}

.mpw-toast.toast-error {
    border-left: 4px solid #dc2626 !important;
}
.mpw-toast.toast-error .toast-icon {
    color: #dc2626 !important;
}
.mpw-toast.toast-error .toast-msg {
    color: #0f172a !important;
}

.mpw-toast.toast-warning {
    border-left: 4px solid #d97706 !important;
}
.mpw-toast.toast-warning .toast-icon {
    color: #d97706 !important;
}
.mpw-toast.toast-warning .toast-msg {
    color: #0f172a !important;
}

.mpw-toast.toast-info {
    border-left: 4px solid #2563eb !important;
}
.mpw-toast.toast-info .toast-icon {
    color: #2563eb !important;
}
.mpw-toast.toast-info .toast-msg {
    color: #0f172a !important;
}

/* Elements inside toast */
.mpw-toast .toast-icon {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.mpw-toast .toast-msg {
    font-size: 13px;
    font-weight: 600;
    word-break: break-word;
    letter-spacing: 0.01em;
}

/* Hide background boxes, bars, and close buttons completely */
.mpw-toast .toast-title,
.mpw-toast .toast-close,
.mpw-toast .toast-bar {
    display: none !important;
}
