.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    animation: slideInRight 0.3s ease-out;
}

.toast-notification.hide {
    animation: slideOutRight 0.3s ease-out forwards;
}

.toast-success {
    border-left: 4px solid #28a745;
}

.toast-error {
    border-left: 4px solid #dc3545;
}

.toast-warning {
    border-left: 4px solid #ffc107;
}

.toast-info {
    border-left: 4px solid #17a2b8;
}

.toast-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.toast-icon {
    font-size: 24px;
    margin-right: 15px;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.toast-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    padding: 0 5px;
}

.toast-close:hover {
    color: #333;
}

.toast-progress {
    height: 3px;
    background: #f0f0f0;
}

.toast-progress-bar {
    height: 100%;
    width: 100%;
    animation: progress 5s linear;
}

.toast-success .toast-progress-bar {
    background: #28a745;
}

.toast-error .toast-progress-bar {
    background: #dc3545;
}

.toast-warning .toast-progress-bar {
    background: #ffc107;
}

.toast-info .toast-progress-bar {
    background: #17a2b8;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}