/* Toast Styles */
#toast-root {
    position: fixed;
    bottom: 16px;
    left: 16px;
    z-index: 10000;
    pointer-events: none;
}

.toast-wrapper {
    pointer-events: auto;
    max-width: 360px;
    width: 360px;
    border-radius: 6px;
    border: 1px solid #e1e2e5;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    background: white;
    padding: 16px;
    margin-bottom: 8px;
    animation: toastSlideIn 0.3s ease-out;
}

.toast-destructive {
    border-color: #ef4444;
}

.toast-success {
    border-color: #22c55e;
}

.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-icon-container {
    margin-top: 2px;
    flex-shrink: 0;
}

.toast-icon {
    width: 16px;
    height: 16px;
}

.toast-icon-error {
    color: #ef4444;
}

.toast-icon-success {
    color: #22c55e;
}

.toast-text {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 1.25;
    color: #161b1f;
    font-family: "Figtree";
    margin-bottom: 2px;
}

.toast-description {
    font-size: 12px;
    line-height: 1.33;
    color: #828487;
    font-family: "Figtree";
}

.toast-close-btn {
    margin-left: 8px;
    padding: 4px;
    border: none;
    background: none;
    border-radius: 4px;
    cursor: pointer;
    color: #6b7280;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.toast-close-btn:hover {
    background-color: #f3f4f6;
}

.toast-close-icon {
    width: 16px;
    height: 16px;
}

@keyframes toastSlideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media screen and (max-width: 500px) {
    /* Toast responsive */
    #toast-root {
        left: 10px;
        right: 10px;
    }

    .toast-wrapper {
        width: 100%;
        max-width: none;
    }
}