.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    max-width: 350px;
    width: 100%;
}

.toast {
    background-color: white;
    color: #333;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    position: relative;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.toast-success {
    border-left: 4px solid #10B981;
}

.toast.toast-error {
    border-left: 4px solid #EF4444;
}

.toast.toast-warning {
    border-left: 4px solid #F59E0B;
}

.toast.toast-info {
    border-left: 4px solid #3B82F6;
}

.toast-icon {
    margin-right: 12px;
    font-size: 20px;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-success .toast-icon {
    background-color: #10B981;
}

.toast-error .toast-icon {
    background-color: #EF4444;
}

.toast-warning .toast-icon {
    background-color: #F59E0B;
}

.toast-info .toast-icon {
    background-color: #3B82F6;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 16px;
}

.toast-message {
    font-size: 14px;
    margin: 0;
}

.toast-close {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    color: #9CA3AF;
    padding: 0;
    margin-left: 10px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.toast-progress-bar {
    height: 100%;
    transition: width linear;
    border-bottom-left-radius: 12px;
}

.toast-success .toast-progress-bar {
    background-color: #10B981;
}

.toast-error .toast-progress-bar {
    background-color: #EF4444;
}

.toast-warning .toast-progress-bar {
    background-color: #F59E0B;
}

.toast-info .toast-progress-bar {
    background-color: #3B82F6;
} 