/* Toast Container */
.toast-container-custom {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    pointer-events: none;
}

/* Toast Item */
.toast-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    pointer-events: all;
    transform: translateX(-150%);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.toast-item.hide {
    transform: translateX(-150%);
    opacity: 0;
}

/* Toast Icon */
.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
}

/* Toast Types */
.toast-success {
    border-right: 3px solid var(--success-color);
}

.toast-success .toast-icon {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success-color);
}

.toast-error {
    border-right: 3px solid var(--error-color);
}

.toast-error .toast-icon {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error-color);
}

.toast-warning {
    border-right: 3px solid var(--warning-color);
}

.toast-warning .toast-icon {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning-color);
}

.toast-info {
    border-right: 3px solid var(--accent-color);
}

.toast-info .toast-icon {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-color);
}

/* Toast Content */
.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Toast Close Button */
.toast-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    background: var(--border-color);
    color: var(--text-primary);
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--border-color);
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    transition: width 0.1s linear;
}

.toast-success .toast-progress-bar {
    background: var(--success-color);
}

.toast-error .toast-progress-bar {
    background: var(--error-color);
}

.toast-warning .toast-progress-bar {
    background: var(--warning-color);
}

.toast-info .toast-progress-bar {
    background: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .toast-container-custom {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
}
