/* Тост уведомление */
.custom-toast {
    position: fixed;
    top: 20px;
    right: -400px;
    min-width: 300px;
    max-width: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    transition: right 0.3s ease-in-out;
    overflow: hidden;
}

.custom-toast.show {
    right: 20px;
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;

    gap: 12px;
}

.toast-message {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
    word-break: break-word;
}

.toast-close {
    background: transparent;
    border: none;

    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background 0.2s;
}

.toast-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Адаптив для мобильных устройств */
@media (max-width: 480px) {
    .custom-toast {
        right: -100%;
        left: 20px;
        max-width: calc(100% - 40px);
    }

    .custom-toast.show {
        right: 20px;
    }
}