/* Toast Notification System */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: 320px;
}

.toast {
    background-color: #fff;
    color: #333;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    animation: toast-in 0.3s ease forwards;
    transition: all 0.3s ease;
    max-height: 100px;
    opacity: 0;
    transform: translateX(100%);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.hide {
    opacity: 0;
    max-height: 0;
    margin: 0;
    padding: 0;
    transform: translateX(100%);
}

.toast-icon {
    flex-shrink: 0;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.toast-content {
    flex-grow: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.toast-message {
    font-size: 13px;
    color: #666;
}

.toast-close {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}

.toast-close:hover {
    color: #333;
}

/* Toast Types */
.toast-success {
    border-left: 4px solid #4caf50;
}

.toast-success .toast-icon {
    color: #4caf50;
}

.toast-error {
    border-left: 4px solid #f44336;
}

.toast-error .toast-icon {
    color: #f44336;
}

.toast-warning {
    border-left: 4px solid #ff9800;
}

.toast-warning .toast-icon {
    color: #ff9800;
}

.toast-info {
    border-left: 4px solid #2196f3;
}

.toast-info .toast-icon {
    color: #2196f3;
}

@keyframes toast-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}