#toastr-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

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

.toastr {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    min-width: 320px;
    max-width: 480px;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: toastr-slide-in 0.3s ease-out;
    font-size: 0.875rem;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .toastr {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}

.toastr.removing {
    animation: toastr-slide-out 0.3s ease-in forwards;
}

.toastr-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.toastr-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.toastr-warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #92400e;
}

.toastr-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.toastr-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.toastr-message {
    flex: 1;
    font-weight: 500;
}

.toastr-close {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.2s;
    margin-top: 1px;
}

.toastr-close:hover {
    opacity: 1;
}

.toastr-close svg {
    width: 16px;
    height: 16px;
}

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

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