/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    pointer-events: none;
}

/* Toast Item */
.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg);
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
    pointer-events: auto;
    min-height: 60px;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Toast Types */
.toast-info {
    border-left-color: var(--blue);
}

.toast-success {
    border-left-color: var(--green);
}

.toast-warning {
    border-left-color: var(--amber);
}

.toast-danger {
    border-left-color: var(--red);
}

/* Toast Content */
.toast-content {
    display: flex;
    gap: 12px;
    flex: 1;
}

.toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--t1);
}

.toast-info .toast-icon {
    color: var(--blue);
}

.toast-success .toast-icon {
    color: var(--green);
}

.toast-warning .toast-icon {
    color: var(--amber);
}

.toast-danger .toast-icon {
    color: var(--red);
}

.toast-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--t1);
    line-height: 1.2;
}

.toast-message {
    font-size: 13px;
    color: var(--t2);
    line-height: 1.3;
}

/* Toast Close Button */
.toast-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--t3);
    padding: 4px;
    margin-left: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.toast-close:hover {
    background: var(--bg-tertiary);
    color: var(--t1);
}

.toast-close svg {
    width: 18px;
    height: 18px;
}

/* Feather icon */
.feather-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Responsive */
@media (max-width: 640px) {
    .toast-container {
        left: 12px;
        right: 12px;
        max-width: none;
        top: 12px;
    }

    .toast {
        padding: 12px;
        font-size: 13px;
    }
}
