.toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 10001;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    max-width: 480px;
    pointer-events: auto;
    transform: translateX(100%);
    opacity: 0;
    animation: toast-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.toast--success {
    border-left: 4px solid #10b981;
}

.toast--error {
    border-left: 4px solid #ef4444;
}

.toast--info {
    border-left: 4px solid #3b82f6;
}

.toast__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.toast__content {
    flex: 1;
}

.toast__title {
    font-weight: 600;
    font-size: 14px;
    margin: 0 0 4px 0;
    color: #1f2937;
}

.toast__message {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

.toast__close {
    background: none;
    border: none;
    font-size: 18px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.toast__close:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

@keyframes toast-slide-in {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toast-slide-out {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

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

    .toast {
        min-width: auto;
        max-width: none;
    }
}
