/**
 * Melina HMS - Global Modern Toast System
 * Sleek, high-density, accessible notification toasts
 */
.ws-toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999999;
    display: flex;
    flex-direction: column-reverse;
    gap: 8px;
    pointer-events: none;
    max-width: 420px;
    width: calc(100% - 32px);
}

.ws-toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #0f172a;
    color: #f8fafc;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: 0 10px 25px -3px rgba(15, 23, 42, 0.35), 0 4px 6px -2px rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.09);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    user-select: none;
}

.ws-toast-item.ws-toast-show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ws-toast-item.ws-toast-hide {
    opacity: 0;
    transform: translateY(8px) scale(0.95);
}

.ws-toast-icon {
    font-size: 16px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ws-toast-item.ws-toast-success .ws-toast-icon { color: #10b981; }
.ws-toast-item.ws-toast-warning .ws-toast-icon { color: #f59e0b; }
.ws-toast-item.ws-toast-danger .ws-toast-icon,
.ws-toast-item.ws-toast-error .ws-toast-icon { color: #ef4444; }
.ws-toast-item.ws-toast-info .ws-toast-icon { color: #38bdf8; }

.ws-toast-msg {
    flex: 1;
    word-break: break-word;
    font-family: inherit;
}

.ws-toast-close {
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.ws-toast-close:hover {
    color: #f8fafc;
}
