/* TOAST NOTIFICATION SYSTEM – MED-OS */

.toast-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

.toast {
    min-width: 220px;
    max-width: 380px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
    opacity: 0;
    transform: translateX(-110%);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    background: transparent;
    border: none;
    border-left: none;
    box-shadow: none;
    backdrop-filter: none;
    color: #27ae60;
    font-weight: 700;
    font-size: 0.95em;
    padding: 10px 4px;
    min-width: 0;
}

.toast-error {
    background: rgba(255, 255, 255, 0.98);
    border-left: 3px solid #e74c3c;
    color: #2c3e50;
    box-shadow: 0 2px 12px rgba(231, 76, 60, 0.15);
}

.toast-warning {
    background: rgba(255, 255, 255, 0.98);
    border-left: 3px solid #f39c12;
    color: #2c3e50;
    box-shadow: 0 2px 12px rgba(243, 156, 18, 0.12);
}

.toast-info {
    background: rgba(255, 255, 255, 0.98);
    border-left: 3px solid #167D87;
    color: #2c3e50;
    box-shadow: 0 2px 12px rgba(22, 125, 135, 0.12);
}

.toast-success .toast-icon  { display: none; }
.toast-success .toast-close { display: none; }
.toast-error   .toast-icon  { color: #e74c3c; }
.toast-warning .toast-icon  { color: #f39c12; }
.toast-info    .toast-icon  { color: #167D87; }
.toast-icon    { font-size: 1.2em; flex-shrink: 0; }
.toast-content { flex: 1; line-height: 1.4; }

.toast-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.3em;
    cursor: pointer;
    opacity: 0.7;
    padding: 0 4px;
    transition: opacity 0.2s;
}

.toast-close:hover { opacity: 1; }
